projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0e4ee9
)
tgsi: Allow TXF from buffers.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 15 Nov 2012 14:20:35 +0000
(14:20 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 4 Dec 2012 19:35:18 +0000
(19:35 +0000)
There is more work necessary to properly support buffers in shaders, but
this gets things a bit further along.
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 1b7150be680e03aab1c4aded38e552e883d02369..9f226c4ec7d2452ef82ee7e9c17464b1933f0777 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_exec.c
@@
-2061,6
+2061,7
@@
exec_txf(struct tgsi_exec_machine *mach,
case TGSI_TEXTURE_1D_ARRAY:
IFETCH(&r[1], 0, TGSI_CHAN_Y);
/* fallthrough */
+ case TGSI_TEXTURE_BUFFER:
case TGSI_TEXTURE_1D:
case TGSI_TEXTURE_SHADOW1D:
IFETCH(&r[0], 0, TGSI_CHAN_X);