[Mesa-dev] [PATCH 2/2] glsl: Add a pass to flip matrix/vector multiplies to use dot products.

2013-04-02 Thread Kenneth Graunke
This pass flips (matrix * vector) operations to (vector * matrixTranspose) for certain built-in matrices (currently gl_ModelViewProjectionMatrix and gl_TextureMatrix). This is equivalent, but results in dot products rather than multiplies and adds. On some hardware, this is more efficient. This

[Mesa-dev] [PATCH 1/2] i965: Set the mvp_with_dp4 flag.

2013-04-02 Thread Kenneth Graunke
Doing matrix multiplies with DP4s is fewer instructions than MUL/ADD, especially since we don't support MAD in the vertex shader. Not observed to improve performance in any fixed function applications, but is useful for the next patch. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i96

Re: [Mesa-dev] [RFC PATCH] ARB_texture_gather support for Gen7 i965.

2013-04-02 Thread Kenneth Graunke
On 03/31/2013 02:10 AM, Chris Forbes wrote: This series implements ARB_texture_gather in core mesa, and the driver side for Gen7 i965. Not quite baked -- green/blue/alpha texture swizzles with VS don't work yet. Everything else works, though (R/0/1 swizzles in VS; all swizzles in FS; textureGath

Re: [Mesa-dev] [PATCH 6/6] i965: Enable ARB_texture_gather on Gen7

2013-04-02 Thread Kenneth Graunke
On 03/31/2013 04:01 PM, Matt Turner wrote: On Sun, Mar 31, 2013 at 2:10 AM, Chris Forbes wrote: Signed-off-by: Chris Forbes --- src/mesa/drivers/dri/i965/brw_context.c | 1 + src/mesa/drivers/dri/intel/intel_extensions.c | 4 2 files changed, 5 insertions(+) diff --git a/src/me

Re: [Mesa-dev] [PATCH 5/6] i965/vs: Add support for ir_tg4

2013-04-02 Thread Kenneth Graunke
On 03/31/2013 02:10 AM, Chris Forbes wrote: Pretty much the same as the FS case. Channel select goes in the header, post-sampling swizzle only does the 0/1 cases. Signed-off-by: Chris Forbes --- src/mesa/drivers/dri/i965/brw_vec4.h | 1 + src/mesa/drivers/dri/i965/brw_vec4_emit.cp

Re: [Mesa-dev] [PATCH 4/6] i965/fs: Add support for ir_tg4

2013-04-02 Thread Kenneth Graunke
On 03/31/2013 02:10 AM, Chris Forbes wrote: Lowers ir_tg4 (from textureGather and textureGatherOffset builtins) to SHADER_OPCODE_TG4. The usual post-sampling swizzle workaround can't work for ir_tg4, so avoid doing that: * For R/G/B/A swizzles use the hardware channel select (lives in the s

Re: [Mesa-dev] [PATCH 1/6] mesa: add texture gather changes

2013-04-02 Thread Kenneth Graunke
On 03/31/2013 02:10 AM, Chris Forbes wrote: From: Maxence Le Dore --- src/mapi/glapi/gen/ARB_texture_gather.xml | 14 ++ src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/context.c | 4 src/mesa/main/extensions.c| 1 + sr

Re: [Mesa-dev] [PATCH] register_allocate: Fix the type of best_benefit.

2013-04-02 Thread Kenneth Graunke
On 04/02/2013 01:38 PM, Matt Turner wrote: --- src/mesa/program/register_allocate.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/program/register_allocate.c b/src/mesa/program/register_allocate.c index a9064c3..7d11b73 100644 --- a/src/mesa/program/regist

[Mesa-dev] [PATCH 2/3] intel: Do temporary CPU maps of textures that are too big to GTT map.

2013-04-02 Thread Eric Anholt
This still fails, since 8192*4bpp == 32768, which is too big to use the blitter on. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 21 + 1 file changed, 21 insertions(+) diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/m

[Mesa-dev] [PATCH 3/3] intel: Avoid making tiled miptrees we won't be able to blit.

2013-04-02 Thread Eric Anholt
Doing so was breaking miptree mapping, which we really need to be able to handle. With this change, intel_miptree_map_direct() falls through to doing a CPU mapping on the buffer like we need. With the previous 2 patches, all of these should be fixed: Bugzilla: https://bugs.freedesktop.org/show_bu

[Mesa-dev] [PATCH 1/3] intel: Add support for writing to our linear-temporary-CPU-map case.

2013-04-02 Thread Eric Anholt
This will be used for handling updates of large textures. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 25 ++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/mesa/dri

