[Mesa-dev] [Bug 109867] vulkan component not working

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109867 Bug 109867 depends on bug 109860, which changed state. Bug 109860 Summary: vulkan component not working https://bugs.freedesktop.org/show_bug.cgi?id=109860 What|Removed |Added

[Mesa-dev] [Bug 109860] vulkan component not working

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109860 Samuel Pitoiset changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Mesa-dev] [Bug 109867] vulkan component not working

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109867 Samuel Pitoiset changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Mesa-dev] [Bug 109791] The mesa release config doesn't define NDEBUG when building using meson 0.45.0

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109791 --- Comment #4 from Malik Riaz --- BHai awaz aa rahi hay meri? -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list

[Mesa-dev] [Bug 109860] vulkan component not working

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109860 --- Comment #1 from Malik Riaz --- BHai awaz aa rahi hay meri? -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev mailing list

[Mesa-dev] [Bug 109867] vulkan component not working

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109867 Bug ID: 109867 Summary: vulkan component not working Product: Mesa Version: 18.3 Hardware: Other OS: All Status: NEW Severity: normal

[Mesa-dev] [Bug 109860] vulkan component not working

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109860 Ijlal Asif changed: What|Removed |Added Blocks||109867 Referenced Bugs:

[Mesa-dev] [Bug 109860] vulkan component not working

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109860 Bug ID: 109860 Summary: vulkan component not working Product: Mesa Version: 18.3 Hardware: Other OS: All Status: NEW Severity: normal

[Mesa-dev] [Bug 109858] Bug report for learning purposes

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109858 Osama Mumtaz changed: What|Removed |Added Alias||musharib.saji...@gmail.com -- You are

[Mesa-dev] [Bug 109858] Bug report for learning purposes

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109858 Bug ID: 109858 Summary: Bug report for learning purposes Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Windows (All) Status: NEW Severity:

[Mesa-dev] [Bug 109791] The mesa release config doesn't define NDEBUG when building using meson 0.45.0

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109791 Tayyab Ali changed: What|Removed |Added CC||tayyabali3...@gmail.com -- You are

[Mesa-dev] [Bug 44239] spring rts crashes with r300g

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44239 Salik changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |sujuvi...@techgroup.top |org

[Mesa-dev] [Bug 109851] DGC is interlocking with SDIKS

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109851 Kamal Hasan changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Mesa-dev] [Bug 44239] spring rts crashes with r300g

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44239 Salik changed: What|Removed |Added URL||google.com -- You are receiving this mail

[Mesa-dev] [Bug 109851] DGC is interlocking with SDIKS

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109851 Malik Riaz changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |sujuvi...@techgroup.top

[Mesa-dev] [Bug 109851] DGC is interlocking with SDIKS

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109851 Bug ID: 109851 Summary: DGC is interlocking with SDIKS Product: Mesa Version: 10.0 Hardware: All OS: All Status: NEW Severity: critical

Re: [Mesa-dev] [PATCH 2/2] gallium/util: add some const qualifiers in u_bitmask.c

2019-03-05 Thread Jose Fonseca
On 05/03/2019 23:56, Brian Paul wrote: And add/update comments. --- src/gallium/auxiliary/util/u_bitmask.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/gallium/auxiliary/util/u_bitmask.c b/src/gallium/auxiliary/util/u_bitmask.c index

Re: [Mesa-dev] [PATCH 3/3] winsys/svga: use new pb_usage_flags enum type

2019-03-05 Thread Neha Bhende
For the series, Reviewed-by: Neha Bhende Regards, Neha From: Brian Paul Sent: Tuesday, March 5, 2019 7:48 PM To: mesa-dev@lists.freedesktop.org Cc: Neha Bhende; Deepak Singh Rawat; Thomas Hellstrom Subject: [PATCH 3/3] winsys/svga: use new pb_usage_flags

Re: [Mesa-dev] dumb meson questions

2019-03-05 Thread Dave Airlie
On Wed, 6 Mar 2019 at 14:01, Brian Paul wrote: > > > I guess I don't fully understand a few things about the new meson build. > > 1. I'm trying to build the gallium VMware driver with this: > > export BUILD_DIR=build-meson-dri > > mkdir "${BUILD_DIR}" > > meson -Dshared-llvm=false \ >

[Mesa-dev] dumb meson questions

2019-03-05 Thread Brian Paul
I guess I don't fully understand a few things about the new meson build. 1. I'm trying to build the gallium VMware driver with this: export BUILD_DIR=build-meson-dri mkdir "${BUILD_DIR}" meson -Dshared-llvm=false \ -Dplatforms=x11,drm \ -Dgallium-drivers=svga \

[Mesa-dev] [PATCH 1/3] pipebuffer: use new pb_usage_flags enum type

2019-03-05 Thread Brian Paul
Use a new enum type instead of 'unsigned' to make things a bit more understandable. --- src/gallium/auxiliary/pipebuffer/pb_buffer.h | 34 ++ .../auxiliary/pipebuffer/pb_buffer_fenced.c| 6 ++-- .../auxiliary/pipebuffer/pb_buffer_malloc.c| 4 +--

[Mesa-dev] [PATCH 2/3] pipebuffer: whitespace fixes in pb_buffer.h

2019-03-05 Thread Brian Paul
--- src/gallium/auxiliary/pipebuffer/pb_buffer.h | 101 +-- 1 file changed, 49 insertions(+), 52 deletions(-) diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer.h b/src/gallium/auxiliary/pipebuffer/pb_buffer.h index 11f70ea..bd60eba 100644 ---

[Mesa-dev] [PATCH 3/3] winsys/svga: use new pb_usage_flags enum type

2019-03-05 Thread Brian Paul
And add a comment that we're implicitly converting PIPE_TRANSFER_ flags to PB_USAGE_ flags in one place. And statically assert that the enum values match. --- src/gallium/winsys/svga/drm/vmw_buffer.c | 27 +++ src/gallium/winsys/svga/drm/vmw_buffer.h | 1 +

Re: [Mesa-dev] [virglrenderer-devel] virglrenderer on gles, format conversion

2019-03-05 Thread Dave Airlie
On Wed, 6 Mar 2019 at 01:01, Erik Faye-Lund wrote: > > When we try to do a vrend transfer from a renderable texture, we end up > using glReadPixels to read the data. However, OpenGL ES has > restrictions on what formats are allowed to be used for glReadPixels. > In partcular, only

[Mesa-dev] [PATCH] panfrost: Fix bug/cruft calling tgsi_to_nir

2019-03-05 Thread Alyssa Rosenzweig
Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_assemble.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gallium/drivers/panfrost/pan_assemble.c b/src/gallium/drivers/panfrost/pan_assemble.c index f3b339d8184..7e2f24edd71 100644 ---

Re: [Mesa-dev] [PATCH 2/2] gallium/util: add some const qualifiers in u_bitmask.c

2019-03-05 Thread Timothy Arceri
Series: Reviewed-by: Timothy Arceri ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 1/3] svga: keep a list of contexts for the screen

2019-03-05 Thread Brian Paul
This will allow us to query whether a context is valid. In addition to keeping a list of contexts, we need to give each context we create a unique ID which is never re-used. The screen also contains a bitmask to track which IDs are valid. We need the ID since a context pointer could be recycled

[Mesa-dev] [PATCH 2/3] svga: only free sampler views from the context which created it

2019-03-05 Thread Brian Paul
Some applications, like google-chrome, cause the state tracker to destroy sampler/resource views from a context other than the one which was used to create it. Previously, we just leaked the view. Now, when we're in this situation we declare the view a zombie and add it to a list of zombie views

[Mesa-dev] [PATCH 3/3] svga: only free shader variants from the context which created it

2019-03-05 Thread Brian Paul
Since OpenGL shaders may be shared among contexts, we can wind up with variants of a shader created with different contexts. When we go to destroy a shader variant, we want to free it with the same context that it was created with. This patch implements solves that problem. The Redway3D Watch

[Mesa-dev] [PATCH 2/2] gallium/util: add some const qualifiers in u_bitmask.c

2019-03-05 Thread Brian Paul
And add/update comments. --- src/gallium/auxiliary/util/u_bitmask.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/gallium/auxiliary/util/u_bitmask.c b/src/gallium/auxiliary/util/u_bitmask.c index 397b497..433a09d 100644 ---

[Mesa-dev] [PATCH 1/2] gallium/util: whitespace cleanups in u_bitmask.[ch]

