Re: [Mesa-dev] [PATCH 1/3] gallium: add PIPE_CAP_SHADER_OUTPUT_READ

2011-11-14 Thread Vadim Girlin
On Mon, 2011-11-14 at 14:08 +0100, Marek Olšák wrote: > Hi Vadim, > > Shouldn't this be in the pipe_shader_cap enum instead? > Probably you are right. I'll fix it. Vadim > Marek > > On Mon, Nov 14, 2011 at 1:57 PM, Vadim Girlin wrote: > > It's intended to indicate whether the driver/hardware

Re: [Mesa-dev] [PATCH 1/3] gallium: add PIPE_CAP_SHADER_OUTPUT_READ

2011-11-14 Thread Marek Olšák
Hi Vadim, Shouldn't this be in the pipe_shader_cap enum instead? Marek On Mon, Nov 14, 2011 at 1:57 PM, Vadim Girlin wrote: > It's intended to indicate whether the driver/hardware supports reading > of the values written into shader outputs. > > Also remove assert to allow using TGSI_FILE_OUTPU

[Mesa-dev] [PATCH 1/3] gallium: add PIPE_CAP_SHADER_OUTPUT_READ

2011-11-14 Thread Vadim Girlin
It's intended to indicate whether the driver/hardware supports reading of the values written into shader outputs. Also remove assert to allow using TGSI_FILE_OUTPUT registers in the ureg_emit_src. Signed-off-by: Vadim Girlin --- src/gallium/auxiliary/tgsi/tgsi_ureg.c |1 - src/gallium/inclu