mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
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>
This commit is contained in:
parent
c0e4ee9b27
commit
b636204ae8
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue