summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_state.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2016-07-14 17:38:43 -0700
committerEric Anholt <eric@anholt.net>2016-07-15 13:54:00 -0700
commit88152d7dc0e2cf233cd2c38a4e9affb1ea73fa97 (patch)
tree31c6f89aaacd84b05bdb48f5ab09fbd36d48b258 /src/gallium/drivers/vc4/vc4_state.c
parent5db82e0c897da46867dec5886bae1607d3124abc (diff)
downloadexternal_mesa3d-88152d7dc0e2cf233cd2c38a4e9affb1ea73fa97.zip
external_mesa3d-88152d7dc0e2cf233cd2c38a4e9affb1ea73fa97.tar.gz
external_mesa3d-88152d7dc0e2cf233cd2c38a4e9affb1ea73fa97.tar.bz2
vc4: Drop VC4_DIRTY_TEXSTATE in favor of the per-stage flags.
The compiler uses the per-stage flags already, so it didn't need this. vc4_uniforms was using it, so just replace it with both of the stage flags for now.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_state.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_state.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/vc4/vc4_state.c b/src/gallium/drivers/vc4/vc4_state.c
index 0912ca5..bf4e023 100644
--- a/src/gallium/drivers/vc4/vc4_state.c
+++ b/src/gallium/drivers/vc4/vc4_state.c
@@ -482,8 +482,6 @@ vc4_set_framebuffer_state(struct pipe_context *pctx,
static struct vc4_texture_stateobj *
vc4_get_stage_tex(struct vc4_context *vc4, unsigned shader)
{
- vc4->dirty |= VC4_DIRTY_TEXSTATE;
-
switch (shader) {
case PIPE_SHADER_FRAGMENT:
vc4->dirty |= VC4_DIRTY_FRAGTEX;
@@ -668,8 +666,6 @@ vc4_set_sampler_views(struct pipe_context *pctx, unsigned shader,
assert(start == 0);
- vc4->dirty |= VC4_DIRTY_TEXSTATE;
-
for (i = 0; i < nr; i++) {
if (views[i])
new_nr = i + 1;