diff options
author | Eric Anholt <[email protected]> | 2014-09-18 12:22:07 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-09-18 17:46:43 -0700 |
commit | 19589147ef660c0bf7fcc52ca82dfbbadf3a9a23 (patch) | |
tree | 6917d74dcc35a26dd07df2b8a3314a6b37ba418a /src/gallium/drivers/vc4/vc4_simulator_validate_shaders.c | |
parent | 6e39854e23d56e70c5ec68fe97ffce4c5a077183 (diff) |
vc4: Add support for stencil operations.
While depth test state is passed through the fragment shader as sideband,
data, the stencil test state has to be set by the fragment shader itself.
Many tests are still failing, but this gets most of hiz/ passing.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_simulator_validate_shaders.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_simulator_validate_shaders.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_simulator_validate_shaders.c b/src/gallium/drivers/vc4/vc4_simulator_validate_shaders.c index 40b7f35309b..183cd4c977e 100644 --- a/src/gallium/drivers/vc4/vc4_simulator_validate_shaders.c +++ b/src/gallium/drivers/vc4/vc4_simulator_validate_shaders.c @@ -153,7 +153,6 @@ check_register_write(struct vc4_validated_shader_info *validated_shader, case QPU_W_HOST_INT: case QPU_W_TMU_NOSWAP: - case QPU_W_TLB_STENCIL_SETUP: case QPU_W_TLB_ALPHA_MASK: case QPU_W_MUTEX_RELEASE: /* XXX: I haven't thought about these, so don't support them @@ -173,6 +172,9 @@ check_register_write(struct vc4_validated_shader_info *validated_shader, * triggered by QPU_W_VPM_ADDR writes. */ return true; + + case QPU_W_TLB_STENCIL_SETUP: + return true; } return true; |