Re: [Mesa-dev] [PATCH 3/3 v3] mesa: Fix GL error generation in glBlitFramebuffer()

2013-01-08 Thread Anuj Phogat
On Tue, Jan 8, 2013 at 5:25 AM, Kenneth Graunke kenn...@whitecape.org wrote: From: Anuj Phogat anuj.pho...@gmail.com V2: If mask has GL_STENCIL_BUFFER_BIT set, the depth formats for readRenderBuffer and drawRenderBuffer must match unless one of the two buffers doesn't have depth, in which

Re: [Mesa-dev] [PATCH 1/2] radeon/winsys: add dma ring support to winsys

2013-01-08 Thread Christian König
On 07.01.2013 21:30, j.gli...@gmail.com wrote: From: Jerome Glisse jgli...@redhat.com Signed-off-by: Jerome Glisse jgli...@redhat.com Looks good to me. Reviewed-by: Christian König christian.koe...@amd.com --- src/gallium/drivers/r300/r300_context.c | 2 +-

Re: [Mesa-dev] [PATCH 7/7] mesa: Add support to allow blitting to multiple color draw buffers

2013-01-08 Thread Anuj Phogat
On Tue, Jan 8, 2013 at 5:22 AM, Kenneth Graunke kenn...@whitecape.org wrote: On 01/07/2013 08:16 AM, Anuj Phogat wrote: Changes in fbobject.c fix a case when blitting to a framebuffer with renderbuffers/textures attached to GL_COLOR_ATTACHMENT{i} (where i!=0). Earlier it skips color blitting

[Mesa-dev] [PATCH 7.1/7] mesa: Add error checking in _mesa_BlitFramebuffer() for MRTs

2013-01-08 Thread Anuj Phogat
This patch adds required error checking in _mesa_BlitFramebuffer() when blitting to multiple color render targets. It also fixes a case when blitting to a framebuffer with renderbuffer/texture attached to GL_COLOR_ATTACHMENT{i} (where i!=0). Earlier it skips color blitting if nothing is found

[Mesa-dev] [PATCH 7.2/7] mesa: Add support to allow blitting to multiple color draw buffers

2013-01-08 Thread Anuj Phogat
This patch fixes a blitting case when drawAttachment-Texture == readAttachment-Texture. It was causing an assertion failure in intel_miptree_attach_map() with gles3 conformance test case: framebuffer_blit_functionality_minifying_blit Number of changes in this file look scary. But most of them are

[Mesa-dev] [PATCH] targets/xvmc-nouveau: enable XvMC on nv30

2013-01-08 Thread Andreas Boll
From: Arvind R arvin...@gmail.com applications cannot load libXvMC.so due to nv30_screen_create being undefined. This patch fixes that. And MPlayer successfully uses XvMC for video-out on GeForce 9400GT Log: vo_xvmc: Using Xv Adaptor #0 (Nouveau GeForce 8/9 Textured Video) vo_xvmc: Port 63

Re: [Mesa-dev] [PATCH 1/2] radeon/winsys: add dma ring support to winsys

2013-01-08 Thread Marek Olšák
On Mon, Jan 7, 2013 at 9:30 PM, j.gli...@gmail.com wrote: From: Jerome Glisse jgli...@redhat.com Signed-off-by: Jerome Glisse jgli...@redhat.com --- src/gallium/drivers/r300/r300_context.c | 2 +- src/gallium/drivers/r600/r600_pipe.c | 2 +-

Re: [Mesa-dev] [PATCH 1/2] radeon/winsys: add dma ring support to winsys

2013-01-08 Thread Marek Olšák
On Tue, Jan 8, 2013 at 4:51 PM, Jerome Glisse j.gli...@gmail.com wrote: On Tue, Jan 8, 2013 at 10:15 AM, Marek Olšák mar...@gmail.com wrote: On Mon, Jan 7, 2013 at 9:30 PM, j.gli...@gmail.com wrote: From: Jerome Glisse jgli...@redhat.com Signed-off-by: Jerome Glisse jgli...@redhat.com ---

[Mesa-dev] [PATCH] Revert configure.ac: Disable compiler optimizations when --enable-debug is set

2013-01-08 Thread Marek Olšák
This reverts commit 122345876479cf5cf553e38162ab105658614ab7. Some distributions use --enable-debug for testing packages and the commit results in terrible CPU performance. It can be embarrassing for us. Those who do not want optimizations should set the CFLAGS and CXXFLAGS environment

