[Mesa-dev] [PATCH] glsl: the number of samplers is already calculated so use it

2014-05-11 Thread Timothy Arceri
Signed-off-by: Timothy Arceri --- src/glsl/link_uniforms.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/glsl/link_uniforms.cpp b/src/glsl/link_uniforms.cpp index 29dc0b1..cd231cb 100644 --- a/src/glsl/link_uniforms.cpp +++ b/src/glsl/link_uniforms.cpp @@ -308,8 +308

Re: [Mesa-dev] [Nouveau] [PATCH] nv50: fix setting of texture ms info to be per-stage

2014-05-11 Thread Ben Skeggs
On Sat, May 10, 2014 at 1:19 PM, Ilia Mirkin wrote: > Different textures may be bound to each slot for each stage. So we need > to be able to upload ms parameters for each one without stages > overwriting each other. > > Signed-off-by: Ilia Mirkin > Cc: "10.1 10.2" Reviewed-by: Ben Skeggs > --

Re: [Mesa-dev] [Nouveau] [PATCH] nv50/ir: make sure to reverse cond codes on all the OP_SET variants

2014-05-11 Thread Ben Skeggs
On Sun, May 11, 2014 at 5:06 AM, Ilia Mirkin wrote: > Signed-off-by: Ilia Mirkin > Cc: "10.2 10.1" Reviewed-by: Ben Skeggs > --- > > Found this while tracking a regression on nvc0 for my patch which fixes > ir_unop_any to emit or's instead of dp3's. (That patch is fine, this code was > always

Re: [Mesa-dev] [PATCH] nv50, nvc0: fix blit 3d path for 1d array textures

2014-05-11 Thread Ben Skeggs
On Sun, May 11, 2014 at 7:53 AM, Ilia Mirkin wrote: > Need to adjust coordinates since the shader receives the array index as > depth in z, but the TEX instruction expects it to be the second > coordinate for a 1D array texture. This fixes fbo-generatemipmap-array. > > Signed-off-by: Ilia Mirkin

Re: [Mesa-dev] [PATCH v2 3/3] nv50, nvc0: leave queries on during blit, turn them on for 2d engine

2014-05-11 Thread Ben Skeggs
On Sun, May 11, 2014 at 10:34 AM, Ilia Mirkin wrote: > Fixes the new logic of the conditional rendering piglit test. > > Signed-off-by: Ilia Mirkin > Cc: "10.2" Reviewed-by: Ben Skeggs > --- > src/gallium/drivers/nouveau/nv50/nv50_query.c | 6 +- > src/gallium/drivers/nouveau/nv50/nv50

Re: [Mesa-dev] [PATCH V2 1/9] glsl: Clean up apply_implicit_conversion

2014-05-11 Thread Kenneth Graunke
On 05/04/2014 01:23 AM, Chris Forbes wrote: > We're about to add new implicit conversions, first for ARB_gpu_shader5, > and then later for ARB_gpu_shader_fp64. Pull out the opcode > determination into its own function, and get rid of the bool -> float > case that could never be hit anyway [since it

[Mesa-dev] [PATCH] i965: Don't _swrast_BlitFramebuffer when doing CopyTexSubImage.

2014-05-11 Thread Kenneth Graunke
The point of copytexsubimage_using_blit_framebuffer is to use a hardware accelerated BlitFramebuffer path. If that fails, we shouldn't do a swrast blit---we should try our CTSI fallback code. This is especially important for i965 and GLES, where we don't even create a swrast context. Bugzilla: h

[Mesa-dev] [PATCH] mesa: Dump ARB_vp/fp source and IR when MESA_GLSL=dump.

2014-05-11 Thread Kenneth Graunke
As far as I can tell, Mesa hasn't had a convenient way to dump ARB_vp/fp source until now. Using MESA_GLSL=dump is convenient, since it means you can use a single environment variable to dump a program's shaders, no matter which language they're written in. Signed-off-by: Kenneth Graunke --- sr

[Mesa-dev] [Bug 78581] New: OpenCL: clBuildProgram prints error messages directly rather than storing them

2014-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78581 Priority: medium Bug ID: 78581 Assignee: mesa-dev@lists.freedesktop.org Summary: OpenCL: clBuildProgram prints error messages directly rather than storing them Severity: norm