- 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>
-
- 21 Jan, 2020 1 commit
-
-
Eric Anholt authored
u_screen will return 0 for all of these, which means that this is one less driver to see in git grep when I'm checking who exposes a cap. The exception is the texel/gather offsets and stream output components, which will not be exposed since we don't expose the corresponding GLSL version. Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <!3493>
-
- 14 Nov, 2019 1 commit
-
-
Eric Anholt authored
To make PIPE_FORMATs usable from non-gallium parts of Mesa, I want to move their helpers out of gallium. Since u_format used util_copy_rect(), I moved that in there, too. I've put it in a separate directory in util/ because it's a big chunk of related code, and it's not clear to me whether we might want it as a separate library from libmesa_util at some point. Closes: #1905Acked-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.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>
-
- 23 Jul, 2019 1 commit
-
-
Ilia Mirkin authored
This is a relatively minimal change to adjust all the gallium interfaces to use bool instead of boolean. I tried to avoid making unrelated changes inside of drivers to flip boolean -> bool to reduce the risk of regressions (the compiler will much more easily allow "dirty" values inside a char-based boolean than a C99 _Bool). This has been build-tested on amd64 with: Gallium drivers: nouveau r300 r600 radeonsi freedreno swrast etnaviv v3d vc4 i915 svga virgl swr panfrost iris lima kmsro Gallium st: mesa xa xvmc xvmc vdpau va Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Acked-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
-
- 10 Jul, 2019 1 commit
-
-
Erik Faye-Lund authored
PIPE_CAP_SM3 has always been an odd one out of all our caps. While most other caps are fine-grained and single-purpose, this cap encode several features in one. And since OpenGL cares more about single features, it'd be nice to get rid of this one. As it turns, this is now relatively simple. We only really care about three features using this cap, and those already got their own caps. So we can remove it, and make sure all current drivers just give the same response to all of them. The only place we *really* care about SM3 is in nine, and there we can instead just re-construct the information based on the finer-grained caps. This avoids DX9 semantics from needlessly leaking into all of the drivers, most of who doesn't care a whole lot about DX9 specifically. Signed-off-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Acked-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
-
- 12 Jun, 2019 1 commit
-
-
Rui Salvaterra authored
This implements GLSL disk shader caching for the R300-R500 series of AMD GPUs. Signed-off-by:
Rui Salvaterra <rsalvaterra@gmail.com> Signed-off-by:
Marek Olšák <marek.olsak@amd.com>
-
- 23 May, 2019 1 commit
-
-
Kenneth Graunke authored
TGSI's FBFETCH instruction currently only supports reading from a single render target, but NIR intrinsics can support multiple render targets. radeonsi can only support fetching from RT 0, but other drivers may be able to support fetching from any render target. To express this, this patch renames PIPE_CAP_TGSI_FS_FBFETCH to simply PIPE_CAP_FBFETCH, and converts it from a boolean "is FBFETCH supported?" to an integer number of render targets which can be fetched. Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 13 May, 2019 1 commit
-
-
Eric Anholt authored
The _LEVELS assumes that the max is always power of two. For V3D 4.2, we can support up to 7680 non-power-of-two MSAA textures, which will let X11 support dual 4k displays on newer hardware. Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 24 Apr, 2019 2 commits
-
-
Marek Olšák authored
Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
-
Marek Olšák authored
Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org>
-
- 08 Feb, 2019 1 commit
-
-
Karol Herbst authored
Some NVIDIA hardware can accept 128 fragment shader input components, but only have up to 124 varying-interpolated input components. We add a new cap to express this cleanly. For most drivers, this will have the same value as PIPE_SHADER_CAP_MAX_INPUTS for the fragment shader. Fixes KHR-GL45.limits.max_fragment_input_components Signed-off-by:
Karol Herbst <karolherbst@gmail.com> [imirkin: rebased, improved docs/commit message] Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Acked-by:
Rob Clark <robdclark@gmail.com> Acked-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Cc: 19.0 <mesa-stable@lists.freedesktop.org>
-
- 20 Sep, 2018 1 commit
-
-
Brian Paul authored
Reviewed-by:
Mathias Fröhlich <Mathias.Froehlich@web.de>
-
- 07 Sep, 2018 2 commits
-
-
Marek Olšák authored
-
Marek Olšák authored
-
- 04 Sep, 2018 1 commit
-
-
Eric Anholt authored
One of the pains of implementing a gallium driver is filling in a million pipe caps you don't know about yet when you're just starting out. One of the pains of working on gallium is copy-and-pasting your new PIPE_CAP into each driver. We can fix both of these by having each driver call into the default helper from their default case, so that both sides can ignore each other until they need to. v2: fix i915g build, revert swr change to avoid breaking scons build (https://travis-ci.org/anholt/mesa/jobs/419739857) v3: Rebase on 3 new gallium caps. Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v1) Cc: Bruce Cherniak <bruce.cherniak@intel.com> Cc: George Kyriazis <george.kyriazis@intel.com> Cc: Kenneth Graunke <kenneth@whitecape.org>
-
- 25 Aug, 2018 1 commit
-
-
Kenneth Graunke authored
Some hardware can do PIPE_TEX_WRAP_MIRROR_REPEAT but not PIPE_TEX_WRAP_MIRROR_CLAMP and PIPE_TEX_WRAP_MIRROR_CLAMP_TO_BORDER. Drivers for such hardware would like to advertise support for ARB_texture_mirror_clamp_to_edge but not EXT_texture_mirror_clamp. This commit adds a new PIPE_CAP_TEXTURE_MIRROR_CLAMP_TO_EDGE bit, changes the extension enable to be based on that, and enables it in all upstream drivers which supported PIPE_CAP_TEXTURE_MIRROR_CLAMP (so they continue supporting this mode).
-
- 23 Aug, 2018 2 commits
-
-
Marek Olšák authored
Tested-by:
Dieter Nützel <Dieter@nuetzel-hh.de>
-
Marek Olšák authored
Tested-by:
Dieter Nützel <Dieter@nuetzel-hh.de>
-
- 31 Jul, 2018 2 commits
-
-
Marek Olšák authored
Tested-by:
Dieter Nützel <Dieter@nuetzel-hh.de>
-
Marek Olšák authored
Tested-by:
Dieter Nützel <Dieter@nuetzel-hh.de>
-
- 29 Jun, 2018 1 commit
-
-
Marek Olšák authored
Reviewed-by:
Eric Engestrom <eric@engestrom.ch>
-
- 15 Jun, 2018 1 commit
-
-
Rhys Perry authored
Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> (v2) Reviewed-by: Marek Olšák <marek.olsak@amd.com> (v2)
-
- 30 May, 2018 1 commit
-
-
Marek Olšák authored
Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-
- 01 May, 2018 1 commit
-
-
Rhys Perry authored
Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Brian Paul <brianp@vmware.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 20 Mar, 2018 1 commit
-
-
Timothy Arceri authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 17 Feb, 2018 1 commit
-
-
Marek Olšák authored
Required by radeonsi for optimal behavior.
-
- 13 Feb, 2018 1 commit
-
-
Dave Airlie authored
Nobody queries these and nobody sets them to anything useful, the docs say TODO. Drop them until a use appears. Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 30 Jan, 2018 1 commit
-
-
Andres Rodriguez authored
Protects semaphore signaling functionality required by GL_EXT_semaphore. v2: s/semaphore/fence Signed-off-by:
Andres Rodriguez <andresx7@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 17 Jan, 2018 3 commits
-
-
Marek Olšák authored
Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Tested-by:
Dieter Nützel <Dieter@nuetzel-hh.de>
-
Marek Olšák authored
Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Tested-by:
Dieter Nützel <Dieter@nuetzel-hh.de>
-
Marek Olšák authored
Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Tested-by:
Dieter Nützel <Dieter@nuetzel-hh.de>
-
- 19 Dec, 2017 1 commit
-
-
Rob Clark authored
Signed-off-by:
Rob Clark <robdclark@gmail.com> Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Reviewed-by:
Andres Rodriguez <andresx7@gmail.com> Reviewed-by:
Wladimir J. van der Laan <laanwj@gmail.com>
-
- 17 Nov, 2017 1 commit
-
-
Brian Paul authored
To silence compiler warnings. Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 09 Nov, 2017 2 commits
-
-
Dave Airlie authored
This looks like an evergreen specific feature, but with atomic counters AMD have hw specific counters they use instead of operating on buffers directly. These are separate to the buffer atomics, so require different limits and code paths. I've left the CAP for atomic type extensible in case someone else has a variant on this sort of thing (freedreno maybe?) and needs to change it. This adds all the CAPs required to add support for those atomic counters, along with a related CAP for limiting the number of output resources. I'd like to land this and the st patch then I can start to upstream the evergreen support for these and other GL4.x features. v2: drop the ATOMIC_COUNTER_MODE cap, just use the return from the HW counters. If 0 we use the current mode. v3: fix some rebase errors (Gert Wollny) Reviewed-by:
Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Tested-By:
Gert Wollny <gw.fossdev@gmail.com> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
Nicolai Hähnle authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 06 Nov, 2017 1 commit
-
-
Marek Olšák authored
-
- 01 Nov, 2017 1 commit
-
-
Dave Airlie authored
Some hw (evergreen) has a limit on how many combined (images/buffers/mrts) a fragment shader can access. Reviewed-by:
Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by:
Dave Airlie <airlied@redhat.com>
-
- 10 Oct, 2017 1 commit
-
-
Eric Anholt authored
Because vc4 can control the order that tiles are rasterized in, we can use it to implement overlapping blits using normal drawing and GL_ARB_texture_barrier, as long as we can tell the kernel what order to render the tiles in. This commit introduces the core gallium support, vc4 changes will follow. v2: Fix on the simulator. v3: Add the cap (disabled) to other drivers, add rst docs for the cap. v4: Rebase on PIPE_CAP_TGSI_ANY_REG_AS_ADDRESS v5: Drop vc4 changes from this commit, for clarity. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> (v3)
-