aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-03-21 14:27:14 +1000
committerDave Airlie <[email protected]>2019-03-22 09:30:29 +1000
commitaae5ba72aba79d855d8ab9ca399bad331e217353 (patch)
treec2fb0522742c61c120fbe237cb583438cc574e95 /src/gallium/auxiliary
parent8dc8b1361ad39feb89220944daf1a35d0f332b11 (diff)
softpipe: remove shadow_ref assert.
I don't think this really buys us anything and TG4 with cubemap arrays falls over because sampler == 2, but otherwise works fine. Fixes: ./bin/textureGather fs shadow r CubeArray repeat on softpipe with ARB_gpu_shader5 enabled. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index 5f55de0390c..a03dfe6aebc 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -2274,7 +2274,6 @@ exec_tex(struct tgsi_exec_machine *mach,
FETCH(&r[last], 0, TGSI_CHAN_W);
}
else {
- assert(shadow_ref != 4);
FETCH(&r[last], 1, TGSI_CHAN_X);
}