- 22 Jun, 2020 1 commit
-
-
Neil Roberts authored
Adds PIPE_CAP_PRIMITIVE_RESTART_FIXED_INDEX which is a subset of the primitive restart cap for when the hardware can only support the fixed indices specified in GLES. The switch statements were automatically modified with this command: find \( \( -name \*.cpp -o -name \*.c \) \! -type l \) \ -exec sed -i -r \ 's/^(\s*case\s+PIPE_CAP_PRIMITIVE_RESTART)\s*:.*$/\0\n\1_FIXED_INDEX:/' \ {} \; v2: Add a note in screen.rst Reviewed-by: Eric Anholt <eric@anholt.net> (v1) Reviewed by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <!5559>
-
- 02 Jun, 2020 1 commit
-
-
Marek Olšák authored
Reviewed-by:
Rob Clark <robdclark@chromium.org> Part-of: <!5002>
-
- 13 May, 2020 2 commits
-
-
Marek Olšák authored
Acked-by:
Eric Anholt <eric@anholt.net> Acked-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Acked-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <!4902>
-
Marek Olšák authored
Acked-by:
Eric Anholt <eric@anholt.net> Acked-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Acked-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <!4902>
-
- 11 May, 2020 1 commit
-
-
Pierre-Eric Pelloux-Prayer authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <!4401>
-
- 05 May, 2020 1 commit
-
-
Pierre-Eric Pelloux-Prayer authored
Allows driver to select a zero init mode between the 3 possible values. Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <!4607>
-
- 29 Apr, 2020 1 commit
-
-
Mike Blumenkrantz authored
this adds a new pipe cap that drivers can support which enables passing buffer clears with scissor test enabled through to be handled by the driver instead of having mesa draw a quad also adjust all existing clear() hooks to have the new parameter Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-by:
Vasily Khoruzhick <anarsoul@gmail.com> Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <!4310>
-
- 27 Apr, 2020 1 commit
-
-
Marek Olšák authored
and add radeonsi support. Acked-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <!4758>
-
- 23 Apr, 2020 1 commit
-
-
Indrajit Kumar Das authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!4543>
-
- 16 Apr, 2020 1 commit
-
-
Ilia Mirkin authored
Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <!4529>
-
- 15 Apr, 2020 1 commit
-
-
Karol Herbst authored
v2: split enum in specific caps to abstract the CL enum v3: remove BUFFER_SVM caps Signed-off-by:
Karol Herbst <kherbst@redhat.com> Reviewed-by:
Francisco Jerez <currojerez@riseup.net> Part-of: <!2076>
-
- 12 Apr, 2020 1 commit
-
-
Ilia Mirkin authored
Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <!4519>
-
- 27 Mar, 2020 1 commit
-
-
Marek Olšák authored
It's a mess, but this is what I arrived at. Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com Part-of: <!4324>
-
- 21 Mar, 2020 1 commit
-
-
Marek Olšák authored
The default is 512 KB, but radeonsi wants 4 MB. Acked-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Tested-by: Marge Bot <!4154> Part-of: <!4154>
-
- 11 Mar, 2020 1 commit
-
-
Marek Olšák authored
Reviewed-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <!3591>
-
- 03 Mar, 2020 3 commits
-
-
Louis-Francis Ratté-Boulianne authored
This new capability indicates that the point size has been clamped. This also means that the gl_PointSize has been modified and that its value should be lowered for transform feedback, if needed. Signed-off-by:
Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Reviewed-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Acked-by:
Daniel Stone <daniels@collabora.com> Part-of: <mesa/mesa!2433>
-
Louis-Francis Ratté-Boulianne authored
This new capability indicates that the nir_lower_viewport_transform pass is enabled. This also means that the gl_Position value is modified and should be lowered for transform feedback, if needed. Signed-off-by:
Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Reviewed-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Acked-by:
Daniel Stone <daniels@collabora.com> Part-of: <mesa/mesa!2433>
-
Louis-Francis Ratté-Boulianne authored
Setting this cap to 0 (default is 1) should disable packing optimization for stream output (e.g. GL transform feedback captured variables). Signed-off-by:
Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Reviewed-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Acked-by:
Daniel Stone <daniels@collabora.com> Part-of: <mesa/mesa!2433>
-
- 24 Feb, 2020 1 commit
-
-
Eric Anholt authored
The deref stuff is hard to handle in a backend supporting dynamic indexing, while the lowering can easily turn that into the same kind of dynamic indexing we do for textures, UBOs, and SSBOs. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <!3728>
-
- 13 Feb, 2020 1 commit
-
-
Lionel Landwerlin authored
Adding a new CSO proved to be fairly difficult especially because this extension affect draw/dispatch/blit alike. Instead this change passes the state of the noop into the entry points emitting the operations affected. v2: Fix assert in default pipe caps v3: Drop whitespace changes (Ken) Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <!2964>
-
- 23 Jan, 2020 2 commits
-
-
Ian Romanick authored
Driver supports integer multiplication between a 32-bit integer and a 16-bit integer. If the second operand is 32-bits, the upper 16-bits are ignored, and the low 16-bits are possibly sign extended as necessary. Iris will eventually enable this. Not sure about other drivers. v2: Add default value to u_screen.c. Suggested by Caio. Reviewed-by:
Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <!767>
-
Ian Romanick authored
Iris will eventually enable this. Looking at the header files, it looks like Midgard could also enable it. Basically, any GPU that fully supports OpenCL can. v2: Add default value to u_screen.c. Suggested by Caio. Reviewed-by:
Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <!767>
-
- 21 Dec, 2019 1 commit
-
-
Christian Gmeiner authored
Add PIPE_CAP_MAX_VERTEX_BUFFERS param, which defaults to 16. Signed-off-by:
Christian Gmeiner <christian.gmeiner@gmail.com> Signed-off-by:
Paul Cercueil <paul@crapouillou.net> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <!2807>
-
- 11 Dec, 2019 1 commit
-
-
Dongwon Kim authored
new state tracker APIs added for INTEL_performance_query This extension is enabled if all vendor specific functions for it exist. v2: add st_cb_perfquery.* to the list of sources in Makefile v3: minor code clean-up v4: - add driver hooks for intel-performance-query apis - add PIPE level performance counter and type enums that match to OpenGL enums - do conversion of pipe_perf_counter_type and pipe_perf_counter_data_type enums to GL defines in state_tracker Signed-off-by:
Dongwon Kim <dongwon.kim@intel.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
-
- 05 Nov, 2019 2 commits
-
-
Dylan Baker authored
As requested by Tim. This was generated with: grep 'PIPE_ARCH_.*_ENDIAN' -rIl | xargs sed -ie 's@PIPE_ARCH_\(.*\)_ENDIAN@UTIL_ARCH_\1_ENDIAN@'g v2: - add this patch Reviewed-by:
Eric Engestrom <eric@engestrom.ch>
-
Dylan Baker authored
This will allow it to be used as a drop in replacement for _mesa_little_endian in a number of cases. v2: - Always define PIPE_ARCH_LITTLE_ENDIAN and PIPE_ARCH_BIG_ENDIAN, define the one that reflects the host system to 1 and the other to 0 - replace all uses of #ifdef, #ifndef, and #if defined() with #if and #if ! with PIPE_ARCH_*_ENDIAN Reviewed-by:
Eric Engestrom <eric@engestrom.ch>
-
- 17 Oct, 2019 5 commits
-
-
Erik Faye-Lund authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Erik Faye-Lund authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Erik Faye-Lund authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Erik Faye-Lund authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Dave Airlie authored
This allows the driver to request flatshade lowering. (NIR drivers only so far). Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 14 Oct, 2019 1 commit
-
-
James Xiong authored
v2: [ Michel Dänzer ] * Update src/gallium/docs/source/screen.rst accordingly Signed-off-by:
James Xiong <james.xiong@intel.com> Reviewed-by: Michel Dänzer <mdaenzer@redhat.com> # v1 Reviewed-by: Marek Olšák <marek.olsak@amd.com> # v1
-
- 11 Oct, 2019 1 commit
-
-
Dave Airlie authored
Accessing the TG4 component via immediates in the llvmpipe backend is quite messy (like really messy). Roland suggested we change the instruction encoding, so introduce a cap to allow the component to be selected to be store in the sampler swizzle, which should be otherwise unused. I could probably switch all drivers over, but virgl would need some work that I'd prefer not to rush it. Signed-off-by:
Dave Airlie <airlied@redhat.com> Reviewed-by:
Roland Scheidegger <sroland@vmware.com>
-
- 10 Oct, 2019 1 commit
-
-
Marek Olšák authored
Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by:
Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
-
- 08 Oct, 2019 1 commit
-
-
Marek Olšák authored
u_upload_mgr sets it, so that util_range_add can skip the lock. The time spent in tc_transfer_flush_region decreases from 0.8% to 0.2% in torcs on radeonsi. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
-
- 30 Sep, 2019 1 commit
-
-
Caio Marcelo de Oliveira Filho authored
To enable EXT_demote_to_helper_invocation: This extension adds a "demote" keyword that is similar to "discard" but only suppresses subsequent writes and outputs to the framebuffer, and does not terminate the execution of the invocation. For the remainder of the execution, the invocation is "demoted" to act like a helper invocation. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
-
- 21 Sep, 2019 1 commit
-
-
Karol Herbst authored
v2: minor formatting fixes v3: call glsl_type_singleton_init_or_ref and glsl_type_singleton_decref v4: capitalize and punctuate comments fix text_executable -> text_intermediate in TODO make glsl_type_singleton wrapper static v5: rewrite how we run the nir passes v6: fix unhandled case switch warning in st/mesa Signed-off-by:
Karol Herbst <kherbst@redhat.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net> (v4)
-
- 18 Sep, 2019 1 commit
-
-
Christian Gmeiner authored
There are GPUs that do not support this feature. This reverts commit e871abe4Signed-off-by:
Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-by:
Eric Anholt <eric@anholt.net>
-
- 10 Sep, 2019 1 commit
-
-
Caio Marcelo de Oliveira Filho authored
The PIPE_CAP_GL_SPIRV capability enables ARB_gl_spirv and ARB_spirv_extensions, and will make sure the corresponding SPIR-V capabilities and extensions lists are initialized. The additional PIPE_CAP_GL_SPIRV_VARIABLE_POINTERS capability enables the support for Variable Pointers in SPIR-V shaders. This depends on the driver and is not mandatory for ARB_gl_spirv support. v2: Add a PIPE_CAP for Variable Pointers. (Marek) Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> [v1]
-
- 05 Sep, 2019 1 commit
-
-
Connor Abbott authored
For radeonsi, we will prefer the NIR pass as it'll generate better code (some index calculation and a single load vs. a load, then index calculation, then another load) and oftentimes NIR optimization can kick in and make all the access indices constant. Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-