Re: [Mesa-dev] [PATCH 0/4] RFC: gl_shader cache

2013-09-23 Thread Tapani Pälli
On 09/20/2013 05:23 PM, Christoph Brill wrote: 2013/9/20 Tapani Pälli tapani.pa...@intel.com mailto:tapani.pa...@intel.com Hello; On my SNB desktop machine shader-db takes ~2.4secs without cache, with cache it takes ~1.8secs (~2.7 when cache gets generated) (values are avg

Re: [Mesa-dev] [PATCH] i965/hsw: compute DDX in a subspan based only on top row

2013-09-23 Thread Chia-I Wu
On Mon, Sep 23, 2013 at 12:09 PM, Chia-I Wu olva...@gmail.com wrote: On Fri, Sep 20, 2013 at 10:50 PM, Paul Berry stereotype...@gmail.com wrote: On 17 September 2013 19:54, Chia-I Wu olva...@gmail.com wrote: Hi Paul, On Mon, Sep 16, 2013 at 3:46 PM, Chia-I Wu olva...@gmail.com wrote: On

[Mesa-dev] [Bug 69682] mesa-9.2.0 and glamor-0.5.1 crash X - (?) _mesa_GetVertexAttribdv (?)

2013-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69682 --- Comment #6 from Denis M. (Phr33d0m) g...@politeia.in --- Created attachment 86334 -- https://bugs.freedesktop.org/attachment.cgi?id=86334action=edit xorg.conf (In reply to comment #4) Sorry for reopening. Anyway, Denis, please attach your

Re: [Mesa-dev] [PATCH 20/29] st/vdpau: consolidate C sources list into Makefile.sources

2013-09-23 Thread Christian König
Am 22.09.2013 22:29, schrieb Emil Velikov: Signed-off-by: Emil Velikov emil.l.veli...@gmail.com While it's not absolutely necessary for the VDPAU state tracker it makes sense consequently use Makefile.source all around the place. Reviewed-by: Christian König christian.koe...@amd.com ---

Re: [Mesa-dev] [PATCH 25/29] st/xvmc: consolidate C sources list into Makefile.sources

2013-09-23 Thread Christian König
Am 22.09.2013 22:29, schrieb Emil Velikov: Signed-off-by: Emil Velikov emil.l.veli...@gmail.com Reviewed-by: Christian König christian.koe...@amd.com --- src/gallium/state_trackers/xvmc/Makefile.am | 8 ++-- src/gallium/state_trackers/xvmc/Makefile.sources | 6 ++ 2 files

Re: [Mesa-dev] [PATCH 2/2] i965: Use IVB specific formula for depthbuffer

2013-09-23 Thread Pohjolainen, Topi
On Sun, Sep 22, 2013 at 10:37:19AM -0700, Ben Widawsky wrote: After the last patch, we can replace the region allocated in the miptree creation with a more straightforward (and hopefully smaller resulting) buffer based on the bspec's allocation formula. Since I am relatively new to this part

[Mesa-dev] I want to using Mesa/R600 under vxWorks environment.

2013-09-23 Thread Yonggang Luo
What I need to do for that. Is that I need to port LLVM to vxWorks? -- 此致 礼 罗勇刚 Yours sincerely, Yonggang Luo ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 69682] mesa-9.2.0 and glamor-0.5.1 crash X - (?) _mesa_GetVertexAttribdv (?)

2013-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69682 --- Comment #7 from Marek Olšák mar...@gmail.com --- Sorry, I don't have any other tricks. I only knew that Load glx must not be present in xorg.conf for Glamor to work. -- You are receiving this mail because: You are the assignee for the bug.

[Mesa-dev] [PATCH 3/7] st/vdpau: use new vlc function to serach for VC-1 start codes

2013-09-23 Thread Christian König
From: Christian König christian.koe...@amd.com Signed-off-by: Christian König christian.koe...@amd.com --- src/gallium/state_trackers/vdpau/decode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/decode.c

[Mesa-dev] [PATCH 2/7] vl/mpeg12: use new vlc function to search for start codes

2013-09-23 Thread Christian König
From: Christian König christian.koe...@amd.com Signed-off-by: Christian König christian.koe...@amd.com --- src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c