2019-03-05 Thread Brian Paul
--- src/gallium/auxiliary/util/u_bitmask.c | 129 + src/gallium/auxiliary/util/u_bitmask.h | 40 +- 2 files changed, 85 insertions(+), 84 deletions(-) diff --git a/src/gallium/auxiliary/util/u_bitmask.c b/src/gallium/auxiliary/util/u_bitmask.c index

[Mesa-dev] [PATCH] nir/builder: Cast array indices in build_deref_follower

2019-03-05 Thread Jason Ekstrand
There's no guarantee when build_deref_follower is called that the two derefs have the same bit size destination. Insert a cast on the array index in case we have differing bit sizes. While we're here, insert some asserts in build_deref_array and build_deref_ptr_as_array. The validator will

Re: [Mesa-dev] [PATCH] i965: Perform manual preemption checks between commands

2019-03-05 Thread Rafael Antognolli
On Tue, Mar 05, 2019 at 07:50:24PM +, Chris Wilson wrote: > Quoting Rafael Antognolli (2019-03-05 19:33:03) > > On Tue, Mar 05, 2019 at 09:40:20AM +, Chris Wilson wrote: > > > Not all commands support being preempted as they execute, and for those > > > make sure we at least check for

Re: [Mesa-dev] [PATCH] i965: Perform manual preemption checks between commands

2019-03-05 Thread Chris Wilson
Quoting Rafael Antognolli (2019-03-05 19:33:03) > On Tue, Mar 05, 2019 at 09:40:20AM +, Chris Wilson wrote: > > Not all commands support being preempted as they execute, and for those > > make sure we at least check for being preempted before we start so as to > > try and minimise the latency

Re: [Mesa-dev] [PATCH] i965: Perform manual preemption checks between commands

2019-03-05 Thread Rafael Antognolli
On Tue, Mar 05, 2019 at 09:40:20AM +, Chris Wilson wrote: > Not all commands support being preempted as they execute, and for those > make sure we at least check for being preempted before we start so as to > try and minimise the latency of whomever is more important than > ourselves. > > Cc:

Re: [Mesa-dev] [PATCH 8/8] panfrost: Add backend targeting the DRM driver

2019-03-05 Thread Eric Anholt
Alyssa Rosenzweig writes: >> Alyssa: do you see any problem if we change to submit only one atom per >> ioctl? > > I don't think so; aesthetically I don't like the extra kernel traffic, > but that's not a real concern, and it sounds like that's the correct > approach anyway. > > A big reason we

Re: [Mesa-dev] [PATCH 8/8] panfrost: Add backend targeting the DRM driver

2019-03-05 Thread Eric Anholt
Kristian Høgsberg writes: > On Mon, Mar 4, 2019 at 6:29 PM Dave Airlie wrote: >> >> On Tue, 5 Mar 2019 at 12:20, Kristian Høgsberg wrote: >> > >> > On Mon, Mar 4, 2019 at 6:11 PM Alyssa Rosenzweig >> > wrote: >> > > >> > > > Why aren't we using regular dma-buf fences here? The submit ioctl

[Mesa-dev] [PATCH] radv: fix color conversions for normalized uint/sint formats