Re: [Mesa-dev] [PATCH] targets/xvmc-nouveau: enable XvMC on nv30

2013-01-08 Thread Matt Turner
On Tue, Jan 8, 2013 at 5:00 AM, Andreas Boll andreas.boll@gmail.com wrote: From: Arvind R arvin...@gmail.com applications cannot load libXvMC.so due to nv30_screen_create being undefined. This patch fixes that. And MPlayer successfully uses XvMC for video-out on GeForce 9400GT Log:

Re: [Mesa-dev] [PATCH 20/23] i965 teximage: allocate texture image buffer for fallback path

2013-01-08 Thread Jordan Justen
On Mon, Jan 7, 2013 at 1:25 PM, Ian Romanick i...@freedesktop.org wrote: On 01/04/2013 06:41 PM, Jordan Justen wrote: Signed-off-by: Jordan Justen jordan.l.jus...@intel.com --- src/mesa/drivers/dri/intel/intel_tex_image.c |1 + 1 file changed, 1 insertion(+) diff --git

Re: [Mesa-dev] [PATCH] Revert configure.ac: Disable compiler optimizations when --enable-debug is set

2013-01-08 Thread Matt Turner
On Tue, Jan 8, 2013 at 8:38 AM, Marek Olšák mar...@gmail.com wrote: This reverts commit 122345876479cf5cf553e38162ab105658614ab7. Some distributions use --enable-debug for testing packages and the commit results in terrible CPU performance. It can be embarrassing for us. Those who do not

[Mesa-dev] Two missing patches for the R600 backend

2013-01-08 Thread Christian König
Hi Tom, here are two patches I already send out last year, but are still missing in your master branch on http://cgit.freedesktop.org/~tstellar/llvm/. I just rebased them, so they should apply cleanly ontop of that branch. Christian. ___ mesa-dev

[Mesa-dev] [PATCH 1/2] R600: Optimize and cleanup KILL on SI

2013-01-08 Thread Christian König
We shouldn't insert KILL optimization if we don't have a kill instruction at all. Signed-off-by: Christian König deathsim...@vodafone.de --- lib/Target/R600/SIISelLowering.cpp | 14 lib/Target/R600/SIISelLowering.h |2 - lib/Target/R600/SIInstructions.td | 24 +++---

[Mesa-dev] [PATCH 2/2] R600: Proper insert S_WAITCNT instructions

2013-01-08 Thread Christian König
Some instructions like memory reads/writes are executed asynchronously, so we need to insert S_WAITCNT instructions to block before accessing their results. Previously we have just inserted S_WAITCNT instructions after each async instruction, this patch fixes this and adds a prober insertion pass.

Re: [Mesa-dev] [PATCH 16/23] readpix: raise priority of FBO completeness error

2013-01-08 Thread Jordan Justen
On Mon, Jan 7, 2013 at 1:19 PM, Ian Romanick i...@freedesktop.org wrote: On 01/04/2013 06:41 PM, Jordan Justen wrote: GTF/gles3 test suite wants this error to have higher priority than the type checking. If the ReadPixels call in the test has multiple errors, the test should be changed.

Re: [Mesa-dev] [PATCH] Revert configure.ac: Disable compiler optimizations when --enable-debug is set

2013-01-08 Thread Marek Olšák
On Tue, Jan 8, 2013 at 6:11 PM, Matt Turner matts...@gmail.com wrote: On Tue, Jan 8, 2013 at 8:38 AM, Marek Olšák mar...@gmail.com wrote: This reverts commit 122345876479cf5cf553e38162ab105658614ab7. Some distributions use --enable-debug for testing packages and the commit results in terrible

Re: [Mesa-dev] [PATCH] targets/xvmc-nouveau: enable XvMC on nv30

2013-01-08 Thread Christoph Bumiller
On 08.01.2013 18:06, Matt Turner wrote: On Tue, Jan 8, 2013 at 5:00 AM, Andreas Boll andreas.boll@gmail.com wrote: From: Arvind R arvin...@gmail.com applications cannot load libXvMC.so due to nv30_screen_create being undefined. This patch fixes that. And MPlayer successfully uses XvMC

Re: [Mesa-dev] [PATCH] Revert configure.ac: Disable compiler optimizations when --enable-debug is set