[Mesa-dev] [PATCH 3/3] gallivm: honor explicit derivatives values for cube maps.

2013-04-02 Thread sroland
From: Roland Scheidegger This is trivial now, though need to make sure we pass all the necessary derivative values (which is 3 each for ddx/ddy not 2). Untested (no piglit test) however since the transform works the same as implicit derivatives this should probably work correctly. --- src/galliu

[Mesa-dev] [PATCH 2/3] gallivm: do per-pixel cube face selection (finally!!!)

2013-04-02 Thread sroland
From: Roland Scheidegger This proved to be tricky, the problem is that after selection/mirroring we cannot calculate reasonable derivatives (if not all pixels in a quad end up on the same face the derivatives could get "randomly" exceedingly large). However, it is actually quite easy to simply ca

[Mesa-dev] [PATCH 1/3] gallivm: minor rho calculation optimization for 1 or 3 coords

2013-04-02 Thread sroland
From: Roland Scheidegger Using a different packing for the single coord case should save a shuffle. Plus some minor style fixes. --- src/gallium/auxiliary/gallivm/lp_bld_quad.c | 20 +++- src/gallium/auxiliary/gallivm/lp_bld_sample.c | 31 +++-- 2 files chan

Re: [Mesa-dev] [PATCH] Avoid spurious GCC warnings in STATIC_ASSERT() macro.

