summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-06-08 08:32:34 -0700
committerEric Anholt <[email protected]>2018-06-14 16:52:25 -0700
commit48011c42aaf0efc5afccc8fd90f4604182d21314 (patch)
treec8d70eb21809d5e97330c5ded44aa56904a078d2 /src/gallium
parent4564537222f7d4624327440aa6f56e289183d3b8 (diff)
v3d: Remove unused QUNIFORM_STENCIL left over from vc4.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/v3d/v3d_uniforms.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/v3d/v3d_uniforms.c b/src/gallium/drivers/v3d/v3d_uniforms.c
index ad46c691218..6f0ef915535 100644
--- a/src/gallium/drivers/v3d/v3d_uniforms.c
+++ b/src/gallium/drivers/v3d/v3d_uniforms.c
@@ -348,14 +348,6 @@ v3d_write_uniforms(struct v3d_context *v3d, struct v3d_compiled_shader *shader,
uinfo->data[i]));
break;
- case QUNIFORM_STENCIL:
- cl_aligned_u32(&uniforms,
- v3d->zsa->stencil_uniforms[uinfo->data[i]] |
- (uinfo->data[i] <= 1 ?
- (v3d->stencil_ref.ref_value[uinfo->data[i]] << 8) :
- 0));
- break;
-
case QUNIFORM_ALPHA_REF:
cl_aligned_f(&uniforms,
v3d->zsa->base.alpha.ref_value);
@@ -469,7 +461,6 @@ v3d_set_shader_uniform_dirty_flags(struct v3d_compiled_shader *shader)
dirty |= VC5_DIRTY_FRAGTEX | VC5_DIRTY_VERTTEX;
break;
- case QUNIFORM_STENCIL:
case QUNIFORM_ALPHA_REF:
dirty |= VC5_DIRTY_ZSA;
break;