- 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>
-
- 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>
-
- 28 Apr, 2020 1 commit
-
-
Jan Zielinski authored
This commit fixes two problems: - In some cases SWR does not correctly report to Gallium which formats are supported. - Incorrect LLVM instructions are used in vertex fetch in some situations Reviewed-by:
Krzysztof Raszkowski <krzysztof.raszkowski@intel.com> Reviewed-by:
Bruce Cherniak <bruce.cherniak@intel.com> Part-of: <!4788>
-
- 24 Jan, 2020 1 commit
-
-
Jan Zielinski authored
TCS and TES shaders compilation mechanisms in SWR and state management implementation. Reviewed-by:
Krzysztof Raszkowski <krzysztof.raszkowski@intel.com> Reviewed-by:
Bruce Cherniak <bruce.cherniak@intel.com> Acked-by:
Roland Scheidegger <sroland@vmware.com> Acked-by:
Dave Airlie <airlied@redhat.com> Tested-by: Marge Bot <!3484> Part-of: <!3484>
-
- 17 Jan, 2020 1 commit
-
-
Krzysztof Raszkowski authored
When swr driver is in use it print detected architecture message to std::err. It can be harmfull when swr is using in multinodes environments. It can be enabled setting env var SWR_PRINT_INFO to 1. Reviewed-by:
Jan Zielinski <jan.zielinski@intel.com>
-
- 14 Dec, 2019 1 commit
-
-
Denis Pauk authored
Reuse Code from: f69bc797 gallium/auxiliary: Add helper support for bptc format compress/decompress Signed-off-by:
Denis Pauk <pauk.denis@gmail.com> Reviewed-by:
Bruce Cherniak <bruce.cherniak@intel.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> CC: Marek Olšák <maraeo@gmail.com> CC: Tim Rowley <timothy.o.rowley@intel.com>
-
- 13 Dec, 2019 1 commit
-
-
Tomasz Pyra authored
Added support for pause/resume transform feedback. Fixed DrawTransformFeedback. Reviewed-by:
Jan Zielinski <jan.zielinski@intel.com> Reviewed-by:
Krzysztof Raszkowski <krzysztof.raszkowski@intel.com>
-
- 03 Dec, 2019 1 commit
-
-
Krzysztof Raszkowski authored
Reject the new formats in swr to prevent crashes because it doesn't know how to handle the new formats. Reviewed-by:
Jan Zielinski <jan.zielinski@intel.com>
-
- 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>
-
- 08 Nov, 2019 1 commit
-
-
Krzysztof Raszkowski authored
Enable / add to features.txt: - Enhanced textureGather. - Geometry shader instancing. - Geometry shader multiple streams. Reviewed-by:
Jan Zielinski <jan.zielinski@intel.com>
-
- 29 Oct, 2019 1 commit
-
-
Krzysztof Raszkowski authored
Added support for geometry shader multiple streams (part of GL_ARB_gpu_shader5 extension). Reviewed-by:
Jan Zielinski <jan.zielinski@intel.com>
-
- 22 Aug, 2019 1 commit
-
-
Eric Engestrom authored
Signed-off-by:
Eric Engestrom <eric.engestrom@intel.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
- 06 Aug, 2019 1 commit
-
-
Pierre-Eric Pelloux-Prayer authored
Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
- 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>
-
- 19 Jul, 2019 1 commit
-
-
Eric Engestrom authored
Signed-off-by:
Eric Engestrom <eric.engestrom@intel.com> Reviewed-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com> Reviewed-by:
Eric Anholt <eric@anholt.net>
-
- 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>
-
- 03 Jul, 2019 1 commit
-
-
Jan Zielinski authored
The rasterizer core supported ARB_viewport_array, but the swr layer connecting core to Gallium state tracker only allowed one viewport. We add support for multiple viewports to swr layer. Reviewed-by:
Alok Hota <alok.hota@intel.com>
-
- 05 Jun, 2019 1 commit
-
-
Krzysztof Raszkowski authored
This commit fix support and adjusts the capabilities returned by the SWR driver and the documentation to correctly report the GL_ARB_copy_image extension. Reviewed-by:
Alok Hota <alok.hota@intel.com>
-
- 30 May, 2019 1 commit
-
-
Jan Zielinski authored
No significant changes in the code needed to enable the extension. Just updating SWR capabilities and the documentation Reviewed-by:
Alok Hota <alok.hota@intel.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>
-
- 16 May, 2019 1 commit
-
-
Jan Zielinski authored
This commit adjusts the capabilities returned by the SWR driver and the documentation to correctly report the following extensions: GL_ARB_texture_query_lod, GL_ARB_texture_cube_map_array, GL_ARB_gpu_shader_fp64, GL_ARB_texture_gather, GL_ARB_vertex_attrib_64bit. Reviewed-by:
Alok Hota <alok.hota@intel.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>
-
- 15 Apr, 2019 1 commit
-
-
Rhys Perry authored
v3: rebase v3: make use of u_pipe_screen_get_param_defaults Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Signed-off-by:
Marek Olšák <marek.olsak@amd.com>
-
- 22 Feb, 2019 1 commit
-
-
Alok Hota authored
This fixes a bug where SWR will fail to render in cases with large buffer allocations, e.g. very large meshes whose vertex buffers exceed 2GB CC: <mesa-stable@lists.freedesktop.org> Reviewed-by:
Bruce Cherniak <bruce.cherniak@intel.com>
-
- 15 Feb, 2019 1 commit
-
-
Ilia Mirkin authored
Unfortunately swr was missed in the original commit. The number of varyings should generally match up to what's reported as the shader caps for fragment inputs. Fixes: 6010d7b8 (gallium: add PIPE_CAP_MAX_VARYINGS) Signed-off-by:
Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by:
Alok Hota <alok.hota@intel.com> Cc: 19.0 <mesa-stable@lists.freedesktop.org>
-
- 12 Feb, 2019 1 commit
-
-
Alok Hota authored
Without using this function, we fail the -Wswitch flag when compiling the default debugoptimized mode in Meson Reviewed-by:
Bruce Cherniak <bruce.cherniak@intel.com>
-
- 07 Sep, 2018 2 commits
-
-
Marek Olšák authored
-
Marek Olšák authored
-
- 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>
-
- 07 Aug, 2018 1 commit
-
-
Emil Velikov authored
With earlier rework the user and provider of the symbol are within the same binary. Thus there's no point in exporting the function. Spotted while reviewing patch from Chuck, that nearly added another unneeded PUBLIC function. Cc: Chuck Atkins <chuck.atkins@kitware.com> Cc: Tim Rowley <timothy.o.rowley@intel.com> Fixes: f50aa214 "(swr: build driver proper separate from rasterizer") Signed-off-by:
Emil Velikov <emil.velikov@collabora.com> Tested-by:
Chuck Atkins <chuck.atkins@kitware.com> Reviewed-By: George Kyriazis <george.kyriazis@intel.com<mailto:george.kyriazis@intel.com>> Tested-by: Chuck Atkins <chuck.atkins@kitware.com<mailto:chuck.atkins@kitware.com>>
-
- 02 Aug, 2018 1 commit
-
-
Vlad Golovkin authored
Zeroing memory after calloc is not necessary. This also allows to avoid possible crash when allocation fails, because memset is called before checking screen for NULL. Fixes: a29d63ec "swr: refactor swr_create_screen to allow for proper cleanup on error" Reviewed-by:
Eric Engestrom <eric.engestrom@intel.com>
-
- 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>
-
- 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>
-
- 29 Mar, 2018 1 commit
-
-
Ian Romanick authored
The new name make the zero-input behavior more obvious. The next patch adds a new function with different zero-input behavior. Signed-off-by:
Ian Romanick <ian.d.romanick@intel.com> Suggested-by:
Matt Turner <mattst88@gmail.com> Reviewed-by:
Alejandro Piñeiro <apinheiro@igalia.com>
-