From b636204ae82768f561f8b7f3e6e70eb982bbac1f Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 15 Nov 2012 14:20:35 +0000 Subject: 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 --- src/gallium/auxiliary/tgsi/tgsi_exec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c index 1b7150be680..9f226c4ec7d 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); -- cgit v1.2.3