projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d335aad
)
r600g: allow setting geometry shader sampler states
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 11 Aug 2015 19:37:59 +0000
(21:37 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 12 Aug 2015 23:25:26 +0000
(
01:25
+0200)
We were ignoring them. This is both hilarious and sad.
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Edward O'Callaghan <eocallaghan at alterapraxis.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_state_common.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state_common.c
b/src/gallium/drivers/r600/r600_state_common.c
index 8d0942ff89832f956bb670a6dc9b6d7cad69129c..ee477919b0294901311631731abdbe75032e7788 100644
(file)
--- a/
src/gallium/drivers/r600/r600_state_common.c
+++ b/
src/gallium/drivers/r600/r600_state_common.c
@@
-407,11
+407,6
@@
static void r600_bind_sampler_states(struct pipe_context *pipe,
assert(start == 0); /* XXX fix below */
- if (shader != PIPE_SHADER_VERTEX &&
- shader != PIPE_SHADER_FRAGMENT) {
- return;
- }
-
for (i = 0; i < count; i++) {
struct r600_pipe_sampler_state *rstate = rstates[i];