2019-03-05 Thread Samuel Pitoiset
The hardware actually rounds before conversion. This now matches what values are used when performing fast clears vs slow clears. This fixes a rendering issue with Far Cry 3&4. This also fixes a bunch of CTS tests that use a 8-bit UNORM format (only when the 512*512 image size hint is manually

[Mesa-dev] [PATCH] radv: fix binding transform feedback buffers

2019-03-05 Thread Samuel Pitoiset
The mask should be accumulated if two calls are used for binding two buffers at different indexes. Otherwise, the driver only accounts for the last one. Noticed while glancing at this code. Cc: 18.3 19.0 Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c | 2 +- 1 file

[Mesa-dev] [PATCH v2] ac/nir: implement emit_{imul, umul}_2x32_64 opcodes

2019-03-05 Thread Samuel Pitoiset
v2: - remove dead variables Fixes: 58bcebd987b ("spirv: Allow [i/u]mulExtended to use new nir opcode") Signed-off-by: Samuel Pitoiset --- src/amd/common/ac_nir_to_llvm.c | 34 + 1 file changed, 34 insertions(+) diff --git a/src/amd/common/ac_nir_to_llvm.c

Re: [Mesa-dev] [PATCH] ac/nir: implement emit_{imul, umul}_2x32_64 opcodes

2019-03-05 Thread Samuel Pitoiset
On 3/5/19 2:01 PM, Bas Nieuwenhuizen wrote: On Tue, Mar 5, 2019 at 10:30 AM Samuel Pitoiset wrote: Fixes: 58bcebd987b ("spirv: Allow [i/u]mulExtended to use new nir opcode") Signed-off-by: Samuel Pitoiset --- src/amd/common/ac_nir_to_llvm.c | 36 + 1 file

[Mesa-dev] [Bug 109443] Build failure with MSVC when using Scons >= 3.0.2

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109443 --- Comment #11 from William Deegan --- I've pushed out an alpha package for you to verify your issue is now resolved. https://github.com/SCons/scons/releases/tag/3.0.5a2 Also available at: pip install --index-url

[Mesa-dev] [Bug 109532] ir_variable has maximum access out of bounds -- but it's not out of bounds

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109532 --- Comment #52 from asimiklit --- Created attachment 143535 --> https://bugs.freedesktop.org/attachment.cgi?id=143535=edit draft of a solution Currently I am trying to find another way to fix this issue to avoid removal of an optimization

Re: [Mesa-dev] [PATCH 8/8] panfrost: Add backend targeting the DRM driver

2019-03-05 Thread Alyssa Rosenzweig
> Alyssa: do you see any problem if we change to submit only one atom per > ioctl? I don't think so; aesthetically I don't like the extra kernel traffic, but that's not a real concern, and it sounds like that's the correct approach anyway. A big reason we submit together on non-DRM is so we can

Re: [Mesa-dev] [RFC] panfrost: Add DRM backend

2019-03-05 Thread Alyssa Rosenzweig
> One is that with kbase I don't see any noticeable pauses during the very > first scene in glmark2. ...That sounds like a good thing? :) > Another is that with the DRM driver I don't see the wallpaper in GNOME Shell. GNOME Shell is very broken under Panfrost; that's not a kernel-space

Re: [Mesa-dev] [PATCH 7/8] panfrost: Fix BO import and export

2019-03-05 Thread Alyssa Rosenzweig
> With non-DRM this code doesn't execute (at least on the workloads I tested > with) because we don't support GEM handles for !scanout. Gotcha, thank you. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

[Mesa-dev] virglrenderer on gles, format conversion

2019-03-05 Thread Erik Faye-Lund
When we try to do a vrend transfer from a renderable texture, we end up using glReadPixels to read the data. However, OpenGL ES has restrictions on what formats are allowed to be used for glReadPixels. In partcular, only GL_UNSIGNED_BYTE + GL_RGBA are guaranteed to be supported (for OpenGL ES 2.0;

Re: [Mesa-dev] [PATCH 8/8] panfrost: Add backend targeting the DRM driver

2019-03-05 Thread Rob Herring
On Mon, Mar 4, 2019 at 6:43 PM Alyssa Rosenzweig wrote: > > Wooo!!! > > Seeing this patch in my inbox has been some of the best news all day! > > Without further ado, my (solicited?) comments: > > > +/* Copyright 2018, Linaro, Ltd., Rob Herring */ > > Please triple check upstream that this

Re: [Mesa-dev] [PATCH] radv: allocate enough space in cmdbuf when starting a subpass

2019-03-05 Thread Samuel Pitoiset
On 3/5/19 2:34 PM, Bas Nieuwenhuizen wrote: On Tue, Mar 5, 2019 at 10:42 AM Samuel Pitoiset wrote: This fixes some CTS crashes with: dEQP-VK.renderpass2.suballocation.attachment_write_mask.attachment_count_8.start_index_* Ideally, we should check cmd_buffer->cs->max_dw because there is

Re: [Mesa-dev] [PATCH] radv: allocate enough space in cmdbuf when starting a subpass

2019-03-05 Thread Bas Nieuwenhuizen
On Tue, Mar 5, 2019 at 10:42 AM Samuel Pitoiset wrote: > > This fixes some CTS crashes with: > dEQP-VK.renderpass2.suballocation.attachment_write_mask.attachment_count_8.start_index_* > > Ideally, we should check cmd_buffer->cs->max_dw because there is > likely enough space (the internal clear

Re: [Mesa-dev] [PATCH] ac/nir: implement emit_{imul, umul}_2x32_64 opcodes

2019-03-05 Thread Bas Nieuwenhuizen
On Tue, Mar 5, 2019 at 10:30 AM Samuel Pitoiset wrote: > > Fixes: 58bcebd987b ("spirv: Allow [i/u]mulExtended to use new nir opcode") > Signed-off-by: Samuel Pitoiset > --- > src/amd/common/ac_nir_to_llvm.c | 36 + > 1 file changed, 36 insertions(+) > > diff

Re: [Mesa-dev] [PATCH v2] radv: properly align the fence and EOP bug VA on GFX9

2019-03-05 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Mon, Mar 4, 2019 at 2:22 PM Samuel Pitoiset wrote: > > If alignement is 0, offets returned by > radv_cmd_buffer_upload_alloc() are always 0. These two > virtual addresses were pointing at the same location. > > v2: - add an asertion that checks if alignment is

Re: [Mesa-dev] [PATCH v2 4/5] main: avoid 'may be used uninitialized' warnings

2019-03-05 Thread andrey simiklit
Hello, Could somebody take a look at this old patch? Thanks, Andrii. On Tue, Nov 13, 2018 at 6:41 PM Eric Engestrom wrote: > On Tuesday, 2018-11-13 14:19:31 +0200, asimiklit.w...@gmail.com wrote: > > From: Andrii Simiklit > > > > 1. main/texcompress_etc.c:1314:12: > > warning: ‘*((void

Re: [Mesa-dev] [PATCH 1/2] android: anv: fix generated files depedencies

2019-03-05 Thread Tapani Pälli
On 3/5/19 11:09 AM, Chih-Wei Huang wrote: Tapani Pälli 於 2019年3月5日 週二 下午4:48寫道: On 3/5/19 9:26 AM, Chih-Wei Huang wrote: Mauro Rossi 於 2019年3月4日 週一 上午3:58寫道: Fix anv_extrypoints.{c,h} and anv_extensions.{c,h} missing dependencies Rename the variable labels according to targets and

[Mesa-dev] [PATCH] radv: allocate enough space in cmdbuf when starting a subpass

2019-03-05 Thread Samuel Pitoiset
This fixes some CTS crashes with: dEQP-VK.renderpass2.suballocation.attachment_write_mask.attachment_count_8.start_index_* Ideally, we should check cmd_buffer->cs->max_dw because there is likely enough space (the internal clear draws allocate space), but keep that way for consistency.

[Mesa-dev] [PATCH] i965: Perform manual preemption checks between commands

2019-03-05 Thread Chris Wilson
Not all commands support being preempted as they execute, and for those make sure we at least check for being preempted before we start so as to try and minimise the latency of whomever is more important than ourselves. Cc: Jari Tahvanainen , Cc: Rafael Antognolli Cc: Kenneth Graunke --- Always

[Mesa-dev] [PATCH] i965: Perform manual preemption checks between commands

2019-03-05 Thread Chris Wilson
Not all commands support being preempted as they execute, and for those make sure we at least check for being preempted before we start so as to try and minimise the latency of whomever is more important than ourselves. Cc: Jari Tahvanainen , Cc: Rafael Antognolli Cc: Kenneth Graunke ---

[Mesa-dev] [PATCH] ac/nir: implement emit_{imul, umul}_2x32_64 opcodes

2019-03-05 Thread Samuel Pitoiset
Fixes: 58bcebd987b ("spirv: Allow [i/u]mulExtended to use new nir opcode") Signed-off-by: Samuel Pitoiset --- src/amd/common/ac_nir_to_llvm.c | 36 + 1 file changed, 36 insertions(+) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c

Re: [Mesa-dev] [PATCH 1/2] android: anv: fix generated files depedencies

2019-03-05 Thread Chih-Wei Huang
Tapani Pälli 於 2019年3月5日 週二 下午4:48寫道: > > On 3/5/19 9:26 AM, Chih-Wei Huang wrote: > > Mauro Rossi 於 2019年3月4日 週一 上午3:58寫道: > >> > >> Fix anv_extrypoints.{c,h} and anv_extensions.{c,h} missing dependencies > >> Rename the variable labels according to targets and python scripts > >> Align the

Re: [Mesa-dev] [PATCH 1/2] android: anv: fix generated files depedencies

2019-03-05 Thread Tapani Pälli
On 3/5/19 9:26 AM, Chih-Wei Huang wrote: Mauro Rossi 於 2019年3月4日 週一 上午3:58寫道: Fix anv_extrypoints.{c,h} and anv_extensions.{c,h} missing dependencies Rename the variable labels according to targets and python scripts Align the building rules as per Automake for simplification Fixes

[Mesa-dev] [PATCH 5/8] mesa: Remove _ae_{, un}map_vbos and dependencies.

2019-03-05 Thread Mathias . Froehlich
From: Mathias Fröhlich Since mapping and unmapping the buffer objects in a VAO is handled directly from the VAO, this part of the _NEW_ARRAY state is no longer used. So remove this part of array element state. Signed-off-by: Mathias Fröhlich --- src/mesa/main/api_arrayelt.c | 95

[Mesa-dev] [PATCH 7/8] vbo: Fix basevertex handling in display list compiles.

2019-03-05 Thread Mathias . Froehlich
From: Mathias Fröhlich The standard requires that the primitive restart comparison happens before the basevertex value is added. Do this now, drop a reference to the standard why this happens at this place. Signed-off-by: Mathias Fröhlich --- src/mesa/vbo/vbo_save_api.c | 17 -

[Mesa-dev] [PATCH 0/8] Half way to remove _NEW_ARRAY.

2019-03-05 Thread Mathias . Froehlich
From: Mathias Fröhlich Hi all, The following series introduces functions to map and unmap all vbos stored in a vao. Make use of those functions where possible. On that way cleanup and fix what comes up along the way. The series also already removes half of the state that is tracked using the

[Mesa-dev] [PATCH 8/8] vbo: Fix GL_PRIMITIVE_RESTART_FIXED_INDEX in display list compiles.

2019-03-05 Thread Mathias . Froehlich
From: Mathias Fröhlich The maximum value primitive restart index is different for each index data type. Use the appropriate fixed restart index value. Signed-off-by: Mathias Fröhlich --- src/mesa/vbo/vbo_save_api.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff

[Mesa-dev] [PATCH 4/8] mesa: Replace _ae_{, un}map_vbos with _mesa_vao_{, un}map_arrays

2019-03-05 Thread Mathias . Froehlich
From: Mathias Fröhlich Due to the use of bitmaps, the _mesa_vao_{,un}map_arrays functions should provide comparable runtime efficienty to the currently used _ae_{,un}map_vbos functions. So use this functions and enable further cleanup. Signed-off-by: Mathias Fröhlich ---

[Mesa-dev] [PATCH 2/8] mesa: Factor out _mesa_array_element.

2019-03-05 Thread Mathias . Froehlich
From: Mathias Fröhlich The factored out function handles emitting the vertex attributes at the given index. The now public accessible function gets used in the following patches. Signed-off-by: Mathias Fröhlich --- src/mesa/main/api_arrayelt.c | 49 ++--

[Mesa-dev] [PATCH 6/8] mesa: Use mapping tools in debug prints.

2019-03-05 Thread Mathias . Froehlich
From: Mathias Fröhlich Signed-off-by: Mathias Fröhlich --- src/mesa/main/draw.c | 57 ++-- 1 file changed, 12 insertions(+), 45 deletions(-) diff --git a/src/mesa/main/draw.c b/src/mesa/main/draw.c index bfc4b9c9373..fa70463eaee 100644 ---

[Mesa-dev] [PATCH 1/8] mesa: Implement helper functions to map and unmap a VAO.

2019-03-05 Thread Mathias . Froehlich
From: Mathias Fröhlich Provide a set of functions that maps or unmaps all VBOs held in a VAO. The functions will be used in the following patches. Signed-off-by: Mathias Fröhlich --- src/mesa/main/arrayobj.c | 84 src/mesa/main/arrayobj.h | 18

[Mesa-dev] [PATCH 3/8] mesa: Use _mesa_array_element in dlist save.

2019-03-05 Thread Mathias . Froehlich
From: Mathias Fröhlich Make use of the newly factored out _mesa_array_element function in display list compilation. For now that duplicates out the primitive restart logic. But that turns out to need a fix in display list handling anyhow. Signed-off-by: Mathias Fröhlich ---

[Mesa-dev] [Bug 109818] wrong color rendering in SOULCALIBUR 6 using dxvk

2019-03-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109818 Samuel Pitoiset changed: What|Removed |Added Resolution|--- |FIXED Status|NEW