Re: [Mesa-dev] 10-bit Mesa/Gallium support

2017-11-23 Thread Tapani Pälli
On 11/23/2017 08:31 PM, Mario Kleiner wrote: On 11/23/2017 06:45 PM, Ilia Mirkin wrote: On Thu, Nov 23, 2017 at 12:35 PM, Marek Olšák wrote: Hi everybody, Mario, feel free to push your patches if you haven't yet. (except the workaround) Hi, just started 10 minutes ago

[Mesa-dev] [PATCH v2] radeonsi: Adding tiled to linear conversion functionality

2017-11-23 Thread Satyajit Sahu
Add tiled to linear conversion and expose outside mesa. This function converts tiled image to linear and vice versa. One of the use-case is, a chromiumos test case where the captured fb is compared against a reference image. As the fb is tiled mode it needs to be converted before comparision.

[Mesa-dev] [PATCH v2] mesa: add AllowGLSLCrossStageInterpolationMismatch workaround

2017-11-23 Thread Tapani Pälli
This fixes issues seen with certain versions of Unreal Engine 4 editor and games built with that using GLSL 4.30. v2: add driinfo_gallium change (Emil Velikov) Signed-off-by: Tapani Pälli Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97852 Bugzilla:

Re: [Mesa-dev] [PATCH] mesa: add AllowGLSLCrossStageInterpolationMismatch workaround

2017-11-23 Thread Tapani Pälli
On 11/23/2017 06:09 PM, Emil Velikov wrote: On 23 November 2017 at 05:54, Tapani Pälli wrote: This fixes issues seen with certain versions of Unreal Engine 4 editor and games built with that using GLSL 4.30. Signed-off-by: Tapani Pälli

Re: [Mesa-dev] [PATCH 3/8] glapi/check_table: Remove 'extern "C"' block

2017-11-23 Thread Dylan Baker
Quoting Emil Velikov (2017-11-23 11:04:34) > On 20 November 2017 at 23:12, Dylan Baker wrote: > > This doesn't actually accomplish what it's meant to do, as extern C > > doesn't undefine __cplusplus, so the included headers define a template > > (because __cplusplus is

Re: [Mesa-dev] Mesa 17.2.6 release candidate

2017-11-23 Thread Matt Turner
I would like to include the three patch series I sent today in 17.2.6. It fixes our SHA1 implementation on big endian, adds a test, and fixes another test. I hope it'll be reviewed and in master before the planned 17.2.6 release. ___ mesa-dev mailing

[Mesa-dev] Mesa 17.2.6 release candidate

2017-11-23 Thread Andres Gomez
Hello list, The candidate for the Mesa 17.2.6 is now available. Currently we have: - 51 queued - 5 nominated (outstanding) - and 13 rejected patches In the current queue we have: In Mesa Core we have included a correction to keep a program alive when re-linking and prevent an

Re: [Mesa-dev] [PATCH] etnaviv: Emit vertex buffers consecutively

2017-11-23 Thread Christian Gmeiner
I pushed this patch - looks we are fine to land the GC7000 patch series. I have planed to this tomorrow. 2017-11-23 22:21 GMT+01:00 Christian Gmeiner : > 2017-11-23 10:08 GMT+01:00 Wladimir J. van der Laan : >> Vertex buffer legacy state is no longer

Re: [Mesa-dev] [PATCH] etnaviv: Emit vertex buffers consecutively

2017-11-23 Thread Christian Gmeiner
2017-11-23 10:08 GMT+01:00 Wladimir J. van der Laan : > Vertex buffer legacy state is no longer picked up with new drawing > commands. Change to use different cases depending on the number of > vertex streams in the GPU specs. > > This results in slightly more compact state

Re: [Mesa-dev] [PATCH 2/2] st/glsl_to_tgsi: Add support for SYSTEM_VALUE_BASE_VERTEX_ID

2017-11-23 Thread Marek Olšák
On Wed, Nov 22, 2017 at 3:03 PM, Neil Roberts wrote: > SYSTEM_VALUE_BASE_VERTEX has changed to be the correct value for > gl_BaseVertex, which means it will be zero when used with a > non-indexed call. The new BASE_VERTEX_ID value can be used as before > as an offset to

[Mesa-dev] [PATCH 1/2] glsl: Match order of gl_LightSourceParameters elements.