2013-04-02 Thread Eric Anholt
Brian Paul writes: > On 04/02/2013 04:16 PM, Paul Berry wrote: >> GCC 4.8 now warns about typedefs that are local to a scope and not >> used anywhere within that scope. This produces spurious warnings with >> the STATIC_ASSERT() macro (which uses a typedef to provoke a compile >> error in the ev

Re: [Mesa-dev] [PATCH] radeon/uvd: add UVD implementation

2013-04-02 Thread Matt Turner
On Tue, Apr 2, 2013 at 4:19 PM, Christian König wrote: > diff --git a/configure.ac b/configure.ac > index 81d4a3f..93ec1d2 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -1814,6 +1814,7 @@ if test "x$with_gallium_drivers" != x; then > if test "x$enable_r600_llvm" = xyes -o "x$e

Re: [Mesa-dev] [PATCH] i965/fs: Don't immediately schedule instructions that were just made available.

2013-04-02 Thread Matt Turner
On Tue, Apr 2, 2013 at 4:48 PM, Eric Anholt wrote: > Matt Turner writes: > >> The original goal of pre-register allocation scheduling was to reduce >> live ranges so we'd use fewer registers and hopefully fit into 16-wide. >> In shader-db, this change causes us to lose 30 16-wide programs, but we

[Mesa-dev] [PATCH] radeonsi: add more cases for copying unsupported formats to resource_copy_region

2013-04-02 Thread Tom Stellard
From: Marek Olšák Ported from r600g commit: 8891b2f9c91b2f6c8625184c23a10b8e55875dc0 NOTE: This is a candidate for the stable branches. --- src/gallium/drivers/radeonsi/r600_blit.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/radeonsi

Re: [Mesa-dev] [PATCH] i965/fs: Don't immediately schedule instructions that were just made available.

2013-04-02 Thread Eric Anholt
Matt Turner writes: > The original goal of pre-register allocation scheduling was to reduce > live ranges so we'd use fewer registers and hopefully fit into 16-wide. > In shader-db, this change causes us to lose 30 16-wide programs, but we > gain 29... so it's a toss-up. At least by choosing inst

Re: [Mesa-dev] [PATCH] gallivm: use f16c hw support for float->half and half->float conversion

2013-04-02 Thread Brian Paul
On 04/02/2013 05:07 PM, srol...@vmware.com wrote: From: Roland Scheidegger Should be way faster of course on cpus supporting this (includes AMD Bulldozer and Jaguar cores, Intel Ivy Bridge and up (except budget models)). Passes piglit fbo-blending-formats GL_ARB_texture_float -auto on Ivy Bridge

[Mesa-dev] [PATCH] gallivm: use f16c hw support for float->half and half->float conversion

2013-04-02 Thread sroland
From: Roland Scheidegger Should be way faster of course on cpus supporting this (includes AMD Bulldozer and Jaguar cores, Intel Ivy Bridge and up (except budget models)). Passes piglit fbo-blending-formats GL_ARB_texture_float -auto on Ivy Bridge. --- src/gallium/auxiliary/gallivm/lp_bld_conv.c

Re: [Mesa-dev] [PATCH 1/5] draw/gs: cleanup some debugging code

2013-04-02 Thread Brian Paul
On 03/30/2013 07:27 AM, Zack Rusin wrote: Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_gs.c |4 1 file changed, 4 deletions(-) diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c index b98b133..70db837 100644 --- a/src/gallium/au

Re: [Mesa-dev] [PATCH] Avoid spurious GCC warnings in STATIC_ASSERT() macro.

2013-04-02 Thread Brian Paul
On 04/02/2013 04:16 PM, Paul Berry wrote: GCC 4.8 now warns about typedefs that are local to a scope and not used anywhere within that scope. This produces spurious warnings with the STATIC_ASSERT() macro (which uses a typedef to provoke a compile error in the event of an assertion failure). Th

[Mesa-dev] [PATCH] Avoid spurious GCC warnings in STATIC_ASSERT() macro.

2013-04-02 Thread Paul Berry
GCC 4.8 now warns about typedefs that are local to a scope and not used anywhere within that scope. This produces spurious warnings with the STATIC_ASSERT() macro (which uses a typedef to provoke a compile error in the event of an assertion failure). This patch avoids the warning using the GCC __

Re: [Mesa-dev] [PATCH] register_allocate: Fix the type of best_benefit.

2013-04-02 Thread Tom Stellard
On Tue, Apr 02, 2013 at 01:38:07PM -0700, Matt Turner wrote: > --- Nice catch, will this change have any affect on the compiled code? -Tom > src/mesa/program/register_allocate.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/mesa/program/register_allocate.c

[Mesa-dev] [PATCH] r600g: Fix UMAD on Cayman

2013-04-02 Thread Martin Andersson
The multiplication part of tgsi_umad did not work on Cayman, because it did not populate the correct vector slots. --- src/gallium/drivers/r600/r600_shader.c | 45 -- 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shade

[Mesa-dev] [PATCH] register_allocate: Fix the type of best_benefit.

2013-04-02 Thread Matt Turner
--- src/mesa/program/register_allocate.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/program/register_allocate.c b/src/mesa/program/register_allocate.c index a9064c3..7d11b73 100644 --- a/src/mesa/program/register_allocate.c +++ b/src/mesa/program/register_a

[Mesa-dev] [PATCH 2/2] i965: Use a variable for the push constant size in kB.

2013-04-02 Thread Kenneth Graunke
This clarifies that the offset of 2 is actually 16 kB / 8kB units. It also keys both computations off of a single variable, which should make it easier to change in the future. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/gen7_urb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 d

[Mesa-dev] [PATCH 1/2] i965: Turn brw->urb.vs_size and gs_size into local variables.

2013-04-02 Thread Kenneth Graunke
These variables are only used within a single function, so we may as well make them local variables. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_context.h | 9 - src/mesa/drivers/dri/i965/gen6_urb.c| 18 +- src/mesa/drivers/dri/i965/gen7_urb.c

[Mesa-dev] [PATCH 5/5] draw/llvmpipe: allow independent so attachments to the vs

2013-04-02 Thread Zack Rusin
When geometry shaders are present, one needs to be able to create an empty geometry shader with stream output that needs to be resolved later and attached to the currently bound vertex shader. Lets add support for it to llvmpipe and draw. draw allows attaching independent stream output info to any

[Mesa-dev] [PATCH 4/5] llvmpipe: reset so buffers when not appending

2013-04-02 Thread Zack Rusin
We need to reset the internal state of the so buffers or we'll keep appending even though we're not supposed to. Signed-off-by: Zack Rusin --- src/gallium/drivers/llvmpipe/lp_state_so.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/src/gallium/drivers/llvmpipe/lp_state_so.c b/src

[Mesa-dev] [PATCH 3/5] draw: remove unused function

2013-04-02 Thread Zack Rusin
we use draw_set_mapped_so_targets nowadays Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_context.c |7 --- src/gallium/auxiliary/draw/draw_context.h |5 - 2 files changed, 12 deletions(-) diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxil

[Mesa-dev] [PATCH 2/5] draw/llvm: use an enum instead of magic numbers

2013-04-02 Thread Zack Rusin
I think this was there before and got accidently removed during a merge. Same code as for the GS context, which is also using an enum instead of hardcoded numbers. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_llvm.c |8 src/gallium/auxiliary/draw/draw_llvm.h | 17

[Mesa-dev] [PATCH 1/5] draw/gs: cleanup some debugging code

2013-04-02 Thread Zack Rusin
Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_gs.c |4 1 file changed, 4 deletions(-) diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c index b98b133..70db837 100644 --- a/src/gallium/auxiliary/draw/draw_gs.c +++ b/src/gallium/aux

Re: [Mesa-dev] [PATCH] glsl: Fix array indexing when constant folding built-in functions.

2013-04-02 Thread Paul Berry
On 1 April 2013 11:43, Kenneth Graunke wrote: > On 04/01/2013 11:30 AM, Ian Romanick wrote: > >> On 03/29/2013 02:13 PM, Paul Berry wrote: >> >>> Mesa constant-folds built-in functions by using a miniature GLSL >>> interpreter (see >>> ir_function_signature::**constant_expression_evaluate_** >>>

[Mesa-dev] [PATCH 3/3] i965: Use ctx->Stencil._WriteEnabled in DEPTH_STENCIL_STATE.

2013-04-02 Thread Kenneth Graunke
This is the same computation as the _WriteEnabled flag, so we may as well use it. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/gen6_depthstencil.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/mesa/drivers/dri/i965/gen6_depthstencil.c b/src/mesa/dr

[Mesa-dev] [PATCH 2/3] i965: Fix stencil write enable flag in 3DSTATE_DEPTH_BUFFER on Gen7+.

2013-04-02 Thread Kenneth Graunke
ctx->Stencil.WriteMask is a statically sized array of 3 elements. Checking it against 0 actually is a NULL check, and can never fail, which meant that we always said stencil writes were enabled. Use the new core Mesa derived state flag to fix this. NOTE: This is a candidate for stable branches. S

[Mesa-dev] [PATCH 1/3] mesa: Add new ctx->Stencil._WriteEnabled derived state flag.

2013-04-02 Thread Kenneth Graunke
i965 needs to know whether stencil writes are enabled in several places, and gets the test wrong sometimes. While we could create a function to compute this, it seems generally useful enough to warrant a new piece of derived state. Also, all the plumbing is already in place. NOTE: This is a cand

Re: [Mesa-dev] [PATCH 1/8] glsl: Make check_build_array_max_size externally visible

2013-04-02 Thread Kenneth Graunke
On 04/01/2013 11:25 AM, Ian Romanick wrote: From: Ian Romanick A future commit will try to use this function in a different file. Signed-off-by: Ian Romanick Title of patch should be "check_builtin_array_max_size" (typo). I was wondering what a check_build_array function would do :) I'm

Re: [Mesa-dev] [PATCH 7/8] glsl: Don't emit spurious errors for constant indexes of the wrong type

2013-04-02 Thread Kenneth Graunke
On 04/01/2013 11:25 AM, Ian Romanick wrote: From: Ian Romanick Previously the shader uniform float x[6]; void main() { gl_Position.x = x[1.0]; } would have generated the errors 0:2(33): error: array index must be integer type 0:2(36): error: array index must be < 6 Now only 0:2(33): error:

Re: [Mesa-dev] [PATCH] i965: Reduce code duplication in handling of depth, stencil, and HiZ.

2013-04-02 Thread Kenneth Graunke
On 03/26/2013 09:54 PM, Paul Berry wrote: This patch consolidates duplicate code in the brw_depthbuffer and gen7_depthbuffer state atoms. Previously, these state atoms contained 5 chunks of code for emitting the _3DSTATE_DEPTH_BUFFER packet (3 for Gen4-6 and 2 for Gen7). Also a lot of logic for

Re: [Mesa-dev] [PATCH] radeon/llvm: Build libradeonllvm as a static library

2013-04-02 Thread Michel Dänzer
On Die, 2013-04-02 at 10:20 +0200, Michel Dänzer wrote: > On Mon, 2013-04-01 at 14:11 -0700, Tom Stellard wrote: > > From: Tom Stellard > > > > Building libradeonllvm as a shared object has led to a number of bugs > > and build system complications, and I don't think it's necessary for > > such

[Mesa-dev] [Bug 62868] solaris build broken with missing ffsll

2013-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62868 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH] llvmpipe: add print for int128

