diff options
author | José Fonseca <jfonseca@vmware.com> | 2012-11-15 14:20:35 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2012-12-04 19:35:18 +0000 |
commit | b636204ae82768f561f8b7f3e6e70eb982bbac1f (patch) | |
tree | ba8e592e4d9285fc0970cc7ee70c20d942537cdb /src/gallium/auxiliary | |
parent | c0e4ee9b27ad70cb5adb41158516c6951ed4ba36 (diff) | |
download | external_mesa3d-b636204ae82768f561f8b7f3e6e70eb982bbac1f.zip external_mesa3d-b636204ae82768f561f8b7f3e6e70eb982bbac1f.tar.gz external_mesa3d-b636204ae82768f561f8b7f3e6e70eb982bbac1f.tar.bz2 |
tgsi: Allow TXF from buffers.
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>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c index 1b7150b..9f226c4 100644 --- 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); |