[Mesa-dev] [Bug 91314] The Witcher 2 (native) fails to start, throws "Assertion `img->_BaseFormat != -1' failed."

2015-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91314 Bug ID: 91314 Summary: The Witcher 2 (native) fails to start, throws "Assertion `img->_BaseFormat != -1' failed." Product: Mesa Version: git Hardware: Other

Re: [Mesa-dev] [PATCH V2] glsl: remove dead code in a single pass

2015-07-12 Thread Timothy Arceri
On Sun, 2015-07-12 at 15:47 +1000, Timothy Arceri wrote: > Currently only one ir assignment is removed for each var in a single > dead code optimisation pass. This means if a var has more than one > assignment, then it requires all the glsl optimisations to be run again > for each additional assign

[Mesa-dev] [PATCH] glsl: remove dead code in a single pass

2015-07-12 Thread Thomas Helland
2015-07-12 1:17 GMT+02:00 Timothy Arceri : > Currently only one ir assignment is removed for each var in a single > dead code optimisation pass. This means if a var has more than one > assignment, then it requires all the glsl optimisations to be run again > for each additional assignment to be rem

Re: [Mesa-dev] [PATCH] radeonsi: ARB_gpu_shader_fp64 + ARB_vertex_attrib_64bit support.

2015-07-12 Thread Tobias Droste
Am Sonntag, 12. Juli 2015, 03:55:22 schrieb Dave Airlie: > From: Dave Airlie > > This adds the translation from TGSI to AMDGPU llvm backend, for the > 64-bit opcodes. The backend pretty much handles everything for us > fine. There is one patch required for SI DFRAC support, that I know > off. >

Re: [Mesa-dev] [PATCH] glsl: remove dead code in a single pass

2015-07-12 Thread Timothy Arceri
On Sun, 2015-07-12 at 13:38 +0200, Thomas Helland wrote: > 2015-07-12 1:17 GMT+02:00 Timothy Arceri : > > snip > > > Hi Timothy, > > Just gave your patch a whirl through my shader-db. > Three runs on master and three runs with your path seems > to cut my shader-db run from aprox 117 secs to 112.

Re: [Mesa-dev] [PATCH] clover: replace --enable-opencl-icd with --with-opencl-icd

2015-07-12 Thread EdB
Hello Would you prefer --enable-opencl-icd that install in $sysconfdir/OpenCL/vendors by default and can be forced to /etc/OpenCL/vendors with something like --enable-opencl-icd=standard-path? EdB On Wednesday 06 May 2015 23:34:26 EdB wrote: > The standard ICD file path is /etc/OpenCL/vendor/.

[Mesa-dev] [Bug 91314] The Witcher 2 (native) fails to start, throws "Assertion `img->_BaseFormat != -1' failed."

2015-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91314 --- Comment #1 from Ilia Mirkin --- For those of us without the game, could you figure out what internalFormat is? in gdb, do p internalFormat p *img->TexObject bt that should provide some useful info. And/or if you could provide a trace, whic

[Mesa-dev] [Bug 91314] The Witcher 2 (native) fails to start, throws "Assertion `img->_BaseFormat != -1' failed."

2015-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91314 Ilia Mirkin changed: What|Removed |Added CC||imir...@alum.mit.edu, |

[Mesa-dev] Disagreement between ChooseTextureFormat and QuerySamplesForFormat

2015-07-12 Thread Ilia Mirkin
I asked this on IRC, but figured I'd get wider distribution for the question. The situation is that nv50 doesn't support RGBA32 MS8 textures. However QuerySamplesForFormat will try its hardest to find supported sample counts, which means it'll go down st/mesa's fallback format list, which includes

[Mesa-dev] [PATCH 1/4] st/dri: expose sRGB visuals (v2)

2015-07-12 Thread Marek Olšák
From: Marek Olšák v2: The fix for the darkness in Ubuntu Unity is in the hunk with the 4-line comment. --- src/gallium/state_trackers/dri/dri2.c | 2 ++ src/gallium/state_trackers/dri/dri_drawable.c | 7 ++- src/gallium/state_trackers/dri/dri_screen.c | 23 +++

[Mesa-dev] [PATCH 4/4] st/dri: enable 3D textures and sRGB colorspace for EGL

2015-07-12 Thread Marek Olšák
From: Anatoli Antonovitch --- src/gallium/state_trackers/dri/dri_query_renderer.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/src/gallium/state_trackers/dri/dri_query_renderer.c b/src/gallium/state_trackers/dri/dri_query_renderer.c index 4a28ac3..ea31b6c 100644 --- a/src

[Mesa-dev] [PATCH 2/4] egl: implement EGL_KHR_gl_colorspace (v2)

2015-07-12 Thread Marek Olšák
From: Marek Olšák v2: add missing "break" --- src/egl/drivers/dri2/egl_dri2.c | 41 ++--- src/egl/drivers/dri2/egl_dri2.h | 6 + src/egl/drivers/dri2/platform_android.c | 4 src/egl/drivers/dri2/platform_drm.c | 9 +--- src/egl/driv

[Mesa-dev] [PATCH 3/4] egl, dri_interface: use DRI2rendererQueryExtension to enable 3D textures & sRGB

2015-07-12 Thread Marek Olšák
From: Marek Olšák --- include/GL/internal/dri_interface.h | 5 + src/egl/drivers/dri2/egl_dri2.c | 23 +++ src/egl/drivers/dri2/egl_dri2.h | 1 + 3 files changed, 29 insertions(+) diff --git a/include/GL/internal/dri_interface.h b/include/GL/internal/dri_inter

[Mesa-dev] [PATCH 0/4] Last EGL 1.5 bits (v2)

2015-07-12 Thread Marek Olšák
Hi, These are the last EGL 1.5 bits. I have fixed the Ubuntu Unity darkness issue in patch 1 and dropped the ugly workaround from libGL. Please help review the patches. Thanks, Marek ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://list

Re: [Mesa-dev] [PATCH] radeonsi: ARB_gpu_shader_fp64 + ARB_vertex_attrib_64bit support.

2015-07-12 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Sun, Jul 12, 2015 at 4:55 AM, Dave Airlie wrote: > From: Dave Airlie > > This adds the translation from TGSI to AMDGPU llvm backend, for the > 64-bit opcodes. The backend pretty much handles everything for us > fine. There is one patch required for SI DFRAC su

Re: [Mesa-dev] Disagreement between ChooseTextureFormat and QuerySamplesForFormat

2015-07-12 Thread Marek Olšák
On Sun, Jul 12, 2015 at 7:30 PM, Ilia Mirkin wrote: > I asked this on IRC, but figured I'd get wider distribution for the > question. The situation is that nv50 doesn't support RGBA32 MS8 > textures. However QuerySamplesForFormat will try its hardest to find > supported sample counts, which means

[Mesa-dev] [Bug 91314] The Witcher 2 (native) fails to start, throws "Assertion `img->_BaseFormat != -1' failed."

2015-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91314 --- Comment #3 from Ilia Mirkin --- Created attachment 117078 --> https://bugs.freedesktop.org/attachment.cgi?id=117078&action=edit make ChooseTextureFormat look at samples Untested beyond compilation. [and not even for radeon] -- You are re

Re: [Mesa-dev] Disagreement between ChooseTextureFormat and QuerySamplesForFormat

2015-07-12 Thread Roland Scheidegger
Am 12.07.2015 um 19:30 schrieb Ilia Mirkin: > I asked this on IRC, but figured I'd get wider distribution for the > question. The situation is that nv50 doesn't support RGBA32 MS8 > textures. However QuerySamplesForFormat will try its hardest to find > supported sample counts, which means it'll go

[Mesa-dev] [Bug 90264] [Regression, bisected] Tooltip corruption in Chrome

2015-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90264 --- Comment #35 from Heiko --- Just some more input Debuggable with smth like `/usr/lib/chromium-browser/chrome --user-data-dir=/tmp/fake --no-sandbox --enable-gpu-debugging --gpu-launcher="xterm -e gdb --args"` and break at gfx::NativeViewGLS

Re: [Mesa-dev] [PATCH] glsl: fix Bug 85252 - Segfault in compiler while processing ternary operator with void arguments

2015-07-12 Thread Renaud Gaubert
Hi Samuel. Thanks, patch v2 is on the way. > I guess the piglit tests you mention in the commit log are going to > check these cases, right? That's right following tests are done: * binary operator * unary operators * ternary operator * comparison operators (except equal and nequal opera

Re: [Mesa-dev] [PATCH 3/4] radeon, r200: allow hyperz for radeon DRM module v2

2015-07-12 Thread Michel Dänzer
On 10.07.2015 12:44, Michel Dänzer wrote: > On 10.07.2015 05:13, Emil Velikov wrote: >> The original code only half considered hyperz as an option. As per >> previous commit "major != 2 cannot occur" we can simply things, and >> allow users to set the option if they choose to do so. >> >> Signed-of

[Mesa-dev] radeonsi indirect sampler, llvm backend issue

2015-07-12 Thread Dave Airlie
Hey, So i tried to get ARB_gpu_shader5 indirect sampler support to work in radeonsi, The attached patch to mesa adds support, but the llvm backend appears to do the wrong thing, and I'm not sure how to fix it. So the image sampling functions needs the resource and sampler address in SGPR, So I

Re: [Mesa-dev] [PATCH v3 (part1) 25/26] glsl: Lower shader storage buffer object writes to GLSL IR instrinsics

2015-07-12 Thread Samuel Iglesias Gonsálvez
On 10/07/15 22:47, Jordan Justen wrote: > On 2015-07-10 03:13:44, Iago Toral Quiroga wrote: >> From: Samuel Iglesias Gonsalvez >> >> Extend the existing lower_ubo_reference pass to also detect SSBO writes >> and lower them to __intrinsic_store_ssbo intrinsics. >> >> Signed-off-by: Samuel Iglesia

[Mesa-dev] [Bug 91314] The Witcher 2 (native) fails to start, throws "Assertion `img->_BaseFormat != -1' failed."

2015-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91314 --- Comment #4 from Iago Toral --- (In reply to Ilia Mirkin from comment #2) > So from the backtrace on IRC we see: > > #5 0xb6ab9a64 in init_teximage_fields_ms (ctx=, > img=0x204c7420, width=, height=0, depth=0, border=0, > internalFormat