Re: [Mesa-dev] [PATCH 4/5] mesa: Fix glGetUniformfv of native integer uniforms.

2011-08-20 Thread Kenneth Graunke
On 08/20/2011 02:47 PM, Christoph Bumiller wrote: > On 20.08.2011 22:07, Dan McCabe wrote: >> On 08/20/2011 12:16 AM, Kenneth Graunke wrote: >>> On 08/19/2011 05:56 PM, Eric Anholt wrote: We have to actually convert the values on the way out. Fixes piglit ARB_shader_objects/getuniform. >

Re: [Mesa-dev] [PATCH 3/5] mesa: Make the gl_constant_value's bool occupy the same space as float/int.

2011-08-20 Thread Bryan Cain
On 08/20/2011 05:10 PM, Dan McCabe wrote: > On 08/20/2011 01:30 PM, Bryan Cain wrote: >> On 08/20/2011 03:05 PM, Dan McCabe wrote: >>> What are the implications for other architectures that support doubles? >> >> I don't see what you mean. gl_constant_value doesn't support doubles >> yet. > > "Yet

Re: [Mesa-dev] [PATCH 3/5] mesa: Make the gl_constant_value's bool occupy the same space as float/int.

2011-08-20 Thread Dan McCabe
On 08/20/2011 01:30 PM, Bryan Cain wrote: On 08/20/2011 03:05 PM, Dan McCabe wrote: What are the implications for other architectures that support doubles? I don't see what you mean. gl_constant_value doesn't support doubles yet. "Yet" - that is the operative word. You can buy GPUs that su

Re: [Mesa-dev] [PATCH 4/5] mesa: Fix glGetUniformfv of native integer uniforms.

2011-08-20 Thread Christoph Bumiller
On 20.08.2011 22:07, Dan McCabe wrote: > On 08/20/2011 12:16 AM, Kenneth Graunke wrote: >> On 08/19/2011 05:56 PM, Eric Anholt wrote: >>> We have to actually convert the values on the way out. Fixes piglit >>> ARB_shader_objects/getuniform. >>> --- >>> src/mesa/main/uniforms.c | 32 +++

Re: [Mesa-dev] [PATCH 3/5] mesa: Make the gl_constant_value's bool occupy the same space as float/int.

2011-08-20 Thread Bryan Cain
On 08/20/2011 03:05 PM, Dan McCabe wrote: > What are the implications for other architectures that support doubles? I don't see what you mean. gl_constant_value doesn't support doubles yet. Bryan > > On 08/19/2011 05:56 PM, Eric Anholt wrote: >> At least for Intel, all our uniform components ar

Re: [Mesa-dev] [PATCH 4/5] mesa: Fix glGetUniformfv of native integer uniforms.

2011-08-20 Thread Dan McCabe
On 08/20/2011 12:16 AM, Kenneth Graunke wrote: On 08/19/2011 05:56 PM, Eric Anholt wrote: We have to actually convert the values on the way out. Fixes piglit ARB_shader_objects/getuniform. --- src/mesa/main/uniforms.c | 32 1 files changed, 28 insertions(+)

Re: [Mesa-dev] [PATCH 3/5] mesa: Make the gl_constant_value's bool occupy the same space as float/int.

2011-08-20 Thread Dan McCabe
What are the implications for other architectures that support doubles? On 08/19/2011 05:56 PM, Eric Anholt wrote: At least for Intel, all our uniform components are of uint32_t size, either float or signed or unsigned int. For uploading uniform data in the driver, it's much easier to upload a

[Mesa-dev] [PATCH 2/2] auxiliary: share the source lists

2011-08-20 Thread Chia-I Wu
Factor out source lists from Makefile to Makefile.sources, and let Makefile, SConscript, and Android.mk share it. Note that files in $(GENERATED_SOURCES) are removed from $(C_SOURCES). --- src/gallium/auxiliary/Android.mk | 203 +--- src/gallium/auxiliary/Makefi

[Mesa-dev] [PATCH 1/2] scons: add ParseSourceList method

2011-08-20 Thread Chia-I Wu
From: Chia-I Wu ParseSourceList() can be used to parse a source list file and returns the source files defined in it. It is supposed to be used like this # get the list of source files from C_SOURCES in Makefile.sources sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES') The syn

[Mesa-dev] [PATCH 0/2] share source lists between build systems

2011-08-20 Thread Chia-I Wu
This patch series enables Makefile, SConscript, and Android.mk to share their source lists. The idea is to first factor out source lists from Makefile to Makefile.sources. Then by adding the ability to parse Makefile.sources to SConscript, all three build systems can share it. In this series, on

Re: [Mesa-dev] [PATCHv2 00/21] initial Android support, try 2

2011-08-20 Thread Chia-I Wu
On Sat, Aug 20, 2011 at 1:37 AM, Chad Versace wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 08/19/2011 03:46 AM, Chia-I Wu wrote: >> On Fri, Aug 19, 2011 at 10:37 AM, Chia-I Wu wrote: >>> Changes from v1 are >>> >>>  - build libGLES_mesa in top-level Android.mk >>>  - split chan

[Mesa-dev] [Bug 39219] libgl conflict with xbmc causes lock up on xbmc exit

2011-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39219 --- Comment #10 from Padfoot 2011-08-20 00:49:40 PDT --- @ daytooner: Refer to your version of libgl: mesa-libGL-7.11-0.16.20110709.0.fc15.x86_64 Your version was packaged on 9 July. The patched version was released after 19 July. You need to

[Mesa-dev] [PATCH] glsl: Make ir_validate actually visit ir_if nodes.

2011-08-20 Thread Kenneth Graunke
There is no ir_hierarchical_visitor::visit(ir_if *) method, since ir_if is not a leaf node. Instead, there are visit_enter and visit_leave methods. Use visit_enter arbitrarily (either would work fine, though visit_enter will catch errors sooner). Found thanks to a warning emitted by Clang. Sign

Re: [Mesa-dev] native integers bugfixing

2011-08-20 Thread Kenneth Graunke
On 08/19/2011 05:56 PM, Eric Anholt wrote: > I wanted to take advantage of Ken's native integer patches in the VS work, but > once I turned on native integers, an ES2 conformance test failed trying to get > float values for a boolean uniform. Piglit test is on the way to that list. > > (Yeah, 2/5

Re: [Mesa-dev] [PATCH 4/5] mesa: Fix glGetUniformfv of native integer uniforms.

2011-08-20 Thread Kenneth Graunke
On 08/19/2011 05:56 PM, Eric Anholt wrote: > We have to actually convert the values on the way out. Fixes piglit > ARB_shader_objects/getuniform. > --- > src/mesa/main/uniforms.c | 32 > 1 files changed, 28 insertions(+), 4 deletions(-) > > diff --git a/src/mes