[Mesa-dev] [PATCH 1/7] vl/vlc: add fast forward search for byte value

2013-09-23 Thread Christian König
From: Christian König christian.koe...@amd.com Commonly used to find start codes and has far less overhead to searching manually. Signed-off-by: Christian König christian.koe...@amd.com --- src/gallium/auxiliary/vl/vl_vlc.h | 84 ++- 1 file changed, 74

[Mesa-dev] [PATCH 4/7] st/vdpau: use a separate lock per decoder

2013-09-23 Thread Christian König
From: Christian König christian.koe...@amd.com Signed-off-by: Christian König christian.koe...@amd.com --- src/gallium/state_trackers/vdpau/decode.c| 20 +++- src/gallium/state_trackers/vdpau/vdpau_private.h | 1 + 2 files changed, 12 insertions(+), 9 deletions(-) diff

[Mesa-dev] [PATCH 6/7] radeon/uvd: try to place msg/fb buffer into GART

2013-09-23 Thread Christian König
From: Christian König christian.koe...@amd.com This is only supported on NI+, but the kernel takes care of those limitations. Signed-off-by: Christian König christian.koe...@amd.com --- src/gallium/drivers/radeon/radeon_uvd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[Mesa-dev] [PATCH 5/7] radeon/uvd: move alignment to winsys

2013-09-23 Thread Christian König
From: Christian König christian.koe...@amd.com Similar to GFX and DMA. Signed-off-by: Christian König christian.koe...@amd.com --- src/gallium/drivers/radeon/radeon_uvd.c | 6 -- src/gallium/winsys/radeon/drm/radeon_drm_cs.c | 6 ++ 2 files changed, 6 insertions(+), 6 deletions(-)

[Mesa-dev] [PATCH 7/7] radeon/winsys: keep screen pointer in winsys

2013-09-23 Thread Christian König
From: Christian König christian.koe...@amd.com Only create one screen for each winsys instance. This helps with buffer sharing and interop handling. Signed-off-by: Christian König christian.koe...@amd.com --- src/gallium/drivers/r300/r300_screen.c| 3 +++

Re: [Mesa-dev] I want to using Mesa/R600 under vxWorks environment.

2013-09-23 Thread Alex Deucher
On Sun, Sep 22, 2013 at 9:48 AM, 罗勇刚(Yonggang Luo) luoyongg...@gmail.com wrote: What I need to do for that. You'd need to port the radeon drm kernel module to vxWorks to start with. Is that I need to port LLVM to vxWorks? You only need llvm for compute (OpenCL) for r600g at the moment. Alex

[Mesa-dev] XML schema database for GL, GLES, WGL, GLX and EGL

2013-09-23 Thread Tom Gall
Hi All, I'd like to draw your attention the existence of an new (1) XML scheme database for GL, GLES, WGL, GLX and EGL. There are a number tools (like the dispatch table in piglit for instance, header file generation etc) which would quite likely benefit from this new source of data from

Re: [Mesa-dev] [PATCH 5/7] radeon/uvd: move alignment to winsys

2013-09-23 Thread Marek Olšák
Reviewed-by: Marek Olšák marek.ol...@amd.com Marek On Mon, Sep 23, 2013 at 3:58 PM, Christian König deathsim...@vodafone.de wrote: From: Christian König christian.koe...@amd.com Similar to GFX and DMA. Signed-off-by: Christian König christian.koe...@amd.com ---

Re: [Mesa-dev] [PATCH 7/7] radeon/winsys: keep screen pointer in winsys

2013-09-23 Thread Marek Olšák
This is kind of hard to read. I think it would be nicer to: 1) Move the pipe_reference variable from the winsys to the screen. 2) Have the screen create the winsys, instead of just receiving a pointer to it, so that the winsys doesn't have to be reference-counted, because the screen is. Marek On

Re: [Mesa-dev] Mesa built code size reduction

2013-09-23 Thread Ian Romanick
Patches 1, 2, 3v2, 4v2, 5, 6, and 7 are Reviewed-by: Ian Romanick ian.d.roman...@.intel.com On 09/20/2013 06:52 PM, Eric Anholt wrote: Since I'm going to be talking about the megadrivers idea next week at XDC, I thought I'd look at what the impact would be of an alternate option, and to do