2013-04-02 Thread Jose Fonseca
Looks good to me in principle, but I have some remarks (inline) concerning the implementation. Jose - Original Message - > From: Adhemerval Zanella > > Reviewed-by: Adam Jackson > Signed-off-by: Adhemerval Zanella > --- > src/gallium/auxiliary/gallivm/lp_bld_printf.c | 56 > +++

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

2013-04-02 Thread Brian Paul
On 04/02/2013 08:43 AM, Christoph Bumiller wrote: On 02.04.2013 16:39, Brian Paul wrote: On 03/30/2013 08:11 AM, Christoph Bumiller wrote: 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 valu

Re: [Mesa-dev] [PATCH] PowerPC: Altivec IROUND operation

2013-04-02 Thread Jose Fonseca
I don't see need/benefit in mixing "iround" (ie, float -> int) with "round" (ie, float -> float). If this is a one-off, then you should just call lp_build_intrinsic_unary(builder, "llvm.ppc.altivec.vctsxs", ...) If you really need an generic intrinsic helper for iround, then please add a new

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

2013-04-02 Thread Christoph Bumiller
On 02.04.2013 16:39, Brian Paul wrote: > On 03/30/2013 08:11 AM, Christoph Bumiller wrote: >> 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 m

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

2013-04-02 Thread Brian Paul
On 03/30/2013 08:11 AM, Christoph Bumiller wrote: 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. Tested-

