[Mesa-dev] [PATCH 3/9] tgsi: Allow TXF from buffers.
Dave Airlie
airlied at gmail.com
Tue Dec 4 12:53:20 PST 2012
On Wed, Dec 5, 2012 at 12:13 AM, <jfonseca at vmware.com> wrote:
> From: José Fonseca <jfonseca at vmware.com>
>
> There is more work necessary to properly upport buffers in shaders, but
> this gets things a bit further along.
http://cgit.freedesktop.org/~airlied/mesa/commit/?h=gallium-tbo&id=46cd758b0bc55078395ce4222637e3318af1b9d4
But yeah this is fine on its own. (other bits in my gallium-tbo branch
in my repo).
Reviewed-by: Dave Airlie <airlied at redhat.com>
> ---
> src/gallium/auxiliary/tgsi/tgsi_exec.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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);
> --
> 1.7.9.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list