[Mesa-dev] [PATCH] R600/SI: fix MIMG writemask adjustement

2013-09-23 Thread maraeo
From: Marek Olšák marek.ol...@amd.com This fixes piglit: - shaders/glsl-fs-texture2d-masked - shaders/glsl-fs-texture2d-masked-4 Signed-off-by: Marek Olšák marek.ol...@amd.com --- lib/Target/R600/SIISelLowering.cpp | 27 +-- 1 file changed, 21 insertions(+), 6

[Mesa-dev] [PATCH] glcpp: error on multiple #else directives

2013-09-23 Thread Erik Faye-Lund
The preprocessor currently eats multiple #else directives int the same #if(def) ... #endif block. While I haven't been able to find anything that explicitly disallows it, it's nonsensical and should probably not be allowed. Add checks to reject the code. --- I'm not entirely sure why

[Mesa-dev] [PATCH 2/2] [v2] i965: Use IVB specific formula for depthbuffer

2013-09-23 Thread Ben Widawsky
After the last patch, we can replace the region allocated in the miptree creation with a more straightforward (and hopefully smaller resulting) buffer based on the bspec's allocation formula. Since I am relatively new to this part of the bspec, I would very much appreciate scrutiny during review

Re: [Mesa-dev] [PATCH 1/5] glsl: Add conditional-select IR.

2013-09-23 Thread Marek Olšák
I think this breaks drivers which use ir_to_mesa, because mix can be used in this way in GLSL 1.20 too. Marek On Sat, Sep 7, 2013 at 2:57 AM, Matt Turner matts...@gmail.com wrote: It's a ?: that operates per-component on vectors. Will be used in upcoming lowering pass for ldexp and the

Re: [Mesa-dev] [PATCH] glcpp: error on multiple #else directives

2013-09-23 Thread Erik Faye-Lund
On Mon, Sep 23, 2013 at 10:35 PM, Erik Faye-Lund kusmab...@gmail.com wrote: The preprocessor currently eats multiple #else directives int the same #if(def) ... #endif block. While I haven't been able to find anything that explicitly disallows it, it's nonsensical and should probably not be

Re: [Mesa-dev] [PATCH 1/5] glsl: Add conditional-select IR.

2013-09-23 Thread Matt Turner
On Mon, Sep 23, 2013 at 2:02 PM, Marek Olšák mar...@gmail.com wrote: I think this breaks drivers which use ir_to_mesa, because mix can be used in this way in GLSL 1.20 too. Marek Indeed, it's reported as https://bugs.freedesktop.org/show_bug.cgi?id=69202 I was hoping someone would implement

Re: [Mesa-dev] [PATCH 1/5] glsl: Add conditional-select IR.

2013-09-23 Thread Marek Olšák
Or maybe not. Nevermind. Marek On Mon, Sep 23, 2013 at 11:02 PM, Marek Olšák mar...@gmail.com wrote: I think this breaks drivers which use ir_to_mesa, because mix can be used in this way in GLSL 1.20 too. Marek On Sat, Sep 7, 2013 at 2:57 AM, Matt Turner matts...@gmail.com wrote: It's a

[Mesa-dev] [PATCH] llvmpipe: align the array used for subdivived vertices

2013-09-23 Thread Zack Rusin
When subdiving a triangle we're using a temporary array to store the new coordinates for the subdivided triangles. Unfortunately the array used for that was not aligned properly causing random crashes in the llvm jit code which was trying to load vectors from it. Signed-off-by: Zack Rusin

[Mesa-dev] [PATCH 1/2] i965/fs: Remove explicit resolve_ud_negate from emit_bool_to_cond_code.

2013-09-23 Thread Kenneth Graunke
resolve_ud_negate works around issues with the CMP instruction; it isn't necessary for other instructions. Since Eric originally wrote this code, we've added the CMP() instruction emitter, which now internally does resolve_ud_negate() on both operands. So we can drop the explicit calls to

[Mesa-dev] [PATCH 2/2] i965/fs: Don't double-accept operands of logical and/or/xor operations.