[Mesa-dev] [PATCH 2/2] svga: add HUD queries for number of draw calls, number of fallbacks

2013-04-02 Thread Brian Paul
From: Brian Paul The fallbacks count is the number of drawing calls that use a "draw" module fallback, such as polygon stipple. --- src/gallium/drivers/svga/svga_context.h|9 + src/gallium/drivers/svga/svga_pipe_draw.c |3 +++ src/gallium/drivers/svga/svga_pipe_query.c | 2

[Mesa-dev] [PATCH 1/2] svga: refactor occlusion query code

2013-04-02 Thread Brian Paul
From: Brian Paul This is in preparation for adding new query types for the HUD. --- src/gallium/drivers/svga/svga_pipe_query.c | 218 1 file changed, 124 insertions(+), 94 deletions(-) diff --git a/src/gallium/drivers/svga/svga_pipe_query.c b/src/gallium/drivers/s

Re: [Mesa-dev] [PATCH] gallium/hud: do .xxxx swizzling for the font texture in the fragment shader

2013-04-02 Thread Brian Paul
On 04/01/2013 07:36 PM, Marek Olšák wrote: This allows using L8 and R8 for the font if I8 isn't supported. --- src/gallium/auxiliary/hud/hud_context.c | 36 +-- 1 file changed, 30 insertions(+), 6 deletions(-) Tested-by: Brian Paul ___

Re: [Mesa-dev] [PATCH 2/2] gallivm: bring back optimized but incorrect float to smallfloat optimizations

2013-04-02 Thread Jose Fonseca
- Original Message - > From: Roland Scheidegger > > Conceptually the same as previously done in float_to_half. > Should cut down number of instructions from 14 to 10 or so, but > will promote some NaNs to Infs, so it's disabled. > It gets a bit tricky though handling all the cases corre

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

2013-04-02 Thread Jose Fonseca
- Original Message - > On 03/29/2013 05:30 PM, Brian Paul wrote: > > Has this bug been reported to the Topogun developer? Yes, I have reported via http://www.topogun.com/support/contact-us.htm on 29th September 2012. I received no reply since, nor did I try a second time. Also note tha

[Mesa-dev] [PATCH] radeonsi: remove sampler writemask v2

2013-04-02 Thread Christian König
From: Christian König v2: fix instrinsic name as well Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drive

[Mesa-dev] [Bug 62921] [llvmpipe] piglit arb_color_buffer_float-drawpixels GL_RGBA16F regression

2013-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62921 Roland Scheidegger changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH 4/4] radeonsi: add instance divisor support v3

2013-04-02 Thread Michel Dänzer
On Mit, 2013-03-27 at 16:35 +0100, Christian König wrote: > From: Christian König > > v2: reduce key size, don't copy key around to much. > v3: remove key size reduction > > Signed-off-by: Christian König Reviewed-by: Michel Dänzer -- Earthling Michel Dänzer |

[Mesa-dev] [PATCH V2] mesa: don't memcmp() off the end of a cache key.

2013-04-02 Thread Chris Forbes
Reported-by: `per` in #intel-gfx The size of the cache key varies, so store the actual size as well as the key blob itself, rather than just assuming it's the same as the size passed in. NOTE: This is a candidate for stable branches. V2: Don't leave silly holes in structure; use unsigned instead

Re: [Mesa-dev] [PATCH] radeon/llvm: Build libradeonllvm as a static library

2013-04-02 Thread Michel Dänzer
On Mon, 2013-04-01 at 14:11 -0700, Tom Stellard wrote: > From: Tom Stellard > > Building libradeonllvm as a shared object has led to a number of bugs > and build system complications, and I don't think it's necessary for > such a small library. > > This library was originally changed to a share