2017-11-23 Thread Fabian Bieler
spotExponent and spotCosCutoff were swapped in the gl_builtin_uniform_element struct. Now the order matches across gl_builtin_uniform_element, glsl_struct_field and the spec. --- src/compiler/glsl/builtin_variables.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[Mesa-dev] [PATCH 2/2] glsl: Fix gl_NormalScale.

2017-11-23 Thread Fabian Bieler
GLSL shaders can access the normal scale factor with the built-in gl_NormalScale. Mesa's modelspace lighting optimization uses a different normal scale factor than defined in the spec. We have to take care not to use this factor for gl_NormalScale. Mesa already defines two seperate states:

Re: [Mesa-dev] 10-bit Mesa/Gallium support

2017-11-23 Thread Ilia Mirkin
On Thu, Nov 23, 2017 at 2:02 PM, Mario Kleiner wrote: > On 11/23/2017 07:44 PM, Ilia Mirkin wrote: >> >> On Thu, Nov 23, 2017 at 1:31 PM, Mario Kleiner >> wrote: >>> >>> On 11/23/2017 06:45 PM, Ilia Mirkin wrote: On Thu, Nov

[Mesa-dev] [PATCH] ac: change legacy_surf_level::slice_size to dword units

2017-11-23 Thread Marek Olšák
From: Marek Olšák The next commit will reduce the size even more. v2: typecast to uint64_t manually --- src/amd/common/ac_surface.c| 2 +- src/amd/common/ac_surface.h| 3 ++- src/amd/vulkan/radv_image.c

[Mesa-dev] [PATCH 1/2] radeonsi: set COMPUTE_RESOURCE_LIMITS.FORCE_SIMD_DIST when profitable

2017-11-23 Thread Marek Olšák
From: Marek Olšák ported from Vulkan --- src/gallium/drivers/radeonsi/si_compute.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_compute.c b/src/gallium/drivers/radeonsi/si_compute.c index

[Mesa-dev] [PATCH 2/2] radeonsi: remove an old hack for evergreen

2017-11-23 Thread Marek Olšák
From: Marek Olšák --- src/gallium/drivers/radeon/r600_texture.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index 5f6e913..9feaee7 100644 ---

Re: [Mesa-dev] [PATCH 1/3] util: Fix SHA1 implementation on big endian

2017-11-23 Thread Matt Turner
Fixes: d1efa09d342b ("util: import sha1 implementation from OpenBSD") ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 3/3] util: Fix disk_cache index calculation on big endian

2017-11-23 Thread Matt Turner
Fixes: 87ab26b2ab35 ("glsl: Add initial functions to implement an on-disk cache") ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 7/8] glapi: Don't search through subdirs from glapitable.h

2017-11-23 Thread Emil Velikov
On 21 November 2017 at 18:14, Dylan Baker wrote: > Quoting Eric Engestrom (2017-11-21 06:06:33) >> On Monday, 2017-11-20 15:12:51 -0800, Dylan Baker wrote: >> > Because meson won't put it in that folder. >> > >> > Signed-off-by: Dylan Baker >> > ---

[Mesa-dev] [Bug 103668] mesa-17.3.0_rc3: FAIL: glsl/tests/cache-test

2017-11-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103668 Matt Turner changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |matts...@gmail.com

[Mesa-dev] [PATCH 2/3] util: Add a SHA1 unit test program

2017-11-23 Thread Matt Turner
--- src/util/Makefile.am | 3 ++- src/util/mesa-sha1_test.c | 65 +++ 2 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 src/util/mesa-sha1_test.c diff --git a/src/util/Makefile.am b/src/util/Makefile.am index

Re: [Mesa-dev] [PATCH 5/8] autotools: Fix includes for non-shared glapi tests.

2017-11-23 Thread Emil Velikov
On 20 November 2017 at 23:12, Dylan Baker wrote: > Signed-off-by: Dylan Baker > --- > src/mapi/Makefile.am | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/src/mapi/Makefile.am b/src/mapi/Makefile.am > index

[Mesa-dev] [PATCH 1/3] util: Fix SHA1 implementation on big endian

2017-11-23 Thread Matt Turner
The code defines a macro blk0(i) based on the preprocessor condition BYTE_ORDER == LITTLE_ENDIAN. If true, blk0(i) is defined as a byte swap operation. Unfortunately, if the preprocessor macros used in the test are no defined, then the comparison becomes 0 == 0 and it evaluates as true. ---

[Mesa-dev] [PATCH 3/3] util: Fix disk_cache index calculation on big endian