2013-09-23 Thread Kenneth Graunke
emit_bool_to_cond_code() takes separate paths for ir_expressions and. If the argument to emit_bool_to_cond_code() is an ir_expression, we loop over the operands, calling accept() on each of them, which generates assembly code to compute that subexpression. We then emit one or two final

Re: [Mesa-dev] [PATCH 1/5] glsl: Add conditional-select IR.

2013-09-23 Thread Marek Olšák
No, I've got a patch for Gallium, I will send it in a moment. Marek On Mon, Sep 23, 2013 at 11:25 PM, Matt Turner matts...@gmail.com wrote: On Mon, Sep 23, 2013 at 2:02 PM, Marek Olšák mar...@gmail.com wrote: I think this breaks drivers which use ir_to_mesa, because mix can be used in this

Re: [Mesa-dev] [PATCH] llvmpipe: align the array used for subdivived vertices

2013-09-23 Thread Roland Scheidegger
Am 23.09.2013 23:31, schrieb Zack Rusin: When subdiving a triangle we're using a temporary array to store the new coordinates for the subdivided triangles. Unfortunately the array used for that was not aligned properly causing random crashes in the llvm jit code which was trying to load

Re: [Mesa-dev] [PATCH 2/2] i965/fs: Don't double-accept operands of logical and/or/xor operations.

2013-09-23 Thread Matt Turner
On Mon, Sep 23, 2013 at 2:12 PM, Kenneth Graunke kenn...@whitecape.org wrote: emit_bool_to_cond_code() takes separate paths for ir_expressions and. Sentence ends unexpectedly? If the argument to emit_bool_to_cond_code() is an ir_expression, we loop over the operands, calling accept() on each

Re: [Mesa-dev] [PATCH 2/2] i965/fs: Don't double-accept operands of logical and/or/xor operations.

2013-09-23 Thread Kenneth Graunke
On 09/23/2013 02:52 PM, Matt Turner wrote: On Mon, Sep 23, 2013 at 2:12 PM, Kenneth Graunke kenn...@whitecape.org wrote: emit_bool_to_cond_code() takes separate paths for ir_expressions and. Sentence ends unexpectedly? Oops. I meant to delete that. If the argument to

[Mesa-dev] [PATCH 02/10] glsl: Implement uaddCarry() built-in for ARB_gpu_shader5.

2013-09-23 Thread Matt Turner
i965 implements this with a single (multiple destination) instruction, ADDC. Emitting ADDC directly from uaddCarry() would be ideal, but our optimization passes don't know how to copy with expressions with side-effects. Radeon has an ADDC_UINT instruction that only generates the carry bit. I've

[Mesa-dev] [PATCH 03/10] glsl: Implement usubBorrow() built-in for ARB_gpu_shader5.

2013-09-23 Thread Matt Turner
i965 implements this with a single (multiple destination) instruction, SUBB. Emitting SUBB directly from usubBorrow() would be ideal, but our optimization passes don't know how to copy with expressions with side-effects. Radeon has an SUBB_UINT instruction that only generates the borrow bit. I've

[Mesa-dev] [PATCH 04/10] i965: Add UD null register helpers.

2013-09-23 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_fs.h | 1 + src/mesa/drivers/dri/i965/brw_vec4.h | 5 + 2 files changed, 6 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index b77d4de..60aabf6 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++

[Mesa-dev] [PATCH 05/10] i965: Generate code for ir_binop_carry and ir_binop_borrow.

2013-09-23 Thread Matt Turner
Using the ADDC and SUBB instructions on Gen7. --- src/mesa/drivers/dri/i965/brw_defines.h | 2 ++ src/mesa/drivers/dri/i965/brw_disasm.c | 2 ++ src/mesa/drivers/dri/i965/brw_eu.h | 2 ++ src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 ++

[Mesa-dev] [PATCH 06/10] i965: Don't dead-code eliminate instructions that write to the accumulator.

2013-09-23 Thread Matt Turner
--- I've noticed that the vec4 backend doesn't use the ARF register file. Is this because we decided that it's not necessary and we can just use HW_REG? So, this patch will probably need a fixup. src/mesa/drivers/dri/i965/brw_fs.cpp | 16 +++-

