Skip to content

write-after-clear: Test clears of alternating layers

Nanley Chery requested to merge nchery/piglit:clear-tracking into master

Demonstrate a fast-clear tracking bug on iris.

The output of this test on gen12 is:

Testing implicit read of partial block (linear storage) linear ->  sRGB
Testing implicit read of partial block (sRGB storage) linear ->  sRGB
Testing implicit read of partial block sRGB -> linear
Testing implicit read of partial block sRGB -> sRGB
Testing implicit read of partial block UNORM -> SNORM
Testing implicit read of full block UNORM -> SNORM
Testing fast-clear tracking across layers 1 -> 0 -> 1
Probe color at (0,0,0)
  Expected:  1.000000 1.000000 1.000000 1.000000
  Observed:  0.501961 0.501961 0.501961 0.501961
PIGLIT: {"result": "fail" }

Merge request reports