[Mesa-dev] [PATCH] radeonsi: fix a crash if a stencil ref state is set before a DSA state

2015-02-15 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com + minor indentation fixes Discovered by Axel Davy. This can't be reproduced with any app, because all state trackers set a DSA state first. Cc: 10.5 10.4 10.3 mesa-sta...@lists.freedesktop.org --- src/gallium/drivers/radeonsi/si_state.c | 12

Re: [Mesa-dev] [PATCH] mesa: don't enable NV_fragment_program_option with swrast

2015-02-15 Thread Matt Turner
On Sat, Feb 14, 2015 at 2:33 PM, Roland Scheidegger srol...@vmware.com wrote: Am 14.02.2015 um 21:12 schrieb Kenneth Graunke: On Saturday, February 14, 2015 04:37:25 PM srol...@vmware.com wrote: From: Roland Scheidegger srol...@vmware.com Since dropping some NV_fragment_program opcodes

Re: [Mesa-dev] [PATCH] radeonsi: fix a crash if a stencil ref state is set before a DSA state

2015-02-15 Thread Axel Davy
It works fine. Since no state tracker need it currently, why do you want to backport it to older mesa versions ? In all cases, Reviewed-by: Axel Davy axel.d...@ens.fr (btw: missing signoff) Axel Davy On 15/02/2015 18:21, Marek Olšák wrote : From: Marek Olšák marek.ol...@amd.com + minor

Re: [Mesa-dev] [LLVMdev] mesa-10.4.4: BROKEN TLS support in GLX with llvm-toolchain v3.6.0rc2

2015-02-15 Thread Dimitry Andric
On 11 Feb 2015, at 11:16, Sedat Dilek sedat.di...@gmail.com wrote: On Wed, Feb 11, 2015 at 12:09 AM, Emil Velikov emil.l.veli...@gmail.com wrote: On 10/02/15 13:17, Dimitry Andric wrote: On 09 Feb 2015, at 18:52, Sedat Dilek sedat.di...@gmail.com wrote: On Mon, Feb 9, 2015 at 6:44 PM,

[Mesa-dev] [PATCH:mesa 2/4] Avoid fighting with Solaris headers over isnormal()

2015-02-15 Thread Alan Coopersmith
When compiling in C99 or C++11 modes, Solaris defines isnormal() as a macro via math.h, which causes the function definition to become too mangled to compile. Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- src/glsl/ir_constant_expression.cpp |2 +- 1 file changed, 1

[Mesa-dev] [PATCH:mesa 4/4] Make _mesa_swizzle_and_convert argument types in .c match those in .h

2015-02-15 Thread Alan Coopersmith
Caused Solaris Studio compilers to fail to build with errors about incompatible function redefinitions. Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- src/mesa/main/format_utils.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[Mesa-dev] [PATCH:mesa 3/4] Use __typeof instead of typeof with Solaris Studio compilers

2015-02-15 Thread Alan Coopersmith
While the C compiler accepts typeof, C++ requires __typeof. Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- src/util/u_atomic.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/u_atomic.h b/src/util/u_atomic.h index 192cc8d..d15398e 100644 ---

[Mesa-dev] [PATCH:mesa 1/4] Remove extraneous ; after DECL_TYPE usage

2015-02-15 Thread Alan Coopersmith
The macro is defined to provide a trailing ; so this caused the expansion to end in ;; which made the Solaris Studio compilers issue warnings for every line of: builtin_type_macros.h, line 113: Warning: extra ; ignored. for every file that included the header, filling build logs with thousands

[Mesa-dev] [PATCH] r600/sb: avoid op3 instructions in trans slots

2015-02-15 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com There was some code here to avoid MULADD on r600/r700, however some recent changes caused some tests to start failing on evergreen as well. (cayman has no T slot). It seems likely there are some issues with writing a register in XYZW slots and reading the

[Mesa-dev] [Bug 89107] [Radeonsi/Hawaii] Rendering errors when running basic opengl 3 demo

2015-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89107 --- Comment #6 from Tapani Pälli lem...@gmail.com --- (In reply to Sebastian Parborg from comment #5) (In reply to Tapani Pälli from comment #4) It looks like lab1-1.c source does not match provided binary lab1-1. If I compile sources again

[Mesa-dev] [Bug 89107] [Radeonsi/Hawaii] Rendering errors when running basic opengl 3 demo

2015-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89107 --- Comment #11 from Sebastian Parborg darkdefe...@gmail.com --- Created attachment 113518 -- https://bugs.freedesktop.org/attachment.cgi?id=113518action=edit The bunny on fglrx and/or the binary nvidia drivers This is how it look like when

[Mesa-dev] [PATCH 1/4] freedreno/a3xx: add hardware ETC1 support

2015-02-15 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- src/gallium/drivers/freedreno/a3xx/a3xx.xml.h | 1 + src/gallium/drivers/freedreno/a3xx/fd3_format.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/gallium/drivers/freedreno/a3xx/a3xx.xml.h

[Mesa-dev] [PATCH 3/4] st/mesa: pass etc2 textures to driver if supported

2015-02-15 Thread Ilia Mirkin
If the driver actually supports ETC2, don't decode it in software. Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- src/mesa/state_tracker/st_cb_texture.c | 4 ++-- src/mesa/state_tracker/st_context.c| 3 +++ src/mesa/state_tracker/st_context.h| 1 +

[Mesa-dev] [Bug 89107] [Radeonsi/Hawaii] Rendering errors when running basic opengl 3 demo

2015-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89107 --- Comment #8 from Sebastian Parborg darkdefe...@gmail.com --- (In reply to Tapani Pälli from comment #6) The way how you pass matrix does not seem legit with C standard. Which compiler and version are you using? Are you using C or C++

[Mesa-dev] [Bug 89107] [Radeonsi/Hawaii] Rendering errors when running basic opengl 3 demo

2015-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89107 --- Comment #9 from Sebastian Parborg darkdefe...@gmail.com --- Disregard the last question. You have to use the supplied makefile! The bunny is black for you because you didn't use the -DGL_GLEXT_PROTOTYPES compile flag. -- You are receiving

[Mesa-dev] [Bug 89107] [Radeonsi/Hawaii] Rendering errors when running basic opengl 3 demo

2015-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89107 --- Comment #10 from Tapani Pälli lem...@gmail.com --- (In reply to Sebastian Parborg from comment #9) Disregard the last question. You have to use the supplied makefile! The bunny is black for you because you didn't use the

[Mesa-dev] [PATCH] i965/simd8vs: Fix SIMD8 atomics

2015-02-15 Thread Ben Widawsky
The short version: we need to set bits in R0.7 which provide a mask to be used for PS kill samples/pixels. Since the VS has no such concept, we just need to set all 1. The longer version... Execution for SIMD8 atomics is defined as follows: SIMD8: The low 8 bits of the execution mask are ANDed

[Mesa-dev] [Bug 89107] [Radeonsi/Hawaii] Rendering errors when running basic opengl 3 demo

2015-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89107 --- Comment #7 from Tapani Pälli lem...@gmail.com --- I got it compiling and working when using '--std=c99' but even then the visual result of the app is different than what the prebuilt binary provides. For me the bunny is completely solid black

[Mesa-dev] [PATCH 4/4] freedreno/a3xx: add ETC2 decoding support

2015-02-15 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- src/gallium/drivers/freedreno/a3xx/a3xx.xml.h | 11 +++ src/gallium/drivers/freedreno/a3xx/fd3_format.c | 10 ++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/freedreno/a3xx/a3xx.xml.h

[Mesa-dev] [PATCH 2/4] gallium: add ETC2 format support

2015-02-15 Thread Ilia Mirkin
No actual decoding is added, similar faking mechanism to bptc. Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- src/gallium/auxiliary/Makefile.sources | 6 +- src/gallium/auxiliary/util/u_format.csv| 11 +++ src/gallium/auxiliary/util/u_format_bptc.h | 109