projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dc8b13
)
softpipe: remove shadow_ref assert.
author
Dave Airlie
<airlied@redhat.com>
Thu, 21 Mar 2019 04:27:14 +0000
(14:27 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 21 Mar 2019 23:30:29 +0000
(09:30 +1000)
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 <brianp@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_exec.c
b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index 5f55de0390cc0e3b613a590f322a3a103737294f..a03dfe6aebc1105681f68133c695c864e6d99fc1 100644
(file)
--- 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);
}