[Mesa-dev] [Bug 57719] Testing Bugzilla security group

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57719 Benjamin Close changed: What|Removed |Added CC||bja...@mozilla.com -- You are receivin

[Mesa-dev] [Bug 57719] New: Testing Bugzilla security group

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57719 Priority: medium Group: Mesa Security Bug ID: 57719 Assignee: mesa-dev@lists.freedesktop.org Summary: Testing Bugzilla security group Severity: normal Classification: Unclassifi

Re: [Mesa-dev] [PATCH] i965: Add missing _NEW_BUFFERS dirty bit in Gen7 SBE state.

2012-11-29 Thread Eric Anholt
Kenneth Graunke writes: > This is needed to compute render_to_fbo. It even has the comment. > > NOTE: This is a candidate for stable branches. Reviewed-by: Eric Anholt pgpxzolhuP3BS.pgp Description: PGP signature ___ mesa-dev mailing list mesa-dev@

[Mesa-dev] [Bug 57713] build test failure in llvmpipe: No rule to make target `depend', needed by `default'. Stop.

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57713 Darxus changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 57713] build test failure in llvmpipe: No rule to make target `depend', needed by `default'. Stop.

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57713 Darxus changed: What|Removed |Added CC||dar...@chaosreigns.com -- You are receiving th

[Mesa-dev] [Bug 57713] New: build test failure in llvmpipe: No rule to make target `depend', needed by `default'. Stop.

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57713 Priority: medium Bug ID: 57713 CC: jfons...@vmware.com Assignee: mesa-dev@lists.freedesktop.org Summary: build test failure in llvmpipe: No rule to make target `depend'

[Mesa-dev] [PATCH libclc] Make libclc more Linux FHS conform.

2012-11-29 Thread Johannes Obermayr
- First introducing a versioning scheme - Add --libexecdir, --includedir and --pkgconfigdir and prefill them as well as --prefix - Build all targets by default - Create clc.pc and install it in $pkgconfigdir - Use clang++ instead of c++ - Rename builtins.bc to built_libs/$triple.bc and install the

[Mesa-dev] [PATCH mesa] clover: Adapt libclc's INCLUDEDIR and LIBEXECDIR to make use of the new introduced libclc.pc.

2012-11-29 Thread Johannes Obermayr
--- configs/current.in|3 ++- configure.ac | 15 --- src/gallium/state_trackers/clover/Makefile.am |3 ++- src/gallium/state_trackers/clover/llvm/invocation.cpp |4 ++-- 4 Dateien geänder

Re: [Mesa-dev] [PATCH 2/4] glapi: Add enums for ARB_ES3_compatibility

2012-11-29 Thread Eric Anholt
Matt Turner writes: > On Thu, Nov 29, 2012 at 2:36 PM, Eric Anholt wrote: >> Matt Turner writes: >>> +>> value="0x9278"/> >>> +>> value="0x9279"/> >> >> Looks like in the ES3_compatibility.txt these are >> COMPRESSED_RGBA8_ETC2_EAC and COMPRESSED_SRGB8_ALPHA8_ETC2_EAC. Pasteo? > > Yeah

Re: [Mesa-dev] [PATCH 2/4] glapi: Add enums for ARB_ES3_compatibility

2012-11-29 Thread Matt Turner
On Thu, Nov 29, 2012 at 2:36 PM, Eric Anholt wrote: > Matt Turner writes: >> +> value="0x9278"/> >> +> value="0x9279"/> > > Looks like in the ES3_compatibility.txt these are > COMPRESSED_RGBA8_ETC2_EAC and COMPRESSED_SRGB8_ALPHA8_ETC2_EAC. Pasteo? Yeah, weird. Consider it (and patch 5/4

Re: [Mesa-dev] [PATCH 2/4] glapi: Add enums for ARB_ES3_compatibility

2012-11-29 Thread Eric Anholt
Matt Turner writes: > + value="0x9278"/> > + value="0x9279"/> Looks like in the ES3_compatibility.txt these are COMPRESSED_RGBA8_ETC2_EAC and COMPRESSED_SRGB8_ALPHA8_ETC2_EAC. Pasteo? > + I don't see this one in my copy of the spec, but I only have a stale copy of the specs while I

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

2012-11-29 Thread Anuj Phogat
If blitting using GL_STENCIL_BUFFER_BIT between buffers of formats GL_DEPTH24_STENCIL8 and GL_DEPTH32F_STENCIL8, GL_INVALID_OPERATION is expected by GLES3 conformance test. But no GL error is expected if blitting between buffers of formats GL_DEPTH24_STENCIL8 and GL_STENCIL_INDEX. Makes framebu

[Mesa-dev] [PATCH] glcpp: Rewrite line-continuation support to act globally.

2012-11-29 Thread Carl Worth
Previously, we were only supporting line-continuation backslash characters within lines of pre-processor directives, (as per the specification). With OpenGL 4.3, line continuations are now supported anywhere within a shader. While changing this, also fix a bug where the preprocessor was ignoring l

[Mesa-dev] [PATCH 2/3] meta: Don't use GL_TEXTURE_RECTANGLE as texture target in GLES

2012-11-29 Thread Anuj Phogat
Makes framebuffer_blit_coverage_mismatched_buffer_formats.test in gles3 conformance pass. Signed-off-by: Anuj Phogat --- src/mesa/drivers/common/meta.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta

[Mesa-dev] [PATCH 1/3] mesa: Allow GL_BACK in glDrawBuffers() for gles3

2012-11-29 Thread Anuj Phogat
Makes framebuffer_blit_coverage_default_draw_buffer_binding.test in gles3 conformance pass. Signed-off-by: Anuj Phogat --- src/mesa/main/buffers.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c index 12c3f25..

[Mesa-dev] [PATCH 2/2] r600g: use default action for min/max opcode in tgsi to llvm

2012-11-29 Thread Vincent Lejeune
--- src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 4 1 file changed, 4 deletions(-) diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c index 2521582..9cb0e9a 100644 --- a/src/gallium/drivers/radeon/radeon_setup_tgsi

[Mesa-dev] [PATCH 1/2] gallivm: Have a default emit function for min/max opcode

2012-11-29 Thread Vincent Lejeune
--- src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c | 31 ++ 1 file changed, 31 insertions(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c index ff21879..070945c 100644 --- a/src/gallium/auxiliary/gall

[Mesa-dev] [PATCH 2/2] r600g: use default action for fdiv/rcp opcode

2012-11-29 Thread Vincent Lejeune
--- src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c index 00c068d..2521582 100644 --- a/src/gallium/drivers/radeo

[Mesa-dev] [PATCH 1/2] gallivm: have a default emit function for fdiv/rcp

2012-11-29 Thread Vincent Lejeune
--- src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c | 24 ++ 1 file changed, 24 insertions(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c index 17f288f..ff21879 100644 --- a/src/gallium/auxiliary/gall

[Mesa-dev] [PATCH] r600g: Use default mul/mad function for tgsi-to-llvm

2012-11-29 Thread Vincent Lejeune
--- src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c index 5e3d6c2..00c068d 100644 --- a/src/gallium/driver

[Mesa-dev] [Bug 57241] Gallium drivers should support forward-compatible contexts

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57241 Marek Olšák changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 57702] Eliminate RTLD_GLOBAL glapi hacks after removing support for static libglapi

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57702 Matt Turner changed: What|Removed |Added CC||i...@freedesktop.org, |

[Mesa-dev] [Bug 57699] lp_test_format regression

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57699 --- Comment #1 from Roland Scheidegger --- Hmm yes looks like the old util_format_is_array() function did not consider anything non-rgb to be an array, whereas colorspace doesn't matter for the is_array bit. I don't know if the is_array bit shoul

Re: [Mesa-dev] [PATCH] AMDGPU: Remove unused macros v2

2012-11-29 Thread Vincent Lejeune
Reviewed-By: Vincent Lejeune - Mail original - > De : Tom Stellard > À : v...@ovi.com > Cc : mesa-dev@lists.freedesktop.org; Tom Stellard > Envoyé le : Jeudi 29 novembre 2012 22h27 > Objet : [PATCH] AMDGPU: Remove unused macros v2 > > From: Tom Stellard > > v2: >   - Fix alignment o

[Mesa-dev] [Bug 57702] New: Eliminate RTLD_GLOBAL glapi hacks after removing support for static libglapi

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57702 Priority: medium Bug ID: 57702 Assignee: mesa-dev@lists.freedesktop.org Summary: Eliminate RTLD_GLOBAL glapi hacks after removing support for static libglapi Severity: normal

[Mesa-dev] [PATCH] AMDGPU: Remove unused macros v2

2012-11-29 Thread Tom Stellard
From: Tom Stellard v2: - Fix alignment of case statements --- lib/Target/AMDGPU/AMDGPUInstrInfo.cpp | 4 +- lib/Target/AMDGPU/AMDILCFGStructurizer.cpp | 37 +++ lib/Target/AMDGPU/AMDILISelDAGToDAG.cpp| 1 - lib/Target/AMDGPU/AMDILISelLowering.cpp| 1 - lib/Target/AM

Re: [Mesa-dev] [PATCH 3/3] r600g: use fcmp and select instructions for TGSI_OPCODE_MAX/MIN

2012-11-29 Thread Tom Stellard
On Thu, Nov 29, 2012 at 09:33:22PM +0100, Vincent Lejeune wrote: > --- > src/gallium/drivers/r600/r600_llvm.c | 24 > 1 file changed, 24 insertions(+) > > diff --git a/src/gallium/drivers/r600/r600_llvm.c > b/src/gallium/drivers/r600/r600_llvm.c > index 2056b91..804a1a9

Re: [Mesa-dev] [PATCH 2/3] r600g: use fdiv instruction for TGSI_OPCODE_DIV/RCP

2012-11-29 Thread Tom Stellard
On Thu, Nov 29, 2012 at 09:32:08PM +0100, Vincent Lejeune wrote: > --- > src/gallium/drivers/r600/r600_llvm.c | 22 > ++ > .../drivers/radeon/radeon_setup_tgsi_llvm.c| 4 ++-- > 2 files changed, 24 insertions(+), 2 deletions(-) > > diff --git a/src/gall

Re: [Mesa-dev] [PATCH 1/3] r600g: emit fmul/fadd(fmul) instead of AMDGPU.mul/mad intrinsics

2012-11-29 Thread Tom Stellard
On Thu, Nov 29, 2012 at 09:32:07PM +0100, Vincent Lejeune wrote: > --- > src/gallium/drivers/r600/r600_llvm.c | 23 > ++ > .../drivers/radeon/radeon_setup_tgsi_llvm.c| 10 ++ > 2 files changed, 29 insertions(+), 4 deletions(-) > > diff --git a/sr

[Mesa-dev] [PATCH 2/2] radeon/llvm: replace int_AMDGPU_rcp by fdiv (1.0, x) in RECIP pattern

2012-11-29 Thread Vincent Lejeune
--- lib/Target/AMDGPU/R600Instructions.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/AMDGPU/R600Instructions.td b/lib/Target/AMDGPU/R600Instructions.td index 9259680..d75c32e 100644 --- a/lib/Target/AMDGPU/R600Instructions.td +++ b/lib/Target/AMDGPU/R600Ins

[Mesa-dev] [PATCH 1/2] radeon/llvm: switch instructions matching fmul and int_AMDGPU_mul

2012-11-29 Thread Vincent Lejeune
--- lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 6 +++--- lib/Target/AMDGPU/AMDILISelLowering.cpp | 3 ++- lib/Target/AMDGPU/R600Instructions.td| 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lib/Target/AMDGPU/AMDGPUISelLowering.cpp b/lib/Target/AMDGPU/AMDGPUISelLow

Re: [Mesa-dev] [PATCH 4/5] AMDGPU: Remove or document commented out code

2012-11-29 Thread Vincent Lejeune
Reviewed-By: Vincent Lejeune - Mail original - > De : Tom Stellard > À : mesa-dev@lists.freedesktop.org > Cc : Tom Stellard > Envoyé le : Mercredi 28 novembre 2012 23h50 > Objet : [Mesa-dev] [PATCH 4/5] AMDGPU: Remove or document commented out code > > From: Tom Stellard > > --- > l

Re: [Mesa-dev] [PATCH 3/5] AMDGPU: Fix 4-space indentation

2012-11-29 Thread Vincent Lejeune
Reviewed-by: Vincent Lejeune - Mail original - > De : Tom Stellard > À : mesa-dev@lists.freedesktop.org > Cc : Tom Stellard > Envoyé le : Mercredi 28 novembre 2012 23h50 > Objet : [Mesa-dev] [PATCH 3/5] AMDGPU: Fix 4-space indentation > > From: Tom Stellard > > --- > lib/Target/AMD

Re: [Mesa-dev] [PATCH 2/5] AMDGPU: Remove unused macros

2012-11-29 Thread Vincent Lejeune
- Mail original - > De : Tom Stellard > À : mesa-dev@lists.freedesktop.org > Cc : Tom Stellard > Envoyé le : Mercredi 28 novembre 2012 23h50 > Objet : [Mesa-dev] [PATCH 2/5] AMDGPU: Remove unused macros > > From: Tom Stellard > > --- > lib/Target/AMDGPU/AMDGPUInstrInfo.cpp      | 

[Mesa-dev] [PATCH 5/4] mesa/tests: Add ARB_ES3_compatibility enums

2012-11-29 Thread Matt Turner
--- src/mesa/main/tests/enum_strings.cpp | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/tests/enum_strings.cpp b/src/mesa/main/tests/enum_strings.cpp index d473c30..017fc1d 100644 --- a/src/mesa/main/tests/enum_strings.cpp +++ b/src/mesa/main/

[Mesa-dev] [PATCH 3/3] r600g: use fcmp and select instructions for TGSI_OPCODE_MAX/MIN

2012-11-29 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_llvm.c | 24 1 file changed, 24 insertions(+) diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c index 2056b91..804a1a9 100644 --- a/src/gallium/drivers/r600/r600_llvm.c +++ b/src/gallium/drivers/r60

[Mesa-dev] [PATCH 2/3] r600g: use fdiv instruction for TGSI_OPCODE_DIV/RCP

2012-11-29 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_llvm.c | 22 ++ .../drivers/radeon/radeon_setup_tgsi_llvm.c| 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c index 35052

[Mesa-dev] [PATCH 1/3] r600g: emit fmul/fadd(fmul) instead of AMDGPU.mul/mad intrinsics

2012-11-29 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_llvm.c | 23 ++ .../drivers/radeon/radeon_setup_tgsi_llvm.c| 10 ++ 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/r600/r600_llvm.c index

[Mesa-dev] [Bug 57699] New: lp_test_format regression

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57699 Priority: medium Bug ID: 57699 Keywords: regression CC: jfons...@vmware.com Assignee: mesa-dev@lists.freedesktop.org Summary: lp_test_format regression Severity: normal

[Mesa-dev] [PATCH] egl: Only enable GLX backend if X11 EGL platform is enabled

2012-11-29 Thread Kristian Høgsberg
We don't want to compile in a bunch of X11 dependencies in libEGL if we can't run EGL on X11. --- configure.ac |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index f484dc4..6ccd935 100644 --- a/configure.ac +++ b/configure.ac @@ -1273,10

Re: [Mesa-dev] [PATCH] radeonsi: Bitcast result of packf16 intrinsic to float for export intrinsic.

2012-11-29 Thread Tom Stellard
On Tue, Nov 27, 2012 at 07:55:05PM +0100, Michel Dänzer wrote: > From: Michel Dänzer > > Fixes 4 piglit tests and prevents many more from crashing. > > Signed-off-by: Michel Dänzer > --- > src/gallium/drivers/radeonsi/radeonsi_shader.c |6 +- > 1 file changed, 5 insertions(+), 1 deleti

Re: [Mesa-dev] [PATCH 1/7] glcpp: Add support for __LINE__ and __FILE__ macros

2012-11-29 Thread Matt Turner
On Thu, Nov 29, 2012 at 10:38 AM, Carl Worth wrote: > Matt Turner writes: >> #line __LINE__ >> __LINE__ >> #line __LINE__ >> __LINE__ >> >> when run through glcpp emits this: >> >> #line 1 >> 1 >> #line 2 >> 2 > > That looks absolutely correct to me, (if very strange to ever do "#line > __LINE__"

Re: [Mesa-dev] [PATCH 1/7] glcpp: Add support for __LINE__ and __FILE__ macros

2012-11-29 Thread Carl Worth
Matt Turner writes: > #line __LINE__ > __LINE__ > #line __LINE__ > __LINE__ > > when run through glcpp emits this: > > #line 1 > 1 > #line 2 > 2 That looks absolutely correct to me, (if very strange to ever do "#line __LINE__"). For example, this matches the behavior of "gcc -E -" on the same exa

Re: [Mesa-dev] [PATCH 2/3] glcpp: Support #elif(expression) with no intervening space.

2012-11-29 Thread Matt Turner
On Wed, Nov 28, 2012 at 9:37 PM, Carl Worth wrote: > Carl Worth writes: >> (For the subsequent __LINE__ and __FILE__ I think we can do better, and >> I'll attempt that next.) > > I've coded this up, and I think the support is quite reasonable. > > After I coded it, I simplified some repeated code

Re: [Mesa-dev] [PATCH 6/7] glcpp: Add test involving token pasting of INTEGER tokens.

2012-11-29 Thread Matt Turner
On Wed, Nov 28, 2012 at 9:38 PM, Carl Worth wrote: > This test file is very similar to test 113-line-and-file-macros but > uses token pasting for cleaner quiz answers (without spaces between > the digits). This test happens to fail currently because the token > paster does not support the pasting

Re: [Mesa-dev] [PATCH 1/7] glcpp: Add support for __LINE__ and __FILE__ macros

2012-11-29 Thread Matt Turner
On Wed, Nov 28, 2012 at 9:38 PM, Carl Worth wrote: > These tokens are easy to expand by just looking at the current, tracked > location values, (and no need to look anything up in the hash table). > > Add a test which verifies __LINE__ with several values, (and verifies __FILE__ > for the single v

Re: [Mesa-dev] [PATCH] glcpp: Reject token pasting operator in GLES

2012-11-29 Thread Matt Turner
On Wed, Nov 28, 2012 at 2:12 PM, Ian Romanick wrote: > On 11/28/2012 11:21 AM, Matt Turner wrote: >> >> The GLSL ES 3.0 spec (Section 12.17) says: >> "GLSL ES 1.00 removed token pasting and other functionality." > > > Do we have piglit tests? 'make check' tests? No, I'll do so. > I assume this

[Mesa-dev] [PATCH] mesa: Allow HALF_FLOAT in glVertexAttribPointer

2012-11-29 Thread Matt Turner
Fixes es3conform's half_float_max_vertex_dimensions and half_float_textures tests. --- src/mesa/main/varray.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 1ff77bc..1c1c2bf 100644 --- a/src/mesa/main/varr

Re: [Mesa-dev] [PATCH] android: include api_exec.c in generated files list

2012-11-29 Thread Chad Versace
Thanks, committed to master. On 11/28/2012 11:48 PM, Tapani Pälli wrote: > Signed-off-by: Tapani Pälli > --- > src/mesa/Android.gen.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/mesa/Android.gen.mk b/src/mesa/Android.gen.mk > index 5f0d73c..35f00da 100644 > --- a/src/mesa/Andr

Re: [Mesa-dev] [PATCH] radeonsi: Bitcast result of packf16 intrinsic to float for export intrinsic.

2012-11-29 Thread Tom Stellard
On Tue, Nov 27, 2012 at 07:55:05PM +0100, Michel Dänzer wrote: > From: Michel Dänzer > > Fixes 4 piglit tests and prevents many more from crashing. > > Signed-off-by: Michel Dänzer > --- > src/gallium/drivers/radeonsi/radeonsi_shader.c |6 +- > 1 file changed, 5 insertions(+), 1 deleti

[Mesa-dev] [Bug 57674] [llvmpipe] SIGSEGV src/gallium/drivers/llvmpipe/lp_rast.c:501

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57674 José Fonseca changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |jfons...@vmware.com |or

Re: [Mesa-dev] [PATCH] gallivm: Fix lp_build_float_to_half.

2012-11-29 Thread Roland Scheidegger
Am 29.11.2012 16:50, schrieb Jose Fonseca: > > > - Original Message - >> On 11/29/2012 08:32 AM, jfons...@vmware.com wrote: >>> From: José Fonseca >>> >>> The current implementation was close by not fully correct: several >>> operations that should be done in floating point were being don

Re: [Mesa-dev] [PATCH 5/5] R600: Fold immediates into ALU instructions when possible v2

2012-11-29 Thread Vincent Lejeune
It's a nice optimisation, it also makes machine code easier to read.   Reviewed-by: Vincent Lejeune - Mail original - > De : Tom Stellard > À : mesa-dev@lists.freedesktop.org > Cc : Tom Stellard > Envoyé le : Mercredi 28 novembre 2012 23h50 > Objet : [Mesa-dev] [PATCH 5/5] R600: Fold i

Re: [Mesa-dev] [PATCH] radeon/llvm: do not use magic number for resourceId

2012-11-29 Thread Tom Stellard
On Tue, Nov 27, 2012 at 11:06:42PM +0100, Vincent Lejeune wrote: > --- > lib/Target/AMDGPU/AMDGPUIntrinsics.td | 16 > .../AMDGPU/MCTargetDesc/R600MCCodeEmitter.cpp | 43 > +++--- > lib/Target/AMDGPU/R600ISelLowering.cpp | 17 +++-- > lib

Re: [Mesa-dev] [PATCH] mesa: move some helper functions from fboobject.c to glformats.c

2012-11-29 Thread Brian Paul
On 11/28/2012 11:07 AM, Marek Olšák wrote: --- src/mesa/main/fbobject.c | 127 +++-- src/mesa/main/glformats.c | 113 src/mesa/main/glformats.h |6 +++ 3 files changed, 127 insertions(+), 119 deletions(-)

[Mesa-dev] [PATCH] st/egl/drm: only unref the udev device if needed

2012-11-29 Thread Tobias Droste
Fixes compiler warning: drm/native_drm.c: In function ‘native_create_display’: drm/native_drm.c:180:21: warning: ‘device’ may be used uninitialized in this function [-Wmaybe-uninitialized] drm/native_drm.c:157:24: note: ‘device’ was declared here Signed-off-by: Tobias Droste --- src/gallium/st

Re: [Mesa-dev] [PATCH 1/2] radeon/llvm: Valid pixel mode and EOP were inverted in export

2012-11-29 Thread Tom Stellard
On Tue, Nov 27, 2012 at 11:10:58PM +0100, Vincent Lejeune wrote: > --- For the series: Reviewed-by: Tom Stellard > lib/Target/AMDGPU/R600Instructions.td | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/lib/Target/AMDGPU/R600Instructions.td > b/lib/Target/AMDGPU/R6

Re: [Mesa-dev] [PATCH] gallivm: Fix lp_build_float_to_half.

2012-11-29 Thread Jose Fonseca
- Original Message - > On 11/29/2012 08:32 AM, jfons...@vmware.com wrote: > > From: José Fonseca > > > > The current implementation was close by not fully correct: several > > operations that should be done in floating point were being done in > > integer. > > > > Fixes piglit fbo-clear-f

Re: [Mesa-dev] [PATCH] llvmpipe: Fix incorrect sizeof.

2012-11-29 Thread Jose Fonseca
- Original Message - > On 11/28/2012 11:52 PM, Vinson Lee wrote: > > Fixes sizeof not portable defects reported by Coverity. > > > > Signed-off-by: Vinson Lee > > --- > > src/gallium/drivers/llvmpipe/lp_state_fs.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > di

Re: [Mesa-dev] [PATCH 0/8] llvmpipe: Fixes for PowerPC/big-endian machines

2012-11-29 Thread Jose Fonseca
- Original Message - > On 11/29/2012 09:58 AM, Jose Fonseca wrote: > > Commited. Thanks. > > > > > > Is it possible to cross build to PowerPC and run a PowerPC > > executable in some emulator? If it is an easy thing to do, then > > I'd like to automate cross-building and running llvmpipe un

Re: [Mesa-dev] [PATCH] gallivm: Fix lp_build_float_to_half.

2012-11-29 Thread Brian Paul
On 11/29/2012 08:32 AM, jfons...@vmware.com wrote: From: José Fonseca The current implementation was close by not fully correct: several operations that should be done in floating point were being done in integer. Fixes piglit fbo-clear-formats GL_ARB_texture_float --- src/gallium/auxiliary/g

[Mesa-dev] [PATCH] gallivm: Fix lp_build_float_to_half.

2012-11-29 Thread jfonseca
From: José Fonseca The current implementation was close by not fully correct: several operations that should be done in floating point were being done in integer. Fixes piglit fbo-clear-formats GL_ARB_texture_float --- src/gallium/auxiliary/gallivm/lp_bld_conv.c | 103 +++--

Re: [Mesa-dev] [PATCH] llvmpipe: Fix incorrect sizeof.

2012-11-29 Thread Brian Paul
On 11/28/2012 11:52 PM, Vinson Lee wrote: Fixes sizeof not portable defects reported by Coverity. Signed-off-by: Vinson Lee --- src/gallium/drivers/llvmpipe/lp_state_fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/

Re: [Mesa-dev] [PATCH] gallium/postprocess: share pipe_context and cso_context with the state tracker

2012-11-29 Thread Brian Paul
On 11/28/2012 07:35 PM, Marek Olšák wrote: Using one context instead of two is more efficient and we can skip another context flush. --- src/gallium/auxiliary/postprocess/postprocess.h|6 ++- src/gallium/auxiliary/postprocess/pp_init.c| 13 ++- src/gallium/auxiliary/post

Re: [Mesa-dev] [PATCH 1/2] AMDGPU: Fix S_*_SAVEEXEC_B64 defines

2012-11-29 Thread Tom Stellard
On Thu, Nov 29, 2012 at 11:12:35AM +0100, Christian König wrote: > Signed-off-by: Christian König > --- For the series: Reviewed-by: Tom Stellard > lib/Target/AMDGPU/SIInstructions.td | 10 -- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git a/lib/Target/AMDGPU/SIIns

Re: [Mesa-dev] [PATCH 0/8] llvmpipe: Fixes for PowerPC/big-endian machines

2012-11-29 Thread Adhemerval Zanella
On 11/29/2012 09:58 AM, Jose Fonseca wrote: > Commited. Thanks. > > > Is it possible to cross build to PowerPC and run a PowerPC executable in some > emulator? If it is an easy thing to do, then I'd like to automate > cross-building and running llvmpipe unit tests on PowerPC emulator. Otherwise

[Mesa-dev] [Bug 57372] x11-libs/libxcb media-libs/mesa segfault in __glXGetString

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57372 --- Comment #11 from Richard Freeman --- (In reply to comment #10) > (In reply to comment #9) > > Ok, it turns out that I can eliminate this issue in xserver 1.13.0 if I > > revert two commits: > > ed6daa15a7dcf8dba930f67401f4c1c8ca2e6fac (mentio

[Mesa-dev] [Bug 57372] x11-libs/libxcb media-libs/mesa segfault in __glXGetString

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57372 --- Comment #10 from Jon TURNEY --- (In reply to comment #9) > Ok, it turns out that I can eliminate this issue in xserver 1.13.0 if I > revert two commits: > ed6daa15a7dcf8dba930f67401f4c1c8ca2e6fac (mentioned above) > bcbf95b1bafa6ffe724768b930

Re: [Mesa-dev] [PATCH 0/8] llvmpipe: Fixes for PowerPC/big-endian machines

2012-11-29 Thread Jose Fonseca
- Original Message - > On 11/27/2012 04:28 PM, Jose Fonseca wrote: > > > > - Original Message - > >> Hi all, > >> > >> This set of patches fixes all the llvmpipe lp_test_* for PowerPC. > >> The > >> first five > >> add Altivec intrinsics that fixes all arith testcases, while the >

[Mesa-dev] [Bug 57121] corrupted GLSL built-in function results when using Uniform Buffer contents as arguments

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57121 --- Comment #11 from Tomasz Kaźmierczak --- I've tried to check this also on a Radeon hardware (HD 5450), but apparently the uniform buffer objects aren't supported by the radeon driver at all. -- You are receiving this mail because: You are th

Re: [Mesa-dev] [PATCH 1/2] AMDGPU: Fix S_*_SAVEEXEC_B64 defines

2012-11-29 Thread Michel Dänzer
On Don, 2012-11-29 at 11:12 +0100, Christian König wrote: > Signed-off-by: Christian König The series is Reviewed-and-tested-by: Michel Dänzer -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer

[Mesa-dev] [Bug 48057] use of uninitialized variables by read_builtins()

2012-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48057 Andreas Boll changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [PATCH] i965: Add missing _NEW_BUFFERS dirty bit in Gen7 SBE state.

2012-11-29 Thread Kenneth Graunke
This is needed to compute render_to_fbo. It even has the comment. NOTE: This is a candidate for stable branches. --- src/mesa/drivers/dri/i965/gen7_sf_state.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/gen7_sf_state.c b/src/mesa/drivers/dri/i

Re: [Mesa-dev] [PATCH 3/4] llvmpipe: Only advertise unswizzled formats.

2012-11-29 Thread Jose Fonseca
- Original Message - > On Thu, Nov 29, 2012 at 6:57 AM, wrote: > > From: José Fonseca > > > > Update llvmpipe_is_format_supported and > > llvmpipe_is_format_unswizzled > > so that only the formats that we can render without swizzling are > > advertised. > > > > We can still render all D3

[Mesa-dev] [PATCH 2/2] AMDGPU: Simplify SI control flow lowering

2012-11-29 Thread Christian König
By using the S_*_SAVEEXEC_b64 instructions. Signed-off-by: Christian König --- lib/Target/AMDGPU/SILowerControlFlow.cpp | 79 ++ 1 file changed, 38 insertions(+), 41 deletions(-) diff --git a/lib/Target/AMDGPU/SILowerControlFlow.cpp b/lib/Target/AMDGPU/SILowerCont

[Mesa-dev] [PATCH 1/2] AMDGPU: Fix S_*_SAVEEXEC_B64 defines

2012-11-29 Thread Christian König
Signed-off-by: Christian König --- lib/Target/AMDGPU/SIInstructions.td | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/Target/AMDGPU/SIInstructions.td b/lib/Target/AMDGPU/SIInstructions.td index 8512b48..194656d 100644 --- a/lib/Target/AMDGPU/SIInstructions.t