Re: [Mesa-dev] [PATCH] i965/fs: Fix bad interaction between tex swizzles and textureQueryLOD.

2013-03-30 Thread Kenneth Graunke
On 03/30/2013 09:29 PM, Matt Turner wrote: Reported-by: Chris Forbes --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index 85

[Mesa-dev] [PATCH] i965/fs: Fix bad interaction between tex swizzles and textureQueryLOD.

2013-03-30 Thread Matt Turner
Reported-by: Chris Forbes --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index 8556b56..b6fc218 100644 --- a/src/mesa/drivers/dr

Re: [Mesa-dev] [PATCH] r600g: Add a Cayman specific version of UMAD

2013-03-30 Thread Vadim Girlin
On 03/30/2013 05:35 AM, Martin Andersson wrote: I found an issue with the shader compiler for Cayman when I looked into why the ext_transform_feedback/order test case caused a GPU stall. It turned out the stall was an infinite loop that was the result of broken calculation in the shader function.

Re: [Mesa-dev] [PATCH] ACTIVE_UNIFORM_MAX_LENGTH should include 3 extra characters for arrays.

2013-03-30 Thread Haixia Shi
No for this particular length, it only needs to account for the 3 chars in "[0]". That suffix is required by spec to be appended (hard-coded string), see the bottom of mesa/src/mesa/main/uniforms.c where the function glGetActiveUniform is (I believe Ian added the code in early 2012). On Sat, Mar

[Mesa-dev] [PATCH] st/mesa: fix bitmap, drawpix, drawtex for PIPE_CAP_TGSI_TEXCOORD

2013-03-30 Thread Christoph Bumiller
NOTE: Changed the semantic index for the drawtex coordiante to be the texture unit index instead of always 0. Not sure if this is correct but since the value seems to depend on the unit it would make sense to use different varying slots. --- src/mesa/state_tracker/st_cb_bitmap.c |1 + src/

Re: [Mesa-dev] [PATCH] ACTIVE_UNIFORM_MAX_LENGTH should include 3 extra characters for arrays.

2013-03-30 Thread Dragomir Ivanov
I don't know OpenGL very much, but can uniforms be more than 10? So you can have "[24]" where you will need +4, not +3. On Sat, Mar 30, 2013 at 3:22 AM, Haixia Shi wrote: > If the active uniform is an array, then the length of the uniform name > should > include the three extra characters for t

Re: [Mesa-dev] [PATCH] drirc: set always_have_depth_buffer for Topogon

2013-03-30 Thread Jose Fonseca
- Original Message - > --- > src/mesa/drivers/dri/common/drirc |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/drivers/dri/common/drirc > b/src/mesa/drivers/dri/common/drirc > index a13941f..556d1b5 100644 > --- a/src/mesa/drivers/dri/common/d

Re: [Mesa-dev] [PATCH 2/3] draw: Implement support for primitive id

2013-03-30 Thread Jose Fonseca
- Original Message - > We were largely ignoring primitive id. > > Signed-off-by: Zack Rusin > --- > src/gallium/auxiliary/draw/draw_gs.c| 20 +++- > src/gallium/auxiliary/draw/draw_gs.h|1 + > src/gallium/auxiliary/draw/draw_llvm.c