[Mesa-dev] [PATCH 07/10] i965: Don't copy prop source mods into instructions that can't take them.

2013-09-23 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_fs.cpp | 3 +++ src/mesa/drivers/dri/i965/brw_shader.cpp | 19 +++ src/mesa/drivers/dri/i965/brw_shader.h | 1 + src/mesa/drivers/dri/i965/brw_vec4.cpp | 3 +++ 4 files changed, 26 insertions(+) diff --git

[Mesa-dev] [PATCH 08/10] i965: Add Gen assertion checks for newer instructions.

2013-09-23 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_fs_emit.cpp | 11 +++ src/mesa/drivers/dri/i965/brw_vec4_emit.cpp | 11 +++ 2 files changed, 22 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp index 9b897c5..d76934f 100644 ---

[Mesa-dev] [PATCH 09/10] i965/fs: Add a peephole pass to combine ADD with ADDC/SUBB.

2013-09-23 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_fs.h | 1 + src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 101 +++ 2 files changed, 102 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index a56f561..d776b5a 100644 ---

[Mesa-dev] [PATCH 10/10] i965/vs: Add a peephole pass to combine ADD with ADDC/SUBB.

2013-09-23 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_vec4.h | 1 + src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 102 + 2 files changed, 103 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h index b0d15fe..919f0b1 100644

[Mesa-dev] [PATCH 1/3] st/mesa: fix GLSL mix(.., .., bvecN)

2013-09-23 Thread maraeo
From: Marek Olšák marek.ol...@amd.com --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 271cf05..0d1506d 100644 ---

[Mesa-dev] [PATCH 2/3] radeonsi: bypass alpha-test for integer colorbuffers

2013-09-23 Thread maraeo
From: Marek Olšák marek.ol...@amd.com Fixes spec/EXT_texture_integer/fbo-blending. --- src/gallium/drivers/radeonsi/si_state.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index

[Mesa-dev] [PATCH] libdrm: Fix drmOpenByName() udev identification method

2013-09-23 Thread Jay Cornwall
This code incorrectly worked by falling through to /proc/dri method. Now that /proc/dri is removed, drmOpenByName() fails even when udev identification succeeds. Signed-off-by: Jay Cornwall j...@jcornwall.me --- xf86drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Mesa-dev] [PATCH 1/3] st/mesa: fix GLSL mix(.., .., bvecN)

2013-09-23 Thread Roland Scheidegger
Am 24.09.2013 02:37, schrieb mar...@gmail.com: From: Marek Olšák marek.ol...@amd.com --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp

Re: [Mesa-dev] [PATCH 6/7] glsl: Hide many classes local to individual .cpp files in anon namespaces.

2013-09-23 Thread Kenneth Graunke
On 09/21/2013 08:43 PM, Ian Romanick wrote: On 09/21/2013 03:16 PM, Kenneth Graunke wrote: On 09/20/2013 06:52 PM, Eric Anholt wrote: This gives the compiler the chance to inline and not export class symbols even in the absence of LTO. Saves about 60kb on disk. This is probably worth doing.

Re: [Mesa-dev] [PATCH 06/10] i965: Don't dead-code eliminate instructions that write to the accumulator.

2013-09-23 Thread Kenneth Graunke
On 09/23/2013 04:13 PM, Matt Turner wrote: --- I've noticed that the vec4 backend doesn't use the ARF register file. Is this because we decided that it's not necessary and we can just use HW_REG? So, this patch will probably need a fixup. I believe so. I think we should convert the scalar

Re: [Mesa-dev] [PATCH 07/10] i965: Don't copy prop source mods into instructions that can't take them.

2013-09-23 Thread Kenneth Graunke
On 09/23/2013 04:13 PM, Matt Turner wrote: --- src/mesa/drivers/dri/i965/brw_fs.cpp | 3 +++ src/mesa/drivers/dri/i965/brw_shader.cpp | 19 +++ src/mesa/drivers/dri/i965/brw_shader.h | 1 + src/mesa/drivers/dri/i965/brw_vec4.cpp | 3 +++ 4 files changed, 26