2013-01-08 Thread Brian Paul
On 01/08/2013 08:38 AM, Marek Olšák wrote: This reverts commit 122345876479cf5cf553e38162ab105658614ab7. Some distributions use --enable-debug for testing packages and the commit results in terrible CPU performance. It can be embarrassing for us. Surely people should understand that enabling

[Mesa-dev] [Bug 59094] piglit GL_EXT_texture_snorm get-renderbuffer-internalformat regression

2013-01-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59094 Paul Berry stereotype...@gmail.com changed: What|Removed |Added CC|

Re: [Mesa-dev] [PATCH] Revert configure.ac: Disable compiler optimizations when --enable-debug is set

2013-01-08 Thread Eric Anholt
Marek Olšák mar...@gmail.com writes: I've had no problem with debugging even with -O2. Yeah, gdb cannot show some variables sometimes, but I rarely had to force CFLAGS to -O0 to debug an issue. That said, I can continue overriding CFLAGS and CXXFLAGS like I do now if the majority of people

[Mesa-dev] [Bug 59143] New: src\mesa\state_tracker\st_cb_texture.c(832) : error C2036: 'GLvoid *' : unknown size

2013-01-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59143 Priority: medium Bug ID: 59143 Keywords: regression Assignee: mesa-dev@lists.freedesktop.org Summary: src\mesa\state_tracker\st_cb_texture.c(832) : error C2036: 'GLvoid *' :

Re: [Mesa-dev] [PATCH] Revert configure.ac: Disable compiler optimizations when --enable-debug is set

2013-01-08 Thread Emil Velikov
On 08/01/13 17:27, Marek Olšák wrote: On Tue, Jan 8, 2013 at 6:11 PM, Matt Turner matts...@gmail.com wrote: On Tue, Jan 8, 2013 at 8:38 AM, Marek Olšák mar...@gmail.com wrote: This reverts commit 122345876479cf5cf553e38162ab105658614ab7. Some distributions use --enable-debug for testing

[Mesa-dev] [Bug 59143] src\mesa\state_tracker\st_cb_texture.c(832) : error C2036: 'GLvoid *' : unknown size

2013-01-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59143 Vinson Lee v...@freedesktop.org changed: What|Removed |Added CC||mar...@gmail.com ---

[Mesa-dev] [PATCH] configure.ac: Introduce --disable-optimizations

2013-01-08 Thread Emil Velikov
Allows us to easily disable compiler optimizations without directly dealing with C{,XX}FLAGS Signed-off-by: Emil Velikov emil.l.veli...@gmail.com --- configure.ac | 22 ++ 1 file changed, 22 insertions(+) diff --git a/configure.ac b/configure.ac index 1414ce8..4d96ba0 100644

[Mesa-dev] [PATCH] st/mesa: fix possible MSVC build error

2013-01-08 Thread Marek Olšák
https://bugs.freedesktop.org/show_bug.cgi?id=59143 --- src/mesa/state_tracker/st_cb_texture.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index 02fc675..e869d61 100644 ---

Re: [Mesa-dev] [PATCH 7.1/7] mesa: Add error checking in _mesa_BlitFramebuffer() for MRTs

2013-01-08 Thread Kenneth Graunke
On 01/08/2013 03:54 AM, Anuj Phogat wrote: This patch adds required error checking in _mesa_BlitFramebuffer() when blitting to multiple color render targets. It also fixes a case when blitting to a framebuffer with renderbuffer/texture attached to GL_COLOR_ATTACHMENT{i} (where i!=0). Earlier it

Re: [Mesa-dev] [PATCH 7.2/7] mesa: Add support to allow blitting to multiple color draw buffers

2013-01-08 Thread Kenneth Graunke
On 01/08/2013 03:56 AM, Anuj Phogat wrote: This patch fixes a blitting case when drawAttachment-Texture == readAttachment-Texture. It was causing an assertion failure in intel_miptree_attach_map() with gles3 conformance test case: framebuffer_blit_functionality_minifying_blit Number of changes

Re: [Mesa-dev] [PATCH 3/3 v3] mesa: Fix GL error generation in glBlitFramebuffer()

2013-01-08 Thread Kenneth Graunke
On 01/08/2013 02:03 AM, Anuj Phogat wrote: On Tue, Jan 8, 2013 at 5:25 AM, Kenneth Graunke kenn...@whitecape.org wrote: From: Anuj Phogat anuj.pho...@gmail.com V2: If mask has GL_STENCIL_BUFFER_BIT set, the depth formats for readRenderBuffer and drawRenderBuffer must match unless one of the

Re: [Mesa-dev] [PATCH] configure.ac: Introduce --disable-optimizations

2013-01-08 Thread Matt Turner
On Tue, Jan 8, 2013 at 11:26 AM, Emil Velikov emil.l.veli...@gmail.com wrote: Allows us to easily disable compiler optimizations without directly dealing with C{,XX}FLAGS Signed-off-by: Emil Velikov emil.l.veli...@gmail.com --- This is getting silly. Do Dan's patches not satisfy everyone?

Re: [Mesa-dev] [PATCH] Revert configure.ac: Disable compiler optimizations when --enable-debug is set

2013-01-08 Thread Matt Turner
On Tue, Jan 8, 2013 at 8:38 AM, Marek Olšák mar...@gmail.com wrote: Some distributions use --enable-debug for testing packages and the commit results in terrible CPU performance. It can be embarrassing for us. If distros want debug symbols, they should put -g in their CFLAGS instead of

Re: [Mesa-dev] [PATCH] Revert configure.ac: Disable compiler optimizations when --enable-debug is set

2013-01-08 Thread Kenneth Graunke
On 01/08/2013 12:06 PM, Matt Turner wrote: On Tue, Jan 8, 2013 at 8:38 AM, Marek Olšák mar...@gmail.com wrote: Some distributions use --enable-debug for testing packages and the commit results in terrible CPU performance. It can be embarrassing for us. If distros want debug symbols, they

[Mesa-dev] [Bug 59094] piglit GL_EXT_texture_snorm get-renderbuffer-internalformat regression

2013-01-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59094 --- Comment #2 from Ian Romanick i...@freedesktop.org --- Does this test pass on NVIDIA? AMD? The bisected commit was made to match the GL spec and the behavior (of a different GL function) of the other vendors. -- You are receiving this mail

Re: [Mesa-dev] [PATCH] configure.ac: Introduce --disable-optimizations

2013-01-08 Thread Emil Velikov
On 08/01/13 20:05, Matt Turner wrote: On Tue, Jan 8, 2013 at 11:26 AM, Emil Velikov emil.l.veli...@gmail.com wrote: Allows us to easily disable compiler optimizations without directly dealing with C{,XX}FLAGS Signed-off-by: Emil Velikov emil.l.veli...@gmail.com --- This is getting

[Mesa-dev] [PATCH] build: Error on --enable-glx-tls when building with Clang.

2013-01-08 Thread Kenneth Graunke
Clang doesn't support the TLS mode we use, so building Mesa with Clang and --enable-glx-tls simply causes every Piglit test under the sun to crash when calling glGetString(). Good times. To avoid catastrophic failure and confusion, simply bail in configure. --- configure.ac | 4 1 file

Re: [Mesa-dev] [PATCH] st/mesa: fix possible MSVC build error

2013-01-08 Thread Brian Paul
On 01/08/2013 11:40 AM, Marek Olšák wrote: https://bugs.freedesktop.org/show_bug.cgi?id=59143 --- src/mesa/state_tracker/st_cb_texture.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c

[Mesa-dev] [PATCH] i965: Fix build error with clang.

2013-01-08 Thread Kenneth Graunke
Technically, variable sized arrays are a required feature of C99, redacted to be optional in C11, and not actually part of C++ whatsoever. Gcc allows using them in C++ unless you specify -pedantic, and Clang appears to allow them for simple/POD types. exec_list is arguably POD, since it doesn't

Re: [Mesa-dev] [PATCH] build: Error on --enable-glx-tls when building with Clang.

2013-01-08 Thread Matt Turner
On Tue, Jan 8, 2013 at 12:36 PM, Kenneth Graunke kenn...@whitecape.org wrote: Clang doesn't support the TLS mode we use, so building Mesa with Clang and --enable-glx-tls simply causes every Piglit test under the sun to crash when calling glGetString(). Good times. To avoid catastrophic

Re: [Mesa-dev] [PATCH] i965: Fix build error with clang.

2013-01-08 Thread Matt Turner
On Tue, Jan 8, 2013 at 12:46 PM, Kenneth Graunke kenn...@whitecape.org wrote: Technically, variable sized arrays are a required feature of C99, redacted to be optional in C11, and not actually part of C++ whatsoever. Gcc allows using them in C++ unless you specify -pedantic, and Clang appears

[Mesa-dev] [PATCH 2/5] R600: Factorise VTX_WORD0 and VTX_WORD1 in tblgen def

2013-01-08 Thread Vincent Lejeune
--- lib/Target/R600/R600Instructions.td | 110 +--- 1 file changed, 65 insertions(+), 45 deletions(-) diff --git a/lib/Target/R600/R600Instructions.td b/lib/Target/R600/R600Instructions.td index c3539ab..112f769 100644 --- a/lib/Target/R600/R600Instructions.td

[Mesa-dev] [PATCH 1/5] R600: rework handling of the constants

2013-01-08 Thread Vincent Lejeune
From: Vadim Girlin vadimgir...@gmail.com Remove Cxxx registers, add new special register - ALU_CONST and new operand for each alu src - sel. ALU_CONST is used to designate that the new operand contains the value to override src.sel, src.kc_bank, src.chan for constants in the driver. ---

[Mesa-dev] [PATCH 4/5] R600: use pointers for constants

2013-01-08 Thread Vincent Lejeune
--- lib/Target/R600/AMDGPU.h | 1 + lib/Target/R600/AMDGPUTargetMachine.cpp| 1 + lib/Target/R600/AMDIL.h| 19 +++- lib/Target/R600/AMDILISelDAGToDAG.cpp | 104 +

[Mesa-dev] [PATCH 5/5] R600: Fold CONST_ADDRESS when possible

2013-01-08 Thread Vincent Lejeune
--- lib/Target/R600/AMDILISelDAGToDAG.cpp | 61 ++- lib/Target/R600/R600ISelLowering.cpp | 14 +++- 2 files changed, 73 insertions(+), 2 deletions(-) diff --git a/lib/Target/R600/AMDILISelDAGToDAG.cpp b/lib/Target/R600/AMDILISelDAGToDAG.cpp index

[Mesa-dev] [PATCH 1/3] r600g/llvm: rework handling of the constants

2013-01-08 Thread Vincent Lejeune
From: Vadim Girlin vadimgir...@gmail.com Pack kc_bank, const_index and chan into the load.const operand, unpack them in r600_alu_from_byte_stream and use to override sel, kc_bank and chan for the constants. Expected operand value is (((512 + (kc_bank 12) + const_index) 2) + chan). ---

[Mesa-dev] [PATCH 1/2] r600g: tgsi to llvm emits stream output intrinsics.

2013-01-08 Thread Vincent Lejeune
--- src/gallium/drivers/r600/eg_asm.c| 2 ++ src/gallium/drivers/r600/r600_asm.c | 2 ++ src/gallium/drivers/r600/r600_llvm.c | 20 src/gallium/drivers/r600/r600_shader.c | 3 ++- src/gallium/drivers/radeon/radeon_llvm.h | 1 + 5 files changed, 27

[Mesa-dev] [PATCH 2/3] r600g/llvm:translate ARL opcode to a simple cast

2013-01-08 Thread Vincent Lejeune
--- src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c index d390f92..acbd387 100644 ---

[Mesa-dev] [PATCH 2/2] r600g: tgsi to llvm emits store.swizzle intrinsic for vs/fs output

2013-01-08 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_llvm.c | 194 ++- src/gallium/drivers/r600/r600_shader.c | 6 +- src/gallium/drivers/radeon/radeon_llvm.h | 1 + 3 files changed, 144 insertions(+), 57 deletions(-) diff --git a/src/gallium/drivers/r600/r600_llvm.c

[Mesa-dev] [PATCH 3/3] r600g/llvm: tgsi to llvm now emits pointers for constants

2013-01-08 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_llvm.c | 24 +- src/gallium/drivers/r600/r600_shader.c | 7 +-- .../drivers/radeon/radeon_setup_tgsi_llvm.c| 4 3 files changed, 23 insertions(+), 12 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 12/23] copytexture: update error checking for GLES3

2013-01-08 Thread Jordan Justen
On Mon, Jan 7, 2013 at 12:32 AM, Anuj Phogat anuj.pho...@gmail.com wrote: On Sat, Jan 5, 2013 at 8:11 AM, Jordan Justen jordan.l.jus...@intel.com wrote: Changes based on GTF/gles3 conformance test suite. Signed-off-by: Jordan Justen jordan.l.jus...@intel.com --- src/mesa/main/teximage.c |

[Mesa-dev] [PATCH 0/3] intel: Untangle physical vs logical surface dimensions.

2013-01-08 Thread Paul Berry
In the process of reviewing Chris Forbes' patches to implement ARB_texture_multisample, we discovered considerable confusion in the code that refers to surface dimensions: some functions expected logical surface dimensions (in units of pixels, as used by GL API functions such as glTexImage3D()),

[Mesa-dev] [PATCH 1/3] intel: Move compute_msaa_layout earlier in file.

2013-01-08 Thread Paul Berry
No functional change. This patch moves the compute_msaa_layout() function earlier in intel_mipmap_tree.c so that it can be used by other functions in that file. --- src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 79 +- 1 file changed, 41 insertions(+), 38 deletions(-)

[Mesa-dev] [PATCH 2/3] intel: Add a force_y_tiling parameter to intel_miptree_create().

2013-01-08 Thread Paul Berry
This allows intel_miptree_alloc_mcs() to force Y tiling for the MCS buffer. Previously we accomplished this by the hack of passing INTEL_MSAA_LAYOUT_CMS as the msaa_layout parameter, but that parameter is going to be going away soon. --- src/mesa/drivers/dri/intel/intel_fbo.c | 3 +-

[Mesa-dev] [PATCH 3/3] intel: Clean up confusion between logical and physical surface dimensions.

2013-01-08 Thread Paul Berry
In most cases, the width, height, and depth of the physical surface used by the driver to implement a texture or renderbuffer is equal to the logical width, height, and depth exposed to the client through functions such as glTexImage3D(). However, there are two exceptions: cube maps (which have a

Re: [Mesa-dev] [PATCH 0/3] intel: Untangle physical vs logical surface dimensions.

2013-01-08 Thread Chris Forbes
For the series: Reviewed-by: Chris Forbes chr...@ijw.co.nz On Wed, Jan 9, 2013 at 11:26 AM, Paul Berry stereotype...@gmail.com wrote: In the process of reviewing Chris Forbes' patches to implement ARB_texture_multisample, we discovered considerable confusion in the code that refers to surface

Re: [Mesa-dev] [PATCH 1/6] dri2: Create image from texture

2013-01-08 Thread Sinclair Yeh
On Fri, Dec 14, 2012 at 03:28:13PM +0200, Abdiel Janulgue wrote: Add create image from texture extension. Signed-off-by: Abdiel Janulgue abdiel.janul...@linux.intel.com --- include/GL/internal/dri_interface.h | 12 + src/egl/drivers/dri2/egl_dri2.c | 83

[Mesa-dev] [PATCH] i965: Move program_id to intel_screen instead of brw_context.

2013-01-08 Thread Kenneth Graunke
According to bug #54524, I regressed oglconform's multicontext test when I reenabled the fragment shader precompile. However, these test cases only passed by miraculous coincedence. We assign each fragment program a unique ID (brw_fragment_program::id which becomes

[Mesa-dev] [PATCH] i965 fixup: Add PTHREAD_CFLAGS/PTHREAD_LIBS to Makefile.am

2013-01-08 Thread Kenneth Graunke
To be squashed in with the previous patch. Hopefully I'm doing this right. --- src/mesa/drivers/dri/i965/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) I didn't need this to build, but Matt tells me it's probably needed. diff --git a/src/mesa/drivers/dri/i965/Makefile.am

Re: [Mesa-dev] [PATCH] i965: Move program_id to intel_screen instead of brw_context.

2013-01-08 Thread Eric Anholt
Kenneth Graunke kenn...@whitecape.org writes: According to bug #54524, I regressed oglconform's multicontext test when I reenabled the fragment shader precompile. Reviewed-by: Eric Anholt e...@anholt.net pgpoJefVy5P9D.pgp Description: PGP signature

Re: [Mesa-dev] [PATCH 3/3] intel: Clean up confusion between logical and physical surface dimensions.

2013-01-08 Thread Kenneth Graunke
On 01/08/2013 02:27 PM, Paul Berry wrote: [snip] diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.h b/src/mesa/drivers/dri/intel/intel_mipmap_tree.h index 8e84bef..195fa88 100644 --- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.h +++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.h