OSDN Git Service

v3d: Track write reference to the separate stencil buffer.
authorEric Anholt <eric@anholt.net>
Tue, 19 Jun 2018 23:00:15 +0000 (16:00 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 20 Jun 2018 16:30:46 +0000 (09:30 -0700)
commit94f7c011d6e099f1c6e7cfce90b61700fbd9c1e2
tree2e83f97551bf4a31c8c52b0284c9549a61a43521
parenta52c357a65a40b70f734cac10ae4079c3935c61d
v3d: Track write reference to the separate stencil buffer.

Otherwise, a blit from separate stencil may fail to flush the job that
initialized it, or new drawing could fail to flush a blit reading from
stencil.

Fixes:
dEQP-GLES3.functional.fbo.blit.depth_stencil.depth32f_stencil8_basic
dEQP-GLES3.functional.fbo.blit.depth_stencil.depth32f_stencil8_scale
dEQP-GLES3.functional.fbo.blit.depth_stencil.depth32f_stencil8_stencil_only
dEQP-GLES3.functional.fbo.msaa.2_samples.depth32f_stencil8
dEQP-GLES3.functional.fbo.msaa.4_samples.depth32f_stencil8
src/gallium/drivers/v3d/v3d_job.c