2017-11-23 Thread Matt Turner
The cache-test test program attempts to create a collision (using key_a and key_a_collide) by making the first two bytes identical. The idea is fine -- the shader cache wants to use the first four characters of a SHA1 hex digest as the index. The following program unsigned char array[4]

Re: [Mesa-dev] [PATCH 3/8] glapi/check_table: Remove 'extern "C"' block

2017-11-23 Thread Emil Velikov
On 20 November 2017 at 23:12, Dylan Baker wrote: > This doesn't actually accomplish what it's meant to do, as extern C > doesn't undefine __cplusplus, so the included headers define a template > (because __cplusplus is defined), but then that code is in an 'extern > "C"'

Re: [Mesa-dev] 10-bit Mesa/Gallium support

2017-11-23 Thread Mario Kleiner
On 11/23/2017 07:44 PM, Ilia Mirkin wrote: On Thu, Nov 23, 2017 at 1:31 PM, Mario Kleiner wrote: On 11/23/2017 06:45 PM, Ilia Mirkin wrote: On Thu, Nov 23, 2017 at 12:35 PM, Marek Olšák wrote: Hi everybody, Mario, feel free to push your

[Mesa-dev] [PATCH] gl_table.py: add extern C guard for the generated glapitable.h

2017-11-23 Thread Emil Velikov
From: Emil Velikov Cc: mesa-sta...@lists.freedesktop.org Cc: Dylan Baker Signed-off-by: Emil Velikov --- src/mapi/glapi/gen/gl_table.py | 8 1 file changed, 8 insertions(+) diff --git

Re: [Mesa-dev] 10-bit Mesa/Gallium support

2017-11-23 Thread Ilia Mirkin
On Thu, Nov 23, 2017 at 1:31 PM, Mario Kleiner wrote: > On 11/23/2017 06:45 PM, Ilia Mirkin wrote: >> >> On Thu, Nov 23, 2017 at 12:35 PM, Marek Olšák wrote: >>> >>> Hi everybody, >>> >>> Mario, feel free to push your patches if you haven't yet.

Re: [Mesa-dev] 10-bit Mesa/Gallium support

2017-11-23 Thread Mario Kleiner
On 11/23/2017 06:45 PM, Ilia Mirkin wrote: On Thu, Nov 23, 2017 at 12:35 PM, Marek Olšák wrote: Hi everybody, Mario, feel free to push your patches if you haven't yet. (except the workaround) Hi, just started 10 minutes ago with rebasing my current patchset against mesa

Re: [Mesa-dev] 10-bit Mesa/Gallium support

2017-11-23 Thread Marek Olšák
On Thu, Nov 23, 2017 at 6:45 PM, Ilia Mirkin wrote: > On Thu, Nov 23, 2017 at 12:35 PM, Marek Olšák wrote: >> Hi everybody, >> >> Mario, feel free to push your patches if you haven't yet. (except the >> workaround) >> >> For AMD, I applied Mario's patches

Re: [Mesa-dev] 10-bit Mesa/Gallium support

2017-11-23 Thread Ilia Mirkin
On Thu, Nov 23, 2017 at 12:55 PM, Michel Dänzer wrote: > On 2017-11-23 06:45 PM, Ilia Mirkin wrote: >> On Thu, Nov 23, 2017 at 12:35 PM, Marek Olšák wrote: >>> Hi everybody, >>> >>> Mario, feel free to push your patches if you haven't yet. (except the >>>

[Mesa-dev] [Bug 103868] VK_PRESENT_MODE_MAILBOX_KHR blacks out the whole screen intermittently when using X11 compositing window managers

2017-11-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103868 Michel Dänzer changed: What|Removed |Added Attachment #135681|text/x-log |text/plain

[Mesa-dev] [Bug 103868] VK_PRESENT_MODE_MAILBOX_KHR blacks out the whole screen intermittently when using X11 compositing window managers

2017-11-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103868 --- Comment #3 from Spencer Brown --- Created attachment 135682 --> https://bugs.freedesktop.org/attachment.cgi?id=135682=edit dmesg Nothing really seems interesting to me here. Also, I tested this on Wayland and there

[Mesa-dev] [Bug 103868] VK_PRESENT_MODE_MAILBOX_KHR blacks out the whole screen intermittently when using X11 compositing window managers

