Skip to content
Commit aaff8c7a authored by Nanley Chery's avatar Nanley Chery Committed by Juan A. Suarez Romero
Browse files

intel/blorp: Define the clear value bounds for HiZ clears



Follow the restriction of making sure the clear value is between the min
and max values defined in CC_VIEWPORT. Avoids a simulator warning for
some piglit tests, one of them being:

./bin/depthstencil-render-miplevels 146 d=z32f_s8

Jason found this to fix incorrect clearing on SKL.

Fixes: 09948151
       ("intel/blorp: Add the BDW+ optimized HZ_OP sequence to BLORP")

Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
Tested-by: default avatarJason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit 5bcf4795)
[Juan A. Suarez: resolve trivial conflicts]
Signed-off-by: default avatarJuan A. Suarez Romero <jasuarez@igalia.com>

Conflicts:
	src/intel/blorp/blorp_genX_exec.h
parent 8afef6d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment