[Mesa-dev] [PATCH] i965: Combine {VS, FS}_OPCODE_GET_BUFFER_SIZE opcodes.

2017-12-29 Thread Kenneth Graunke
These are the same, we don't need a separate opcode enum per backend. --- src/intel/compiler/brw_eu_defines.h | 5 ++--- src/intel/compiler/brw_fs.cpp | 2 +- src/intel/compiler/brw_fs_generator.cpp | 2 +- src/intel/compiler/brw_fs_nir.cpp | 2 +- src/intel/compiler/br

[Mesa-dev] [PATCH] mesa/bindless: fix missing image _Layer initialization

2017-12-29 Thread Ilia Mirkin
Some later code relies on _Layer to set first/last_layer. Make sure it's always initialized. Detected by valgrind's conditional jump/move with uninit value logic. Signed-off-by: Ilia Mirkin --- src/mesa/main/texturebindless.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/tex

Re: [Mesa-dev] [PATCH v2 0/3] nouveau compiler warning cleanups

2017-12-29 Thread Rhys Kidd
On 29 December 2017 at 17:07, Pierre Moreau wrote: > Series is > > Reviewed-by: Pierre Moreau > Committed to upstream master. remote: Updating patchwork state for https://patchwork.freedesktop.org/project/mesa/list/ remote: I: patch #191536 updated using rev 540d829d383742b9aa0d4394366d09adde3

[Mesa-dev] [Bug 103999] 4x MSAA with RG32F shows garbage on triangle edges

2017-12-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103999 Bas Nieuwenhuizen changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #4 from Bas Ni

[Mesa-dev] [Bug 104290] Multisampling gives corrupt rendering

2017-12-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104290 Bas Nieuwenhuizen changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Mesa-dev] [Bug 104214] Dota crashes when switching from game to desktop

2017-12-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104214 --- Comment #6 from Sven --- When using mesa 17.3.1 on Arch Linux, Dota still crashed on startup. The error is [ 3047.872388] GLRenderThread[12897]: segfault at 44 ip 7fc93f36fce0 sp 7fc93d1ec910 error 4 in i965_dri.so[7fc93ef5a000+7f80

Re: [Mesa-dev] [PATCH 1/3] nir: Add a lowering pass for gl_FragColor to glFragData[] writes.

2017-12-29 Thread Kenneth Graunke
On Friday, December 29, 2017 2:48:13 PM PST Eric Anholt wrote: > Kenneth Graunke writes: > > > [ Unknown signature status ] > > On Thursday, December 28, 2017 5:56:18 PM PST Eric Anholt wrote: > >> For VC5, the shader needs to have the appropriate base type for the > >> variable in the render tar

Re: [Mesa-dev] [PATCH 1/3] nir: Add a lowering pass for gl_FragColor to glFragData[] writes.

2017-12-29 Thread Eric Anholt
Kenneth Graunke writes: > [ Unknown signature status ] > On Thursday, December 28, 2017 5:56:18 PM PST Eric Anholt wrote: >> For VC5, the shader needs to have the appropriate base type for the >> variable in the render target write, and gallium's >> FS_COLOR0_WRITES_ALL_CBUFS (used for glClearBuf

Re: [Mesa-dev] [PATCH] radv: Also set DCC params for sampling for input attachment usage.

2017-12-29 Thread Fredrik Höglund
On Friday 29 December 2017, Bas Nieuwenhuizen wrote: > Those are implemented as texture sampling, so we need to make the > texture TC-compatible too. > > Fixes: 34d23e82ca9 "radv: set some dcc parameters depending on if texture > will be sampled" Reviewed-by: Fredrik Höglund > --- > src/amd/v

[Mesa-dev] [PATCH] radv: Also set DCC params for sampling for input attachment usage.

2017-12-29 Thread Bas Nieuwenhuizen
Those are implemented as texture sampling, so we need to make the texture TC-compatible too. Fixes: 34d23e82ca9 "radv: set some dcc parameters depending on if texture will be sampled" --- src/amd/vulkan/radv_device.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/amd/v

Re: [Mesa-dev] [PATCH v2 0/3] nouveau compiler warning cleanups

2017-12-29 Thread Pierre Moreau
Series is Reviewed-by: Pierre Moreau On 2017-12-16 — 23:00, Rhys Kidd wrote: > Couple of little compiler warning cleanups so that nouveau builds without any > warnings for meson's debug and release builds with gcc 7.2.0 > > v2: Add preventative comment (Ilia Mirkin) > > Rhys Kidd (3): > nv50

Re: [Mesa-dev] [PATCH 2/2] r600: fix textureSize queries with tbos

2017-12-29 Thread Roland Scheidegger
Am 28.12.2017 um 02:16 schrieb Alex Deucher: > On Wed, Dec 27, 2017 at 7:51 PM, Dave Airlie wrote: >> On 23 December 2017 at 17:19, wrote: >>> From: Roland Scheidegger >>> >>> piglit doesn't care, but I'm quite confident that the size actually bound >>> as range should be reported and not the b

[Mesa-dev] [Bug 93551] Divinity: Original Sin Enhanced Edition(Native) crash on start

2017-12-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93551 Philipp Claßen changed: What|Removed |Added CC||philipp.clas...@gmx.net -- You are rec

[Mesa-dev] [Bug 104251] st_update_single_texture: Assertion `texObj' failed.

2017-12-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104251 Andreas Schultes changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH 1/3] nir: Add a lowering pass for gl_FragColor to glFragData[] writes.

2017-12-29 Thread Kenneth Graunke
On Thursday, December 28, 2017 5:56:18 PM PST Eric Anholt wrote: > For VC5, the shader needs to have the appropriate base type for the > variable in the render target write, and gallium's > FS_COLOR0_WRITES_ALL_CBUFS (used for glClearBufferiv) doesn't give you > that information. This pass lets th