Re: [Mesa-dev] [PATCH 07/10] i965: Replace brw_wm_* with dumping code into the fs_visitor.

2012-09-24 Thread Kenneth Graunke
On 09/22/2012 02:04 PM, Eric Anholt wrote: > This makes a giant pile of code newly dead. It also fixes TXB on newer > chipsets, which has been totally broken (I now have a piglit test for that). > It passes the same set of Ian's ARB_fragment_program tests. It also improves > high-settings ETQW pe

[Mesa-dev] [PATCH 3/3] gles3: Prohibit set/get of GL_FRAMEBUFFER_SRGB.

2012-09-24 Thread Paul Berry
GLES 3 supports sRGB functionality, but it does not expose the GL_FRAMEBUFFER_SRGB enable/disable bit. Instead the implementation is expected to behave as though that bit is always enabled. This patch ensures that ctx->Color.sRGBEnabled (the internal variable tracking GL_FRAMEBUFFER_SRG) is initi

[Mesa-dev] [PATCH 2/3] meta: Properly save/restore GL_FRAMEBUFFER_SRGB in Meta.

2012-09-24 Thread Paul Berry
Previously, meta logic was saving and restoring the value of GL_FRAMEBUFFER_SRGB in an ad-hoc fashion. As a result, it was not properly disabled and/or restored for some meta operations. This patch causes GL_FRAMEBUFFER_SRGB to be saved/restored in the conventional way of meta-ops (using _mesa_me

[Mesa-dev] [PATCH 1/3] enable: Create _mesa_set_framebuffer_srgb() function for use by meta ops.

2012-09-24 Thread Paul Berry
GLES3 supports sRGB formats, but it does not support the GL_FRAMEBUFFER_SRGB enable/disable flag (instead it behaves as if this flag is always enabled). Therefore, meta ops that need to disable GL_FRAMEBUFFER_SRGB will need a backdoor mechanism to do so when the API is GLES3. We were already doin

Re: [Mesa-dev] [PATCH 06/10] i965: Reduce maximum GL_ARB_fragment_program instruction count to 1024.

2012-09-24 Thread Kenneth Graunke
On 09/24/2012 01:04 PM, Roland Scheidegger wrote: > Am 24.09.2012 21:06, schrieb Kenneth Graunke: >> On 09/22/2012 02:04 PM, Eric Anholt wrote: >>> I don't know of any programs that would need more than this. The larger >>> programs I've seen have neared 100 instructions. This prevent excessive >

Re: [Mesa-dev] [PATCH] i965/blorp: Fix sRGB MSAA resolves.

2012-09-24 Thread Kenneth Graunke
On 09/24/2012 07:23 AM, Paul Berry wrote: > Commit e2249e8c4d06a85d6389ba1689e15d7e29aa4dff (i965/blorp: Add > support for blits between SRGB and linear formats) changed blorp to > always configure surface states for in linear format (even if the > underlying surface is sRGB). This allowed sRGB-to

Re: [Mesa-dev] [PATCH] mesa: remove 'struct' from texenv_fragment_program

2012-09-24 Thread Kenneth Graunke
On 09/24/2012 02:39 PM, Brian Paul wrote: > texenv_fragment_program is declared as a class. Fixes warnings with MSVC. > --- > src/mesa/main/ff_fragment_shader.cpp | 26 +- > 1 files changed, 13 insertions(+), 13 deletions(-) > > diff --git a/src/mesa/main/ff_fragment_sh

Re: [Mesa-dev] [PATCH] clover: Fix build with libclang v3.2

2012-09-24 Thread Francisco Jerez
Tom Stellard writes: > From: Tom Stellard > Reviewed-by: Francisco Jerez > --- > src/gallium/state_trackers/clover/llvm/invocation.cpp | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp > b/src/gallium/state_trackers/clover/llv

[Mesa-dev] Please test the automake-gallium branch

2012-09-24 Thread Matt Turner
This series of 105 patches finishes the automake conversion. I don't think the series needs to be reviewed patch by patch, since large chunks are making nearly identical changes to different directories. Plus, incorrect changes in the build system should be detectable with testing. As such, I won'

[Mesa-dev] [PATCH] mesa: remove 'struct' from texenv_fragment_program

2012-09-24 Thread Brian Paul
texenv_fragment_program is declared as a class. Fixes warnings with MSVC. --- src/mesa/main/ff_fragment_shader.cpp | 26 +- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/mesa/main/ff_fragment_shader.cpp b/src/mesa/main/ff_fragment_shader.cpp index

Re: [Mesa-dev] [PATCH 1/2] mesa: add signbit() macro

2012-09-24 Thread Jose Fonseca
- Original Message - > On 09/24/2012 02:53 PM, Jose Fonseca wrote: > >> From signbit manpage: > > > >This is not the same as x< 0.0, because IEEE 754 floating point > >allows zero to be signed. The comparison -0.0< 0.0 is > > false, but signbit(-0.0) will return a no

[Mesa-dev] [PATCH] radeon: Support LLVM 3.2

2012-09-24 Thread Tom Stellard
From: Tom Stellard LLVM 3.2 and newer requires that the R600/SI backend be part of the LLVM tree. --- configure.ac| 26 +++-- src/gallium/drivers/radeon/Makefile | 6 ++ src/gallium/drivers/radeon/Makefile.sources | 7

[Mesa-dev] AMD RS780 please help

2012-09-24 Thread Marek Olšák
Hi, would somebody with an RS780 be so kind as to test and see if transform feedback (GL3.0 feature) works for him with r600g? If the GL_EXT_transform_feedback extension is not exposed, you need a newer version of kernel and/or Mesa. To test transform feedback, run this in the piglit/bin directo

[Mesa-dev] [PATCH] clover: Fix build with libclang v3.2

2012-09-24 Thread Tom Stellard
From: Tom Stellard --- src/gallium/state_trackers/clover/llvm/invocation.cpp | 5 + 1 file changed, 5 insertions(+) diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index be15e96..1e830cd 100644 --- a/src/gallium/sta

Re: [Mesa-dev] [PATCH 1/2] mesa: add signbit() macro

2012-09-24 Thread Brian Paul
On 09/24/2012 02:53 PM, Jose Fonseca wrote: From signbit manpage: This is not the same as x< 0.0, because IEEE 754 floating point allows zero to be signed. The comparison -0.0< 0.0 isfalse, but signbit(-0.0) will return a nonzero value. I think that for consistency (and especi

Re: [Mesa-dev] [PATCH 1/2] mesa: add signbit() macro

2012-09-24 Thread Jose Fonseca
>From signbit manpage: This is not the same as x < 0.0, because IEEE 754 floating point allows zero to be signed. The comparison -0.0 < 0.0 isfalse, but signbit(-0.0) will return a nonzero value. I think that for consistency (and especially because MSVC ends not being as widely te

Re: [Mesa-dev] [PATCH 1/1] gallium/gallivm: code generation options for LLVM 3.1+

2012-09-24 Thread Alexander V. Nikolaev
On Mon, Sep 24, 2012 at 10:16:23PM +0200, Roland Scheidegger wrote: > >> This only covers the MCJIT case, but for LLVM 3.2 we no longer use > >> MCJIT, and just call LLVMCreateJITCompiler (instead of > >> lp_build_create_mcjit_compiler_for_module). So I think we need to > >> create another versi

Re: [Mesa-dev] [PATCH 1/2] mesa: add signbit() macro

2012-09-24 Thread Brian Paul
On 09/24/2012 02:42 PM, Matt Turner wrote: On Mon, Sep 24, 2012 at 12:25 PM, Brian Paul wrote: Fixes compilation failure with MSVC since 0f3ba405. --- src/mesa/main/imports.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/imports.h b/src/mesa/mai

Re: [Mesa-dev] [PATCH 1/2] mesa: add signbit() macro

2012-09-24 Thread Matt Turner
On Mon, Sep 24, 2012 at 12:25 PM, Brian Paul wrote: > Fixes compilation failure with MSVC since 0f3ba405. > --- > src/mesa/main/imports.h |7 +++ > 1 files changed, 7 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h > index 81da510..4deca6a

Re: [Mesa-dev] [PATCH 03/10] i965/fs: Refactor rectangle/GL_CLAMP texture coordinate adjustment.

2012-09-24 Thread Eric Anholt
Kenneth Graunke writes: > On 09/22/2012 02:04 PM, Eric Anholt wrote: >> diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp >> b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp >> index da09538..5bd7238 100644 >> --- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp >> +++ b/src/mesa/drivers/dri/

Re: [Mesa-dev] [PATCH] i965/blorp: Fix sRGB MSAA resolves.

2012-09-24 Thread Paul Berry
On 24 September 2012 12:12, Eric Anholt wrote: > Paul Berry writes: > > + /* If we are blitting from sRGB to linear or vice versa, we still > want the > > +* blit to be a direct copy, so we need source and destination to > use the > > +* same format. However, we want the destination s

Re: [Mesa-dev] [PATCH 1/1] gallium/gallivm: code generation options for LLVM 3.1+

2012-09-24 Thread Roland Scheidegger
Am 24.09.2012 21:25, schrieb Alexander V. Nikolaev: > On Mon, Sep 24, 2012 at 07:20:31AM -0700, Jose Fonseca wrote: > >> Thanks for nailing this. There are still several outstanding bug >> reports for WINE and LLVM and I never managed to make much progress. >> >> This only covers the MCJIT case,

Re: [Mesa-dev] [PATCH 06/10] i965: Reduce maximum GL_ARB_fragment_program instruction count to 1024.

2012-09-24 Thread Roland Scheidegger
Am 24.09.2012 21:06, schrieb Kenneth Graunke: > On 09/22/2012 02:04 PM, Eric Anholt wrote: >> I don't know of any programs that would need more than this. The larger >> programs I've seen have neared 100 instructions. This prevent excessive >> runtimes of automatic tests that attempt to test up t

Re: [Mesa-dev] [PATCH 1/1] gallium/gallivm: code generation options for LLVM 3.1+

2012-09-24 Thread Alexander V. Nikolaev
On Mon, Sep 24, 2012 at 07:20:31AM -0700, Jose Fonseca wrote: > Thanks for nailing this. There are still several outstanding bug > reports for WINE and LLVM and I never managed to make much progress. > > This only covers the MCJIT case, but for LLVM 3.2 we no longer use > MCJIT, and just call L

[Mesa-dev] [PATCH 2/2] build: remove signbit check in configure.ac

2012-09-24 Thread Brian Paul
We now have a fallback macro in imports.h This reverts part of 0f3ba405. --- configure.ac |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index b83078f..ef2455b 100644 --- a/configure.ac +++ b/configure.ac @@ -499,13 +499,6 @@ AC_SUBST([DL

[Mesa-dev] [PATCH 1/2] mesa: add signbit() macro

2012-09-24 Thread Brian Paul
Fixes compilation failure with MSVC since 0f3ba405. --- src/mesa/main/imports.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 81da510..4deca6a 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h

Re: [Mesa-dev] [PATCH] i965/blorp: Fix sRGB MSAA resolves.

2012-09-24 Thread Eric Anholt
Paul Berry writes: > + /* If we are blitting from sRGB to linear or vice versa, we still want the > +* blit to be a direct copy, so we need source and destination to use the > +* same format. However, we want the destination sRGB/linear state to be > +* correct (so that sRGB blendin

Re: [Mesa-dev] [PATCH 06/10] i965: Reduce maximum GL_ARB_fragment_program instruction count to 1024.

2012-09-24 Thread Kenneth Graunke
On 09/22/2012 02:04 PM, Eric Anholt wrote: > I don't know of any programs that would need more than this. The larger > programs I've seen have neared 100 instructions. This prevent excessive > runtimes of automatic tests that attempt to test up to the exposed maximums > (like fp-long-alu). > ---

Re: [Mesa-dev] Mesa (master): Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNS

2012-09-24 Thread Brian Paul
On 09/24/2012 12:43 PM, Matt Turner wrote: On Mon, Sep 24, 2012 at 11:02 AM, Brian Paul wrote: On 09/24/2012 10:49 AM, Matt Turner wrote: Module: Mesa Branch: master Commit: 0f3ba405eada72e1ab4371948315b28608903927 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f3ba405eada72e1ab437194

Re: [Mesa-dev] Mesa (master): Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNS

2012-09-24 Thread Patrick Baggett
Concurrency::precise_math::signbit(), and only as of VS 2012 runtimes. This is an awfully high bar for such a simple function. On Mon, Sep 24, 2012 at 1:43 PM, Matt Turner wrote: > On Mon, Sep 24, 2012 at 11:02 AM, Brian Paul wrote: > > On 09/24/2012 10:49 AM, Matt Turner wrote: > >> > >> Mod

Re: [Mesa-dev] Mesa (master): Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNS

2012-09-24 Thread Matt Turner
On Mon, Sep 24, 2012 at 11:02 AM, Brian Paul wrote: > On 09/24/2012 10:49 AM, Matt Turner wrote: >> >> Module: Mesa >> Branch: master >> Commit: 0f3ba405eada72e1ab4371948315b28608903927 >> URL: >> http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f3ba405eada72e1ab4371948315b28608903927 >> >> Autho

Re: [Mesa-dev] Mesa (master): Use signbit() in IS_NEGATIVE and DIFFERENT_SIGNS

2012-09-24 Thread Brian Paul
On 09/24/2012 10:49 AM, Matt Turner wrote: Module: Mesa Branch: master Commit: 0f3ba405eada72e1ab4371948315b28608903927 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f3ba405eada72e1ab4371948315b28608903927 Author: Matt Turner Date: Fri Sep 14 16:04:40 2012 -0700 Use signbit() in

Re: [Mesa-dev] [PATCH 2/2] build: Link libglapi with pthreads

2012-09-24 Thread Adam Jackson
On Mon, 2012-09-24 at 09:48 -0700, Matt Turner wrote: > Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=839060 > https://bugs.gentoo.org/show_bug.cgi?id=435152 For the series: Reviewed-by: Adam Jackson - ajax signature.asc Description: This is a digitally signed message part _

[Mesa-dev] [PATCH] targets/xorg-i915: Rename driver to i915_drv.so.

2012-09-24 Thread Matt Turner
modesetting_drv.so is undescriptive and collides with xf86-video-modesetting. --- src/gallium/targets/xorg-i915/Makefile |2 +- src/gallium/targets/xorg-i915/intel_xorg.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/targets/xorg-i915/Makefile b/src

[Mesa-dev] [PATCH 2/2] build: Link libglapi with pthreads

2012-09-24 Thread Matt Turner
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=839060 https://bugs.gentoo.org/show_bug.cgi?id=435152 --- src/mapi/shared-glapi/Makefile.am |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mapi/shared-glapi/Makefile.am b/src/mapi/shared-glapi/Makefile.

[Mesa-dev] [PATCH 1/2] build: Use AX_PTHREAD to detect pthreads

2012-09-24 Thread Matt Turner
--- I think we should offload configure.ac library/header/program detection to macros available from the autoconf archive wherever possible. Makefile.am |2 + configure.ac |4 + m4/.gitignore|5 + m4/ax_pthread.m4 | 309 +++

Re: [Mesa-dev] [PATCH 1/5] clover: Handle multiple kernels in the same program v2

2012-09-24 Thread Francisco Jerez
Tom Stellard writes: > From: Blaž Tomažič > > v2: Tom Stellard > - Use pc parameter of launch_grid() Reviewed-by: Francisco Jerez > --- > src/gallium/include/pipe/p_context.h | 4 ++ > .../state_trackers/clover/llvm/invocation.cpp | 66 > +++--- > 2 fil

Re: [Mesa-dev] [PATCH 5/5] clover: Query device for CL_DEVICE_MAX_MEM_ALLOC_SIZE

2012-09-24 Thread Francisco Jerez
Tom Stellard writes: > From: Tom Stellard > > --- > src/gallium/state_trackers/clover/api/device.cpp | 5 - > src/gallium/state_trackers/clover/core/device.cpp | 6 ++ > src/gallium/state_trackers/clover/core/device.hpp | 1 + > 3 files changed, 11 insertions(+), 1 deletion(-) > > diff

Re: [Mesa-dev] [PATCH 4/5] gallium: Add PIPE_COMPUTE_CAP_MAX_MEM_ALLOC_SIZE

2012-09-24 Thread Francisco Jerez
Tom Stellard writes: > From: Tom Stellard > Don't forget to add a short comment on the new cap in screen.rst. > --- > src/gallium/drivers/r600/r600_pipe.c | 10 ++ > src/gallium/include/pipe/p_defines.h | 3 ++- > 2 files changed, 12 insertions(+), 1 deletion(-) > > diff --git a/src/g

Re: [Mesa-dev] [PATCH 3/5] clover: Handle NULL value for clEnqueueNDRangeKernel local_work_size

2012-09-24 Thread Francisco Jerez
Tom Stellard writes: > From: Tom Stellard > Thanks, I've pushed a slightly simplified version of this patch -- There's no need for opt_vector() to be a function template. > --- > src/gallium/state_trackers/clover/api/kernel.cpp | 13 - > 1 file changed, 8 insertions(+), 5 deletions

Re: [Mesa-dev] [PATCH 2/6] r600g: Add r600_rat_buffer_create()

2012-09-24 Thread Marek Olšák
On Mon, Sep 24, 2012 at 4:06 PM, Tom Stellard wrote: > Hi Marek, > > On Sat, Sep 22, 2012 at 05:31:51AM +0200, Marek Olšák wrote: >> Hi Tom, >> >> First I'd like to say that even though I don't agree with the >> direction you're taking, I'd be okay with it for initial bring-up of >> the compute su

Re: [Mesa-dev] [PATCH] svga: Remove wierd code which forces non-sRGB formats.

2012-09-24 Thread Brian Paul
On 09/23/2012 05:44 AM, John Kåre Alsaker wrote: --- src/gallium/drivers/svga/svga_resource_texture.c | 8 1 file changed, 8 deletions(-) diff --git a/src/gallium/drivers/svga/svga_resource_texture.c b/src/gallium/drivers/svga/svga_resource_texture.c index 9830e79..97ec7ee 100644 --

Re: [Mesa-dev] [PATCH 1/5] radeonsi: start reworking inferred state handling

2012-09-24 Thread Christian König
On 24.09.2012 17:07, Michel Dänzer wrote: On Mon, 2012-09-24 at 17:00 +0200, Christian König wrote: Instead of tracking the inferred state changes separately just check if queued and emitted states are the same. This patch just reworks the update of the SPI map between vs and ps, but there are

Re: [Mesa-dev] [PATCH 1/5] radeonsi: start reworking inferred state handling

2012-09-24 Thread Michel Dänzer
On Mon, 2012-09-24 at 17:00 +0200, Christian König wrote: > Instead of tracking the inferred state changes separately > just check if queued and emitted states are the same. > > This patch just reworks the update of the SPI map between > vs and ps, but there are probably more cases like this. >

[Mesa-dev] [PATCH 5/5] radeonsi: move draw cmds to si_commands.c

2012-09-24 Thread Christian König
From: Christian Koenig Signed-off-by: Christian Koenig --- src/gallium/drivers/radeonsi/si_commands.c | 22 ++ src/gallium/drivers/radeonsi/si_state.h |5 + src/gallium/drivers/radeonsi/si_state_draw.c | 22 -- 3 files changed, 35 inser

[Mesa-dev] [PATCH 1/5] radeonsi: start reworking inferred state handling

2012-09-24 Thread Christian König
Instead of tracking the inferred state changes separately just check if queued and emitted states are the same. This patch just reworks the update of the SPI map between vs and ps, but there are probably more cases like this. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeo

[Mesa-dev] [PATCH 4/5] radeonsi: start seperating commands into si_commands.c

2012-09-24 Thread Christian König
From: Christian Koenig Signed-off-by: Christian Koenig --- src/gallium/drivers/radeonsi/si_commands.c |8 src/gallium/drivers/radeonsi/si_state.c|5 + src/gallium/drivers/radeonsi/si_state.h|1 + 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/sr

[Mesa-dev] [PATCH 2/5] radeonsi: remove unused code

2012-09-24 Thread Christian König
From: Christian Koenig Signed-off-by: Christian Koenig --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 19 --- 1 file changed, 19 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c index 466d565..579

[Mesa-dev] [PATCH 3/5] radeonsi: get rid of evergreen_hw_context.c

2012-09-24 Thread Christian König
From: Christian Koenig Signed-off-by: Christian Koenig --- src/gallium/drivers/radeonsi/Makefile.sources |1 - .../drivers/radeonsi/evergreen_hw_context.c| 45 src/gallium/drivers/radeonsi/radeonsi_pipe.c |7 ++- 3 files changed, 3 insertions(+)

Re: [Mesa-dev] [PATCH 6/6] mesa: remove FEATURE_ES1 tests in enable.c code

2012-09-24 Thread Brian Paul
On 09/23/2012 12:51 PM, Matt Turner wrote: On Sat, Sep 22, 2012 at 5:45 PM, Brian Paul wrote: From: Brian Paul --- src/mesa/main/enable.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 3643cfb..fe2870b 1006

Re: [Mesa-dev] [PATCH 4/4] r600g: use a select to handle front/back color in llvm

2012-09-24 Thread Tom Stellard
On Mon, Sep 24, 2012 at 12:43:17AM +0200, Vincent Lejeune wrote: > --- > src/gallium/drivers/r600/r600_llvm.c | 36 > ++ > src/gallium/drivers/r600/r600_shader.c | 13 +++- > 2 files changed, 44 insertions(+), 5 deletions(-) > Same as patch 3, just make

[Mesa-dev] [PATCH] i965/blorp: Fix sRGB MSAA resolves.

2012-09-24 Thread Paul Berry
Commit e2249e8c4d06a85d6389ba1689e15d7e29aa4dff (i965/blorp: Add support for blits between SRGB and linear formats) changed blorp to always configure surface states for in linear format (even if the underlying surface is sRGB). This allowed sRGB-to-linear and linear-to-sRGB blits to occur without

Re: [Mesa-dev] [PATCH 3/4] r600g: frontcolor tracks its associated backcolor

2012-09-24 Thread Tom Stellard
On Mon, Sep 24, 2012 at 12:43:16AM +0200, Vincent Lejeune wrote: > --- I'm not too familiar with this code, but this patch looks good to me. Just make sure there are no regressions with the TGSI compiler. Reviewed-by: Tom Stellard > src/gallium/drivers/r600/r600_shader.c | 59 > ++

Re: [Mesa-dev] [PATCH 1/1] gallium/gallivm: code generation options for LLVM 3.1+

2012-09-24 Thread Jose Fonseca
Alexander, Thanks for nailing this. There are still several outstanding bug reports for WINE and LLVM and I never managed to make much progress. This only covers the MCJIT case, but for LLVM 3.2 we no longer use MCJIT, and just call LLVMCreateJITCompiler (instead of lp_build_create_mcjit_compi

Re: [Mesa-dev] [PATCH 2/4] r600g: add some members to radeon_llvm_context

2012-09-24 Thread Tom Stellard
On Mon, Sep 24, 2012 at 12:43:15AM +0200, Vincent Lejeune wrote: > --- > src/gallium/drivers/r600/r600_shader.c | 5 + > src/gallium/drivers/radeon/radeon_llvm.h | 8 > 2 files changed, 13 insertions(+) > > diff --git a/src/gallium/drivers/r600/r600_shader.c > b/src/gallium/driver

Re: [Mesa-dev] [PATCH 1/4] r600g: tgsi-to-llvm path is taken after declarations have been parsed

2012-09-24 Thread Tom Stellard
On Mon, Sep 24, 2012 at 12:43:14AM +0200, Vincent Lejeune wrote: > --- > src/gallium/drivers/r600/r600_shader.c | 58 > +++--- > 1 file changed, 32 insertions(+), 26 deletions(-) > Reviewed-by: Tom Stellard > diff --git a/src/gallium/drivers/r600/r600_shader.c > b

Re: [Mesa-dev] [PATCH 2/6] r600g: Add r600_rat_buffer_create()

2012-09-24 Thread Tom Stellard
Hi Marek, On Sat, Sep 22, 2012 at 05:31:51AM +0200, Marek Olšák wrote: > Hi Tom, > > First I'd like to say that even though I don't agree with the > direction you're taking, I'd be okay with it for initial bring-up of > the compute support. > > I am not in favor of using radeon_surface for plain

Re: [Mesa-dev] glext.h missing define

2012-09-24 Thread Brian Paul
On 09/23/2012 07:52 PM, Dave Airlie wrote: Hi, Playing around with ARB_texture_gather infrastructure bits this morning, noticed we don't seem to have the define MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB0x8F9F from the spec, in glext.h where'd I'd expect it. can someone with ARB powe

Re: [Mesa-dev] [PATCH] st/mesa: check for zero-size image in st_TestProxyTexImage()

2012-09-24 Thread Jose Fonseca
Looks good. Thanks Brian. Jose - Original Message - > Fixes divide by zero issue in llvmpipe driver. > --- > src/mesa/state_tracker/st_cb_texture.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/state_tracker/st_cb_texture.c > b/src/mesa/state