Re: [Mesa-dev] [PATCH 01/10] glsl: Add ir_binop_carry and ir_binop_borrow.

2013-09-23 Thread Kenneth Graunke
On 09/23/2013 04:12 PM, Matt Turner wrote: Calculates the carry out of the addition of two values and the borrow from subtraction respectively. Will be used in uaddCarry() and usubBorrow() built-in implementations. Patches 1-5 and 8 are: Reviewed-by: Kenneth Graunke kenn...@whitecape.org

[Mesa-dev] [PATCH 2/2] glsl: Create and use a has_uniform_buffer_objects() helper.

2013-09-23 Thread Kenneth Graunke
This is better than overriding the extension enable based on the language version; it's robust against shaders that do: #version 140 #extension GL_ARB_uniform_buffer_object : disable Signed-off-by: Kenneth Graunke kenn...@whitecape.org Cc: Paul Berry stereotype...@gmail.com Cc: Ian

[Mesa-dev] [PATCH 1/2] glsl: Create and use a has_explicit_attrib_location() helper.

2013-09-23 Thread Kenneth Graunke
Explicit attribute locations are supported with GLSL 3.30, GLSL ES 3.00, or #extension GL_ARB_explicit_attrib_location: enable. Using a helper function makes it easy to check for this. This enables support in GLSL 3.30, which was previously missing. Previously, we overrode the extension enable

[Mesa-dev] [PATCH v4 1/2] mesa: Add core support for the GL_AMD_performance_monitor extension.

2013-09-23 Thread Kenneth Graunke
This provides an interface for applications (and OpenGL-based tools) to access GPU performance counters. Since the exact performance counters available vary between vendors and hardware generations, the extension provides an API the application can use to get the names, types, and minimum/maximum

[Mesa-dev] [PATCH 2/2] i965: Add support for GL_AMD_performance_monitor on Ironlake.

2013-09-23 Thread Kenneth Graunke
Ironlake's counters are always enabled; userspace can simply send a MI_REPORT_PERF_COUNT packet to take a snapshot of them. This makes it easy to implement. The counters are documented in the source code for the intel-gpu-tools intel_perf_counters utility. v2: Adjust for core data structure

[Mesa-dev] [PATCH] mesa: Remove 'invalidate_state' parameter to _mesa_dirty_texobj().

2013-09-23 Thread Kenneth Graunke
Every caller passed true. Signed-off-by: Kenneth Graunke kenn...@whitecape.org --- src/mesa/main/teximage.c| 6 +++--- src/mesa/main/texobj.c | 9 +++-- src/mesa/main/texobj.h | 3 +-- src/mesa/main/texparam.c| 2 +-

[Mesa-dev] [PATCH] glsl: Remove unused pointer value.

2013-09-23 Thread Vinson Lee
Silences Unused pointer value defect reported by Coverity. Signed-off-by: Vinson Lee v...@freedesktop.org --- src/mesa/program/ir_to_mesa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index

[Mesa-dev] [PATCH] glsl: Initialize lower_vector_visitor::dont_lower_swz.

2013-09-23 Thread Vinson Lee
Fixes Uninitialized scalar field defect reported by Coverity. Signed-off-by: Vinson Lee v...@freedesktop.org --- src/glsl/lower_vector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/lower_vector.cpp b/src/glsl/lower_vector.cpp index 9172b6a..a658410 100644 ---

[Mesa-dev] [PATCH] glsl: Initialize assignment_generator member variables.

2013-09-23 Thread Vinson Lee
Fixes Uninitialized pointer field defect reported by Coverity. Signed-off-by: Vinson Lee v...@freedesktop.org --- src/glsl/lower_variable_index_to_cond_assign.cpp | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/glsl/lower_variable_index_to_cond_assign.cpp

[Mesa-dev] [PATCH] glsl: Initialize ir_lower_jumps_visitor member variables.

2013-09-23 Thread Vinson Lee
Fixes Unintialized scalar field defect reported by Coverity. Signed-off-by: Vinson Lee v...@freedesktop.org --- src/glsl/lower_jumps.cpp | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/glsl/lower_jumps.cpp b/src/glsl/lower_jumps.cpp index 97b1abb..02f65f0 100644 ---