On 02/21/2018 09:24 AM, Timothy Arceri wrote:
On 21/02/18 19:22, Samuel Pitoiset wrote:
On 02/21/2018 05:11 AM, Timothy Arceri wrote:
On 21/02/18 07:29, Samuel Pitoiset wrote:
On VI, 3D images are considered as 2D arrays. RadeonSI sets DA for
loads/stores/atomics and RADV only for
On 02/21/2018 05:11 AM, Timothy Arceri wrote:
On 21/02/18 07:29, Samuel Pitoiset wrote:
On VI, 3D images are considered as 2D arrays. RadeonSI sets DA for
loads/stores/atomics and RADV only for loads/stores, so I guess there
is a reason for that?
I've changed the nir->llvm code recently in
We were only resolving the first.
v2:
- Do not require that the number of layers on dst and src are an
exact match, it is okay if the dst has more layers so long as
it has at least the same that we are going to resolve.
- Do not always resolve array_len layers, we should resolve
On 21/02/18 19:22, Samuel Pitoiset wrote:
On 02/21/2018 05:11 AM, Timothy Arceri wrote:
On 21/02/18 07:29, Samuel Pitoiset wrote:
On VI, 3D images are considered as 2D arrays. RadeonSI sets DA for
loads/stores/atomics and RADV only for loads/stores, so I guess there
is a reason for that?
Not yet used anywhere.
Signed-off-by: Daniel Stone
Reviewed-by: Jason Ekstrand
---
src/vulkan/Makefile.am | 1 +
src/vulkan/wsi/meson.build | 2 +-
src/vulkan/wsi/wsi_common.c | 3 +++
From: Louis-Francis Ratté-Boulianne
Add support for DRI3 v1.1, which allows pixmaps to be backed by
multi-planar buffers, or those with format modifiers. This is both
for allocating render buffers, as well as EGLImage imports from a
native pixmap (EGL_NATIVE_PIXMAP_KHR).
Adds support for multiple planes and buffer modifiers.
v4: Rename "has_dri3_v1_1" to "has_dri3_modifiers"
Signed-off-by: Daniel Stone
---
src/vulkan/wsi/wsi_common_x11.c | 185
1 file changed, 168 insertions(+), 17 deletions(-)
From: Louis-Francis Ratté-Boulianne
If PresentCompleteNotify event says the pixmap was presented
with mode PresentCompleteModeSuboptimalCopy, it means the pixmap
could possibly have been flipped instead if allocated with a
different format/modifier.
Signed-off-by:
zwp_linux_dmabuf_v1 lets us use multi-planar images and buffer
modifiers.
Signed-off-by: Daniel Stone
---
src/vulkan/Makefile.am | 10 +++
src/vulkan/Makefile.sources | 4 +-
src/vulkan/wsi/meson.build | 2 +
From: Jason Ekstrand
This involves extending our fake extension a bit to allow for additional
querying and passing of modifier information. The added bits are
intended to look a lot like the draft of VK_EXT_image_drm_format_modifier.
Once the extension gets finalized,
From: Louis-Francis Ratté-Boulianne
When it is detected that a window could have been flipped
but has been copied because of suboptimal format/modifier.
The Vulkan client should then re-create the swapchain.
Signed-off-by: Louis-Francis Ratté-Boulianne
From: Jason Ekstrand
This adds support for the modifiers portion of the WSI "extension".
Reviewed-by: Daniel Stone
Signed-off-by: Daniel Stone
---
src/intel/vulkan/anv_formats.c | 38
From: Jason Ekstrand
For a bit there, we had a bug in i965 where it ignored the tiling of the
modifier and used the one from the BO instead. At one point, we though
this was best fixed by setting a tiling from Vulkan. However, we've
decided that i965 was just doing
Use a helper function for updating the swapchain status. This will be
used later to handle VK_SUBOPTIMAL_KHR, where we need to make a
non-error status stick to the swapchain until recreation.
Signed-off-by: Daniel Stone
---
src/vulkan/wsi/wsi_common_x11.c | 90
Instead of direct comparisons to VK_SUCCESS, test for negative numbers
meaning an error status, and positive numbers indicating non-error
statuses.
Signed-off-by: Daniel Stone
---
src/vulkan/wsi/wsi_common_x11.c | 16
1 file changed, 8 insertions(+), 8
Hi,
This series adds support for buffer modifiers through ANV and the common
WSI infrastructure (AMD has no defined modifiers), as well as
specifically for X11 and Wayland. It also adds support for the X11 DRI3
v1.1 and Present v1.2 protocols to EGL and GLX, which does not require
changes to the
On 02/21/2018 03:37 PM, Józef Kucia wrote:
On Wed, Feb 21, 2018 at 3:27 PM, Samuel Pitoiset
wrote:
According to "Table 1. Image and image view parameter compatibility
requirements", this is invalid.
Signed-off-by: Samuel Pitoiset
---
Am Dienstag, den 20.02.2018, 20:47 +0100 schrieb Christian Gmeiner:
> Reduces size of struct etna_specs from 100 to 94 bytes.
>
> Signed-off-by: Christian Gmeiner
Reviewed-by: Lucas Stach
> ---
>
Hi Jason,
On 24 January 2018 at 23:46, Jason Ekstrand wrote:
> This patch series provides fixes for the texture_from_pixmap path when
> modifiers are used. All but the first and last patches are reviewed. I
> haven't pushed to land anything yet because ee57b15ec764736e
Reviewed-by: Bas Nieuwenhuizen
On Wed, Feb 7, 2018 at 10:29 AM, Samuel Pitoiset
wrote:
>
>
> On 02/06/2018 12:29 AM, Ian Romanick wrote:
>
>> Do you have any data from shader-db for this change (and the other patch)?
>>
>
> We didn't see any
Reviewed-by: Bas Nieuwenhuizen
On Fri, Feb 2, 2018 at 7:04 PM, Samuel Pitoiset
wrote:
> There is no fpow in hardware, so it's always lowered somewhere,
> but it appears that lowering at NIR level is better. Figured while
> comparing compute
When multiview is active a subpass clear may only clear a subset of the
attachment layers. Other subpasses in the same render pass may also
clear too and we want to honor those clears as well, however, we need to
ensure that we only clear a layer once, on the first subpass that uses
a particular
v2:
- rebased on top of subpass rework.
---
src/intel/vulkan/genX_cmd_buffer.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/src/intel/vulkan/genX_cmd_buffer.c
b/src/intel/vulkan/genX_cmd_buffer.c
index a9e5b2e78c..010b52c10a 100644
---
On Tue, 2018-02-20 at 21:15 -0800, Matt Turner wrote:
> Gen11 does not support DF, Q, UQ types in hardware. As a result, we
> have
> to disable some GL extensions until they can be reimplemented.
> ---
> src/intel/common/gen_device_info.c | 3 +++
> src/intel/common/gen_device_info.h
Reviewed-by: Iago Toral Quiroga
On Wed, 2018-02-21 at 14:42 +1100, Timothy Arceri wrote:
> This was originally intended to make sure the remap location
> was not -1. However the code has changed alot since then,
> the location is now never set to -1 and we also handle
>
On Wednesday, 2018-02-21 14:05:56 +, Daniel Stone wrote:
> Signed-off-by: Daniel Stone
> ---
> src/loader/loader_dri3_helper.c | 5 +++--
> src/loader/meson.build | 2 +-
Assuming automake already has the right include path,
Reviewed-by: Eric Engestrom
>
> Something doesn't look quite right - it seems that xmesa_init_display
> should be fixed instead.
>
> Currently it returns non-NULL when either of the following fail:
> - driver.create_pipe_screen()
> - CALLOC_STRUCT
>
> I would add an explicit check after those + goto err_path.
> The latter
Not currently used.
Signed-off-by: Daniel Stone
Reviewed-by: Jason Ekstrand
---
src/vulkan/wsi/wsi_common.c | 20
src/vulkan/wsi/wsi_common_private.h | 9 +
src/vulkan/wsi/wsi_common_wayland.c | 11 +++
The DRI3 drawable info struct currently stores a boolean for whether the
last completed operation was a flip or not. As we need to track the full
completion mode for handling suboptimal returns, change the 'flipping'
field to the raw present completion mode from the server.
Signed-off-by: Daniel
The FIFO thread signals shutdown by pushing UINT32_MAX into the acquire
queue, and shutdown is signaled to it by pushing UINT32_MAX into the
present queue.
Explicitly catch a push of UINT32_MAX in either direction and treat this
as error.
Signed-off-by: Daniel Stone
---
Signed-off-by: Daniel Stone
---
src/loader/loader_dri3_helper.c | 5 +++--
src/loader/meson.build | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/loader/loader_dri3_helper.c b/src/loader/loader_dri3_helper.c
index
This fixes a segfault exposed by a29d63ecf7 which occurs when swr is
used on an unsupported architecture.
Signed-off-by: Chuck Atkins
Cc: mesa-sta...@lists.freedesktop.org
Cc: George Kyriazis
Cc: Bruce Cherniak
---
According to "Table 1. Image and image view parameter compatibility
requirements", this is invalid.
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_image.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/amd/vulkan/radv_image.c
It's basically just the opposite, and it only makes sense to
round the layer for 2D texture arrays.
Signed-off-by: Samuel Pitoiset
---
src/amd/common/ac_nir_to_llvm.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
Sorry for the repeat, I was adding the Intel devs to the CC list since it's
related to swr
-Chuck
On Wed, Feb 21, 2018 at 9:26 AM, Chuck Atkins
wrote:
> This fixes a segfault exposed by a29d63ecf7 which occurs when swr is
> used on an unsupported architecture.
>
>
On Wed, Feb 21, 2018 at 3:27 PM, Samuel Pitoiset
wrote:
> According to "Table 1. Image and image view parameter compatibility
> requirements", this is invalid.
>
> Signed-off-by: Samuel Pitoiset
> ---
> src/amd/vulkan/radv_image.c | 5 +
On Wednesday, 2018-02-21 09:26:34 -0500, Chuck Atkins wrote:
> This fixes a segfault exposed by a29d63ecf7 which occurs when swr is
> used on an unsupported architecture.
>
> Signed-off-by: Chuck Atkins
> Cc: mesa-sta...@lists.freedesktop.org
> Cc: George Kyriazis
On 21 February 2018 at 14:26, Chuck Atkins wrote:
> This fixes a segfault exposed by a29d63ecf7 which occurs when swr is
> used on an unsupported architecture.
>
> Signed-off-by: Chuck Atkins
> Cc: mesa-sta...@lists.freedesktop.org
> Cc: George
On 21 February 2018 at 14:41, Emil Velikov wrote:
> On 21 February 2018 at 14:26, Chuck Atkins wrote:
>> This fixes a segfault exposed by a29d63ecf7 which occurs when swr is
>> used on an unsupported architecture.
>>
>> Signed-off-by: Chuck
> > - if (xmdpy->smapi->destroy)
> > - xmdpy->smapi->destroy(xmdpy->smapi);
> > - free(xmdpy->smapi);
> > + if (xmdpy->smapi)
> > + {
> > + if (xmdpy->smapi->destroy)
> > + xmdpy->smapi->destroy(xmdpy->smapi);
> > + free(xmdpy->smapi);
> > + }
>
> I don't know this
On Wednesday, 2018-02-21 14:05:57 +, Daniel Stone wrote:
> The DRI3 drawable info struct currently stores a boolean for whether the
> last completed operation was a flip or not. As we need to track the full
> completion mode for handling suboptimal returns, change the 'flipping'
> field to the
Build mesa 6986 completed
Commit c7e22483fe by Daniel Stone on 2/20/2018 8:56 PM:
vulkan/wsi/x11: Consistently update and return swapchain status\n\nUse a helper function for updating the swapchain status. This will be\nused later to handle VK_SUBOPTIMAL_KHR,
On Wed, Feb 21, 2018 at 11:04 AM, Matt Turner wrote:
> On Wed, Feb 21, 2018 at 10:37 AM, Anuj Phogat wrote:
>> On Wed, Feb 21, 2018 at 9:22 AM, Rafael Antognolli
>> wrote:
>>> My understanding is that this commit is enough
Signed-off-by: Pierre Moreau
---
Notes:
v3:
* Remove the const on the length argument to CreateProgramWithILKHR
(Francisco
Jerez);
* Capitalize comment (Francisco Jerez);
* Store the IL as a std::vector instead of a pointer + size (Francisco
Jerez);
Signed-off-by: Pierre Moreau
---
Notes:
v3: Advertise cl_khr_il_program if if the device support NATIVE as IR
src/gallium/state_trackers/clover/api/platform.cpp | 2 ++
src/gallium/state_trackers/clover/core/device.cpp | 4 +++-
2 files changed, 5 insertions(+), 1
Signed-off-by: Pierre Moreau
---
Notes:
v3:
* Bump the required version of SPIRV-Tools to the latest release;
* Add a dependency on llvm-spirv.
configure.ac | 10 ++
meson.build | 4
2 files changed, 14 insertions(+)
diff --git a/configure.ac
Signed-off-by: Pierre Moreau
---
Notes:
v3: Switch from using a pointer attribute to a vector (Francisco Jerez)
src/gallium/state_trackers/clover/api/program.cpp | 7 +++
1 file changed, 7 insertions(+)
diff --git
Signed-off-by: Pierre Moreau
---
src/gallium/state_trackers/clover/api/device.cpp | 3 +--
src/gallium/state_trackers/clover/api/program.cpp | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/clover/api/device.cpp
Signed-off-by: Pierre Moreau
---
Notes:
v3: Remove the const from the length argument of clCreateProgramWithIL
src/gallium/state_trackers/clover/api/dispatch.cpp | 2 +-
src/gallium/state_trackers/clover/api/program.cpp | 8
2 files changed, 9
Build mesa 6985 failed
Commit cdeac00267 by Timothy Arceri on 2/21/2018 3:36 AM:
nir: remove old assert\n\nThis was originally intended to make sure the remap location\nwas not -1. However the code has changed alot since then,\nthe location is now never set to
2018-02-22 10:57 GMT+10:00 Dieter Nützel :
> Making all in vulkan
> make[3]: Verzeichnis „/opt/mesa/src/vulkan“ wird betreten
> make[3]: *** Keine Regel vorhanden, um das Ziel
> „/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml“,
> benötigt von
Am 22.02.2018 02:35, schrieb Dave Airlie:
2018-02-22 10:57 GMT+10:00 Dieter Nützel :
Making all in vulkan
make[3]: Verzeichnis „/opt/mesa/src/vulkan“ wird betreten
make[3]: *** Keine Regel vorhanden, um das Ziel
„/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml“,
On Tue, Feb 20, 2018 at 6:28 AM, Kenneth Graunke wrote:
> Both KHR_blend_equation_advanced and ARB_bindless_texture provide
> layout qualifiers, and are exposed in compatibility contexts. We
> need to parse the layout qualifier as a token in order for those
> to work, but
From: Karol Herbst
v2: add more prototypes
Signed-off-by: Karol Herbst
Signed-off-by: Pierre Moreau
---
src/gallium/state_trackers/clover/api/dispatch.cpp | 29 +++-
src/gallium/state_trackers/clover/api/dispatch.hpp | 190
Hello,
This updated series contains some additional fixes to clover, updates to the
OpenCL headers shipped with Mesa, the removal of the TGSI backend in clover (as
unused), the introduction of a new dependency, llvm-spirv, and some more
changes summarised further down.
llvm-spirv can be
If creating a library, do not allow non-compiled object in it, as
executables are not allowed, and libraries would make it really hard to
enforce the "-enable-link-options" flag.
Reviewed-by: Francisco Jerez
Signed-off-by: Pierre Moreau
---
Notes:
On 22 February 2018 at 11:58, Dieter Nützel wrote:
> Am 22.02.2018 02:35, schrieb Dave Airlie:
>>
>> 2018-02-22 10:57 GMT+10:00 Dieter Nützel :
>>>
>>> Making all in vulkan
>>> make[3]: Verzeichnis „/opt/mesa/src/vulkan“ wird betreten
>>> make[3]: ***
6 is Acked-By: Aaron Watry
7-11 (regardless of my comment in 9) are Reviewed-By: Aaron Watry
--Aaron
On Wed, Feb 21, 2018 at 4:50 PM, Pierre Moreau wrote:
> Reviewed-by: Francisco Jerez
> Signed-off-by: Pierre
On Tue 20 Feb 2018, Jason Ekstrand wrote:
> On Mon, Feb 19, 2018 at 10:01 AM, Chad Versace <[1]chadvers...@chromium.org>
> wrote:
>
> On Wed 24 Jan 2018, Jason Ekstrand wrote:
> > We're about to start letting the intel_obj->_Format be the "real"
> > texture format. For depth/stencil
Kenneth Graunke writes:
> On Thursday, February 8, 2018 8:47:00 PM PST Emil Velikov wrote:
>> Rejected (9)
>>
>> Jason Ekstrand (2):
>> e52a9f18d69c94b7cb7f81361cdb9e2582c3d742 i965: Replace
>> draw_aux_buffer_disabled with draw_aux_usage
>>
Making all in vulkan
make[3]: Verzeichnis „/opt/mesa/src/vulkan“ wird betreten
make[3]: *** Keine Regel vorhanden, um das Ziel
„/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml“,
benötigt von „wsi/linux-dmabuf-unstable-v1-protocol.c“, zu erstellen.
Schluss.
make[3]: Verzeichnis
On Wed, Feb 21, 2018 at 4:50 PM, Pierre Moreau wrote:
> One flag that needs to be tracked is whether a library is allowed to
> received mathematics optimisations or not, as the authorisation is given
> when creating the library while the optimisations are specified when
>
On Wed, 2018-02-21 at 09:58 -0800, Nanley Chery wrote:
> On Wed, Feb 21, 2018 at 09:18:49AM +0100, Iago Toral Quiroga wrote:
> > We were only resolving the first.
> >
> > v2:
> > - Do not require that the number of layers on dst and src are an
> > exact match, it is okay if the dst has more
On 30/01/18 01:24, Roland Scheidegger wrote:
> Am 29.01.2018 um 17:03 schrieb Alejandro Piñeiro:
>> On 29/01/18 16:38, Roland Scheidegger wrote:
>>> Am 29.01.2018 um 09:09 schrieb Alejandro Piñeiro:
On 27/01/18 12:09, Roland Scheidegger wrote:
> Am 27.01.2018 um 09:52 schrieb Alejandro
On Wed, Feb 21, 2018 at 6:05 AM, Daniel Stone wrote:
> From: Louis-Francis Ratté-Boulianne
>
> Add support for DRI3 v1.1, which allows pixmaps to be backed by
> multi-planar buffers, or those with format modifiers. This is both
> for allocating render
Assuming you're ok with the squash-in and modifications in my branch, the
whole lot is
Reviewed-by: Jason Ekstrand
except, of course, for the ones written by me. Let's make this happen!
--Jason
On Wed, Feb 21, 2018 at 6:05 AM, Daniel Stone wrote:
On Wed, Feb 21, 2018 at 1:22 PM, Emil Velikov wrote:
> On 21 February 2018 at 18:50, Rob Herring wrote:
>> On Wed, Feb 21, 2018 at 10:01 AM, Emil Velikov
>> wrote:
>>> Hi all,
>>>
>>> Pardon for dropping in late. I think
On Wed 24 Jan 2018, Jason Ekstrand wrote:
> Cc: Chad Versace
> ---
> src/intel/isl/isl.h | 24
> 1 file changed, 20 insertions(+), 4 deletions(-)
>
> diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
> index e3acb0e..cf53b5a 100644
> ---
On Wed 21 Feb 2018, Daniel Vetter wrote:
> On Tue, Feb 20, 2018 at 10:14:47PM -0800, Chad Versace wrote:
> > On Thu 21 Dec 2017, Daniel Vetter wrote:
> > > On Thu, Dec 21, 2017 at 12:22 AM, Kristian Kristensen
> > > wrote:
> > >> On Wed, Dec 20, 2017 at 12:41 PM, Miguel
On Wed, Feb 21, 2018 at 1:14 AM, Chad Versace wrote:
> On Thu 21 Dec 2017, Daniel Vetter wrote:
>> On Thu, Dec 21, 2017 at 12:22 AM, Kristian Kristensen
>> wrote:
>>> On Wed, Dec 20, 2017 at 12:41 PM, Miguel Angel Vico
>>>
Patches 1-5:
Reviewed-By: Aaron Watry
On Wed, Feb 21, 2018 at 4:50 PM, Pierre Moreau wrote:
> Signed-off-by: Pierre Moreau
> ---
> src/gallium/state_trackers/clover/core/device.cpp | 6 +-
> 1 file changed, 1 insertion(+), 5
https://bugs.freedesktop.org/show_bug.cgi?id=105161
Kenneth Graunke changed:
What|Removed |Added
Resolution|--- |NOTABUG
One flag that needs to be tracked is whether a library is allowed to
received mathematics optimisations or not, as the authorisation is given
when creating the library while the optimisations are specified when
creating the executable.
Signed-off-by: Pierre Moreau
---
Signed-off-by: Pierre Moreau
---
src/gallium/state_trackers/clover/api/program.cpp | 39 +-
src/gallium/state_trackers/clover/core/program.cpp | 3 +-
2 files changed, 25 insertions(+), 17 deletions(-)
diff --git
Signed-off-by: Pierre Moreau
---
src/gallium/state_trackers/clover/core/device.cpp | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/gallium/state_trackers/clover/core/device.cpp
b/src/gallium/state_trackers/clover/core/device.cpp
index
Signed-off-by: Pierre Moreau
---
src/gallium/state_trackers/clover/Makefile.am | 11 +-
src/gallium/state_trackers/clover/Makefile.sources | 4 -
src/gallium/state_trackers/clover/core/program.cpp | 15 +--
src/gallium/state_trackers/clover/meson.build | 9
Acked-by: Francisco Jerez
Reviewed-by: Karol Herbst
Signed-off-by: Pierre Moreau
---
src/gallium/state_trackers/clover/api/device.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Signed-off-by: Pierre Moreau
---
Notes:
v3: Throw an exception if the cl_khr_il_program extension is not supported
(Francisco Jerez)
src/gallium/state_trackers/clover/api/device.cpp | 7 +++
1 file changed, 7 insertions(+)
diff --git
Reviewed-by: Francisco Jerez
Signed-off-by: Pierre Moreau
---
src/gallium/state_trackers/clover/api/platform.cpp | 4 ++--
src/gallium/state_trackers/clover/core/platform.cpp | 5 +
src/gallium/state_trackers/clover/core/platform.hpp | 2 ++
3
Reviewed-by: Karol Herbst
Signed-off-by: Pierre Moreau
---
include/CL/cl_ext.h | 37 +
1 file changed, 37 insertions(+)
diff --git a/include/CL/cl_ext.h b/include/CL/cl_ext.h
index 5078e8f45f..5ea4968042 100644
---
Signed-off-by: Pierre Moreau
---
.../state_trackers/clover/llvm/invocation.cpp | 26 ++
.../state_trackers/clover/llvm/invocation.hpp | 4
src/gallium/state_trackers/clover/meson.build | 2 +-
3 files changed, 31 insertions(+), 1
Signed-off-by: Pierre Moreau
---
Notes:
v3:
* Dropped supported_irs() (Francisco Jerez)
* Changed supports_ir() argument type to `enum pipe_shader_ir` (Francisco
Jerez)
src/gallium/state_trackers/clover/core/device.cpp | 6 ++
Reviewed-by: Francisco Jerez
Signed-off-by: Pierre Moreau
---
src/gallium/state_trackers/clover/api/device.cpp | 11 +--
src/gallium/state_trackers/clover/core/device.cpp | 14 ++
From the OpenCL 1.2 Specification, Section 5.6.2 (about clBuildProgram):
> If program is created with clCreateProgramWithBinary, then the
> program binary must be an executable binary (not a compiled binary or
> library).
Signed-off-by: Pierre Moreau
---
From: Mathias Fröhlich
Switch over to use the _DrawVAO for all the array type draws.
The _DrawVAO needs to be set before we enter _mesa_update_state, so move
setting the draw method in front of the first call to _mesa_update_state
which is in turn called from the
From: Mathias Fröhlich
We will need the flush_vertices argument later in this series.
Signed-off-by: Mathias Fröhlich
---
src/mesa/drivers/common/meta.c | 18 +++---
src/mesa/main/enable.c | 4 ++--
From: Mathias Fröhlich
Correct VBO_MATERIAL_SHIFT value.
The functions will be used next in this series.
Signed-off-by: Mathias Fröhlich
---
src/mesa/vbo/vbo_attrib.h | 4 ++--
src/mesa/vbo/vbo_private.h | 53
From: Mathias Fröhlich
Finally use an internal VAO to execute display list draws. Avoid
duplicate state validation for display list draws. Remove client arrays
previously used exclusively for display lists.
Signed-off-by: Mathias Fröhlich
---
From: Mathias Fröhlich
Is now unused.
Signed-off-by: Mathias Fröhlich
---
src/mesa/vbo/vbo_private.h | 27 ---
1 file changed, 27 deletions(-)
diff --git a/src/mesa/vbo/vbo_private.h b/src/mesa/vbo/vbo_private.h
From: Mathias Fröhlich
To get equivalent information than get_vp_mode(), track the vertex
processing mode in a per context variable at
gl_vertex_program_state::_VPMode.
This aims to replace get_vp_mode() as seen in the vbo module.
But instead of the get_vp_mode()
From: Mathias Fröhlich
During the patch series this VAO gets populated with either the currently
bound VAO or an internal VAO that will be used for immediate mode and
dlist rendering.
v2: More comments about the _DrawVAO, filter and enabled mask.
Rename
From: Mathias Fröhlich
Provided the _DrawVAO and the derived state that is maintained if we have
the _DrawVAO set, implement a method to incrementally update the array of
gl_vertex_array input pointers.
v2: Add some more comments.
Rename _vbo_array_init to
We don't want filtering for integer textures, same as depth/stencil.
Fixes: KHR-GL45.direct_state_access.renderbuffers_storage_multisample
Signed-off-by: Ilia Mirkin
---
src/gallium/drivers/nouveau/nv50/nv50_blit.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
From: Mathias Fröhlich
At those places where we used get_vp_mode() use
gl_vertex_program_state::_VPMode instead.
Signed-off-by: Mathias Fröhlich
---
src/mesa/vbo/vbo_exec.c | 4 ++--
src/mesa/vbo/vbo_exec_array.c | 11 ++-
From: Mathias Fröhlich
Finally use an internal VAO to execute immediate mode draws. Avoid
duplicate state validation for immediate mode draws. Remove client arrays
previously used exclusively for immediate mode draws.
Signed-off-by: Mathias Fröhlich
From: Mathias Fröhlich
Hi Brian,
Thanks for the review on v1!!
The following series moves over to draw via a VAO in all draw
paths. At the current stage this introduces an additional
indirection for the immediate mode and display list draws.
But in the mid term using
From: Mathias Fröhlich
We will need the flush_vertices argument later in this series.
Signed-off-by: Mathias Fröhlich
---
src/mesa/drivers/common/meta.c | 16 +---
src/mesa/main/bufferobj.c | 2 +-
src/mesa/main/varray.c
From: Mathias Fröhlich
Change vertex_attrib_binding() to _mesa_vertex_attrib_binding(), add a
flush_vertices argument, and make it publically available.
The function will be needed later in the series.
Signed-off-by: Mathias Fröhlich
---
From: Mathias Fröhlich
VAOs will be used in the next change as immutable object across multiple
contexts. Only reference counting may write concurrently on the VAO. So,
make the reference count thread safe for those and only those VAO objects.
Signed-off-by: Mathias
On Thu, Feb 22, 2018 at 7:23 AM, Rob Herring wrote:
>
> On Wed, Feb 21, 2018 at 1:22 PM, Emil Velikov
> wrote:
> > On 21 February 2018 at 18:50, Rob Herring wrote:
> >> On Wed, Feb 21, 2018 at 10:01 AM, Emil Velikov
1 - 100 of 189 matches
Mail list logo