2017-11-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103868 --- Comment #2 from Spencer Brown --- Created attachment 135681 --> https://bugs.freedesktop.org/attachment.cgi?id=135681=edit Xorg log The Xorg log. Notable are these lines: [ 115.785] (WW) modeset(0): flip queue

Re: [Mesa-dev] 10-bit Mesa/Gallium support

2017-11-23 Thread Michel Dänzer
On 2017-11-23 06:45 PM, Ilia Mirkin wrote: > On Thu, Nov 23, 2017 at 12:35 PM, Marek Olšák wrote: >> Hi everybody, >> >> Mario, feel free to push your patches if you haven't yet. (except the >> workaround) >> >> For AMD, I applied Mario's patches (except Wayland - that didn't >>

[Mesa-dev] [Bug 103868] VK_PRESENT_MODE_MAILBOX_KHR blacks out the whole screen intermittently when using X11 compositing window managers

2017-11-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103868 --- Comment #1 from Michel Dänzer --- Please attach the corresponding Xorg log file and dmesg output, preferably captured after reproducing the problem. -- You are receiving this mail because: You are the assignee for the

Re: [Mesa-dev] 10-bit Mesa/Gallium support

2017-11-23 Thread Ilia Mirkin
On Thu, Nov 23, 2017 at 12:35 PM, Marek Olšák wrote: > Hi everybody, > > Mario, feel free to push your patches if you haven't yet. (except the > workaround) > > For AMD, I applied Mario's patches (except Wayland - that didn't > apply) and added initial Gallium support: >

[Mesa-dev] 10-bit Mesa/Gallium support

2017-11-23 Thread Marek Olšák
Hi everybody, Mario, feel free to push your patches if you haven't yet. (except the workaround) For AMD, I applied Mario's patches (except Wayland - that didn't apply) and added initial Gallium support: https://cgit.freedesktop.org/~mareko/mesa/log/?h=10bit What's the status of Glamor? Do we

Re: [Mesa-dev] [PATCH 2/9] ac: change legacy_surf_level::slice_size to dword units

2017-11-23 Thread Marek Olšák
On Thu, Nov 23, 2017 at 9:18 AM, Nicolai Hähnle wrote: > On 22.11.2017 22:33, Marek Olšák wrote: >> >> On Wed, Nov 22, 2017 at 7:46 PM, Nicolai Hähnle > > wrote: >> > On 21.11.2017 18:30, Marek Olšák wrote: >> >> >> >> From:

[Mesa-dev] [Bug 103868] VK_PRESENT_MODE_MAILBOX_KHR blacks out the whole screen intermittently when using X11 compositing window managers

2017-11-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103868 Bug ID: 103868 Summary: VK_PRESENT_MODE_MAILBOX_KHR blacks out the whole screen intermittently when using X11 compositing window managers Product: Mesa Version:

Re: [Mesa-dev] [PATCH v2 17/29] mesa/main/framebuffer.h: Fix one -Wsign-compare warning in ?: construct.

2017-11-23 Thread Emil Velikov
On 21 November 2017 at 10:47, Gert Wollny wrote: > Am Donnerstag, den 16.11.2017, 22:52 +0100 schrieb Gert Wollny: >> Am Donnerstag, den 16.11.2017, 17:13 + schrieb Emil Velikov: >> > >> > According to the spec both of these are 'Z + Non-negative integer >> > or

[Mesa-dev] [PATCH] docs: annotate MESA_program_debug as obsolete

2017-11-23 Thread Emil Velikov
From: Emil Velikov It has been obsolete for years - state it explicitly. Signed-off-by: Emil Velikov --- docs/specs/OLD/MESA_program_debug.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Mesa-dev] [PATCH mesa 0/7] remove upstreamed specs

2017-11-23 Thread Emil Velikov
On 23 November 2017 at 16:04, Eric Engestrom wrote: > On Thursday, 2017-11-23 13:32:47 +, Emil Velikov wrote: >> Hi Eric, >> >> On 22 November 2017 at 17:59, Eric Engestrom >> wrote: >> > A recent thread [1] made me check our local specs

Re: [Mesa-dev] [PATCH] Adding tiled to linear conversion functionality

2017-11-23 Thread Ilia Mirkin
On Wed, Nov 22, 2017 at 6:00 AM, Satyajit Sahu wrote: > Add tiled to linear conversion and expose outside mesa. > Also exposing the create compute and destroy surface fucntions outside. typo: functions > > Change-Id: Ie464ba0eac5d80048797bef1f6ad730c22947601 What's this?

Re: [Mesa-dev] [PATCH] mesa: add AllowGLSLCrossStageInterpolationMismatch workaround

2017-11-23 Thread Emil Velikov
On 23 November 2017 at 05:54, Tapani Pälli wrote: > This fixes issues seen with certain versions of Unreal Engine 4 editor > and games built with that using GLSL 4.30. > > Signed-off-by: Tapani Pälli > Bugzilla:

Re: [Mesa-dev] [PATCH mesa 0/7] remove upstreamed specs

2017-11-23 Thread Eric Engestrom
On Thursday, 2017-11-23 13:32:47 +, Emil Velikov wrote: > Hi Eric, > > On 22 November 2017 at 17:59, Eric Engestrom > wrote: > > A recent thread [1] made me check our local specs to see which ones were > > upstream. This series removes the ones that are identical

Re: [Mesa-dev] GBM and the Device Memory Allocator Proposals

2017-11-23 Thread Emil Velikov
Hi James, On 21 November 2017 at 01:11, James Jones wrote: > -I have also heard some general comments that regardless of the relationship > between GBM and the new allocator mechanisms, it might be time to move GBM > out of Mesa so it can be developed as a stand-alone

Re: [Mesa-dev] [PATCH] i965/vec4: fix splitting of interleaved attributes

2017-11-23 Thread Andres Gomez
On Thu, 2017-11-23 at 09:09 +0100, Iago Toral Quiroga wrote: > Whe we split an instruction that reads a uniform value When^ an ^ Acked-by: Andres Gomez > (vstride 0) we need to respect the vstride on the second > half of the instruction (that

Re: [Mesa-dev] [PATCH] mesa: add AllowGLSLCrossStageInterpolationMismatch workaround

2017-11-23 Thread Andres Gomez
Acked-by: Andres Gomez On Thu, 2017-11-23 at 07:54 +0200, Tapani Pälli wrote: > This fixes issues seen with certain versions of Unreal Engine 4 editor > and games built with that using GLSL 4.30. > > Signed-off-by: Tapani Pälli > Bugzilla:

Re: [Mesa-dev] [PATCH mesa 0/7] remove upstreamed specs

2017-11-23 Thread Emil Velikov
Hi Eric, On 22 November 2017 at 17:59, Eric Engestrom wrote: > A recent thread [1] made me check our local specs to see which ones were > upstream. This series removes the ones that are identical upstream > (modulo "TBD" extension numbers in some cases). > > There are

[Mesa-dev] [PATCH mesa] compiler: use proper guard for asserts

2017-11-23 Thread Eric Engestrom
nir_validate.c's #endif already had the correct NDEBUG comment Fixes: dcb1acdea00a8f2c29777 "nir/validate: Only build in debug mode" Fixes: 9ff71b649b4b3808a9e17 "i965/nir: Validate that NIR passes call nir_metadata_preserve()" Signed-off-by: Eric Engestrom ---

Re: [Mesa-dev] [PATCH mesa 0/7] remove upstreamed specs

2017-11-23 Thread Eric Engestrom
On Wednesday, 2017-11-22 12:28:17 -0800, Eric Anholt wrote: > Jordan Justen writes: > > > On 2017-11-22 09:59:34, Eric Engestrom wrote: > >> A recent thread [1] made me check our local specs to see which ones were > >> upstream. This series removes the ones that are

[Mesa-dev] [PATCH 2/2] i965: Always try to create a logical context

2017-11-23 Thread Chris Wilson
Always enable use of HW logical contexts to preserve GPU state between batches when the kernel supports such constructs, continuing to enforce the required support for gen6+. At runtime, this effectively removes the BRW_NEW_CONTEXT flag (and the upload of invariant state) from the start of every

[Mesa-dev] [PATCH 1/2] i965: Allow old begin/end queryobj for gen4/5 with HW contexts

2017-11-23 Thread Chris Wilson
Since we have HW contexts on gen4/5, we could take advantage of them, as done for gen6+ in commit e32cd5ffbb72 ("i965: Rely on hardware contexts for query objects on Gen6+."), to only emit a pair of counters at begin/end queryobj, rather than around every primitive. However, to keep queryobj

Re: [Mesa-dev] [PATCH] etnaviv: Emit vertex buffers consecutively

2017-11-23 Thread Wladimir J. van der Laan
On Thu, Nov 23, 2017 at 10:37:15AM +0100, Lucas Stach wrote: > Am Donnerstag, den 23.11.2017, 10:08 +0100 schrieb Wladimir J. van der Laan: > > Vertex buffer legacy state is no longer picked up with new drawing > > commands. Change to use different cases depending on the number of > > vertex

Re: [Mesa-dev] [PATCH] etnaviv: Emit vertex buffers consecutively

2017-11-23 Thread Lucas Stach
Am Donnerstag, den 23.11.2017, 10:08 +0100 schrieb Wladimir J. van der Laan: > Vertex buffer legacy state is no longer picked up with new drawing > commands. Change to use different cases depending on the number of > vertex streams in the GPU specs. > > This results in slightly more compact state

[Mesa-dev] [PATCH] loader/dri3: Try to make sure we only process our own NotifyMSC events

2017-11-23 Thread Michel Dänzer
From: Michel Dänzer We were using a sequence counter value to wait for a specific NotifyMSC event. However, we can receive events from other clients as well, which may already be using higher sequence numbers than us. In that case, we could stop processing after an event

[Mesa-dev] [PATCH] etnaviv: Emit vertex buffers consecutively

2017-11-23 Thread Wladimir J. van der Laan
Vertex buffer legacy state is no longer picked up with new drawing commands. Change to use different cases depending on the number of vertex streams in the GPU specs. This results in slightly more compact state emission as well, on all vivantes. This needs to go in before "etnaviv: Use only

[Mesa-dev] [PATCH] mesa/st: glsl_to_tgsi: Dissolve arrays who's elements are only accessed directly

2017-11-23 Thread Gert Wollny
Array who's elements are only accessed directly are replaced by the according number of temporary registers. By doing so the otherwise reserved register range becomes subject to further optimizations like copy propagation and register merging. Thanks to the resulting reduced register pressure

[Mesa-dev] [PATCH] Adding tiled to linear conversion functionality

2017-11-23 Thread Satyajit Sahu
Add tiled to linear conversion and expose outside mesa. Also exposing the create compute and destroy surface fucntions outside. Change-Id: Ie464ba0eac5d80048797bef1f6ad730c22947601 Signed-off-by: Satyajit Sahu --- src/amd/Makefile.common.am | 4 ++

Re: [Mesa-dev] [PATCH v2 04/17] etnaviv: Use only DRAW_INSTANCED on GC3000+

2017-11-23 Thread Wladimir J. van der Laan
> Can confirm that this completely breaks rendering on GC3000. > > I don't know how this happened, I'm sure I tested this before :( maybe > with a slightly different version of the patch stack. Solved! Etnaviv is emitting vertex stream attributes in an unconvential way: - Write vertex stream

Re: [Mesa-dev] [PATCH] i965/vec4: fix splitting of interleaved attributes

2017-11-23 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH v2 04/17] etnaviv: Use only DRAW_INSTANCED on GC3000+

2017-11-23 Thread Wladimir J. van der Laan
On Wed, Nov 22, 2017 at 07:29:18PM +0100, Wladimir J. van der Laan wrote: > > > I would really like to know what's wrong with this patch, as using the > > new draw command should be fine on GC3000 and we certainly want to > > support instanced drawing at some point. > > Did you also apply the

Re: [Mesa-dev] [PATCH 1/9] ac: pack ac_surface better

2017-11-23 Thread Nicolai Hähnle
On 22.11.2017 22:10, Marek Olšák wrote: On Wed, Nov 22, 2017 at 7:48 PM, Nicolai Hähnle wrote: On 21.11.2017 18:30, Marek Olšák wrote: From: Marek Olšák r600_texture: 1736 -> 1488 bytes --- src/amd/common/ac_surface.h | 9 +

Re: [Mesa-dev] [PATCH 2/9] ac: change legacy_surf_level::slice_size to dword units

2017-11-23 Thread Nicolai Hähnle
On 22.11.2017 22:33, Marek Olšák wrote: On Wed, Nov 22, 2017 at 7:46 PM, Nicolai Hähnle > wrote: > On 21.11.2017 18:30, Marek Olšák wrote: >> >> From: Marek Olšák > >> >> The next commit will

[Mesa-dev] [PATCH] i965/vec4: fix splitting of interleaved attributes

2017-11-23 Thread Iago Toral Quiroga
Whe we split an instruction that reads a uniform value (vstride 0) we need to respect the vstride on the second half of the instruction (that is, the second half should read the same region as the first). We were doing this already, but we didn't account for stages that have interleaved input