[Mesa-dev] [PATCH 5/8] tgsi: add support for image operations to tgsi_exec. (v2.1)

2016-03-30 Thread Dave Airlie
From: Dave Airlie This adds support for load/store/atomic operations on images along with image tracking support. v2: add RESQ support. (Ilia) v2.1: constify interface (Brian) Signed-off-by: Dave Airlie --- src/gallium/auxiliary/draw/draw_gs.c |

Re: [Mesa-dev] [PATCH 5/8] tgsi: add support for image operations to tgsi_exec.

2016-03-22 Thread Dave Airlie
>> + int dim; >> + switch (tgsi_tex) { >> + case TGSI_TEXTURE_BUFFER: >> + case TGSI_TEXTURE_1D: >> + dim = 1; >> + break; >> + case TGSI_TEXTURE_2D: >> + case TGSI_TEXTURE_RECT: >> + case TGSI_TEXTURE_1D_ARRAY: >> + case TGSI_TEXTURE_2D_MSAA: >> + dim = 2; >> +

Re: [Mesa-dev] [PATCH 5/8] tgsi: add support for image operations to tgsi_exec.

2016-03-22 Thread Brian Paul
On 03/21/2016 04:02 PM, Dave Airlie wrote: From: Dave Airlie This adds support for load/store/atomic operations on images along with image tracking support. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/draw/draw_gs.c | 2 +-

[Mesa-dev] [PATCH 5/8] tgsi: add support for image operations to tgsi_exec.

2016-03-21 Thread Dave Airlie
From: Dave Airlie This adds support for load/store/atomic operations on images along with image tracking support. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/draw/draw_gs.c | 2 +- src/gallium/auxiliary/draw/draw_vs_exec.c | 2 +-