- Nov 13, 2019
-
-
Dylan Baker authored
-
- Nov 11, 2019
-
-
Dylan Baker authored
-
Eric Engestrom authored
When the X11 or Haiku platforms were compiled in, they would bypass the `_EGL_NATIVE_PLATFORM` fallback by always returning themselves instead. Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> (cherry picked from commit 86d3a346)
-
Erik Faye-Lund authored
When using packed vulkan-formats on little-endian systems, we need to swap the components for the gallium formats. And since Zink isn't big-endian safe yet, little-endian is the only endianess we care about right now. This fixes a bunch of piglit tests, amongs others: - spec@arb_depth_texture@depth-level-clamp - spec@arb_depth_texture@depthstencil-render-miplevels * d=z24 - spec@arb_depth_texture@fbo-depth-gl_depth_component24-blit - spec@arb_depth_texture@fbo-depth-gl_depth_component24-copypixels - spec@arb_depth_texture@fbo-depth-gl_depth_component24-drawpixels - spec@arb_depth_texture@fbo-depth-gl_depth_component24-readpixels Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Fixes: 8d46e35d ("zink: introduce opengl over vulkan") (cherry picked from commit b4d47e21)
-
Caio Oliveira authored
The stage specific fields of shader_info are in an union. We've likely been lucky that this value was either overwritten or ignored by other stages. The recent change in shader_info layout in commit 84a1a257 ("compiler: pack shader_info from 160 bytes to 96 bytes") made this issue visible. Fixes: cf225706 ("nir/spirv: Set a default number of invocations for geometry shaders") Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Marek Olšák <marek.olsak@amd.com> (cherry picked from commit 087ecd9c)
-
It happens that some games try to access a vertex buffer without a valid format. This case was incorrectly handled by ac_get_tbuffer_format which made ACO emit an invalid instruction. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Cc: 19.3 <mesa-stable@lists.freedesktop.org> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> (cherry picked from commit 911a8261)
-
Prodea Alexandru-Liviu authored
Also remove version sufix from osmesa swrast on Windows. v2: Make sure we don't remove lib prefix on *nix platforms. Signed-off-by: Prodea Alexandru-Liviu <liviuprodea@yahoo.com> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Cc: "19.3" <mesa-stable@lists.freedesktop.org> (cherry picked from commit 1a058119)
-
The workaround got accidentally moved to the wrong place Fixes: 08d51001 aco: increase accuracy of SGPR limits Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> (cherry picked from commit a47e232c)
-
This fix wrong color when playing video under Android + virgl configuration. Fixes: 2decad49 ("gallium/dri2: Support images with multiple planes for modifiers") Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Lepton Wu <lepton@chromium.org> (cherry picked from commit 5a40e153)
-
Erik Faye-Lund authored
We don't support nir_texop_txd, which is required by this cap. So let's disable it for now. Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Fixes: 8d46e35d ("zink: introduce opengl over vulkan") (cherry picked from commit b385ad0c)
-
Erik Faye-Lund authored
We do not support them yet, so let's not pretend. Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Fixes: 8d46e35d ("zink: introduce opengl over vulkan") (cherry picked from commit a32a92f5)
-
Erik Faye-Lund authored
There's no good way to know if a texture-view will be created, so we just have to accept it for all resources. Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Fixes: 8d46e35d ("zink: introduce opengl over vulkan") (cherry picked from commit ca87a53b)
-
Erik Faye-Lund authored
We should use the format derived from the image-view here, not from the image itselt. Otherwise, we'll end up with incompatible render-passes. Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Fixes: 8d46e35d ("zink: introduce opengl over vulkan") (cherry picked from commit f3a72fd6)
-
Kristian Høgsberg authored
Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com> Acked-by: Rob Clark <robdclark@gmail.com>
-
Pierre-Eric Pelloux-Prayer authored
Use unsigned values otherwise signed extension will produce a 64 bits value where the 32 left-most bits are 1. Fixes: 307e5cc8 ("radeonsi: tell the shader disk cache what IR is used")
-
- Nov 06, 2019
-
-
Dylan Baker authored
-
- Nov 05, 2019
-
-
Dylan Baker authored
Otherwise if glvnd is not installed systemwide, but only in a prefix, it's headers wont be found. This happens because if it's headers are in /usr/include/ then another dependence will provide the necessary -I arguments and compilation will work. Fixes: 035ec7a2 ("meson: Add support for EGL glvnd") Acked-by: Eric Engestrom <eric@engestrom.ch> (cherry picked from commit 5d085ad0)
-
Commit 5847de6e implemented a restriction that applies to ICL, but wrongly marked it as also applying to GLK. Reviewers or MR !1125 pointed this, and the commit history shows removal of GLK to parts of the patch, but it turns there was still a left-over GLK check in the code. This code was breaking some of the i8vec2 tests on GLK, for example: dEQP-VK.subgroups.arithmetic.compute.subgroupadd_i8vec2 Removing the GLK check solves the issue for GLK. I don't see a reason on why implementing this restriction would actually break GLK, so there's still more to investigate here since this bug may be affecting ICL+, but let's apply the real GLK fix while we analyze and discuss the other possible issues. Fixes: 5847de6e ("intel/compiler: don't use byte operands for src1 on ICL") BSpec: 3017 Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> (cherry picked from commit b57383a9)
-
Fixes: 86786999 "aco: implement VGPR spilling" Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> (cherry picked from commit efe737fc)
-
Fixes: 86786999 "aco: implement VGPR spilling" Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> (cherry picked from commit 5c7dcb15)
-
Fixes: 86786999 "aco: implement VGPR spilling" Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> (cherry picked from commit d97c0bdd)
-
The host query reset entry point didn't use the availability offset for performance queries. To fix this, reorder the availability of performance queries to match other queries. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 2b5f30b1 ("anv: implement VK_INTEL_performance_query") Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (cherry picked from commit ee6fbb95)
-
In 2ca0d913, we began updating cso_fb->layers to the actual layer count, rather than 0. This fixed cases where we were setting "Force Zero RTA Index Enable" even when doing layered rendering. Sadly, it also broke the check entirely: cso_fb->layers is now 1 for non-layered cases, but the Force Zero RTA Index check was still comparing for 0. Fixes: 2ca0d913 ("iris: Fix framebuffer layer count") (cherry picked from commit fc7b7480)
-
Dylan Baker authored
Python has the identity operator `is`, and the equality operator `==`. Using `is` with strings sometimes works in CPython due to optimizations (they have some kind of cache), but it may not always work. Fixes: 96c4b135 ("nir/algebraic: Don't put quotes around floating point literals") Reviewed-by: Matt Turner <mattst88@gmail.com> (cherry picked from commit 717606f9)
-
If an app first creates a compute pipeline with VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT set, then re-compile it without that flag, the driver should re-compile the compute shader. Otherwise, it will return the unoptimized one. Fixes: ce188813 ("radv: add initial support for VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT") Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (cherry picked from commit 9ab27647)
-
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: <mesa-stable@lists.freedesktop.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com> (cherry picked from commit 88d66583)
-
The seccomp filter allows read/write, let us make sure nobody can do anything with this. Fixes: cff53da3 "radv: enable secure compile support" Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> (cherry picked from commit 8efb8f55)
-
- Nov 01, 2019
-
-
Daniel Schürmann authored
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
-
- Oct 31, 2019
-
-
-
Erik Faye-Lund authored
When switching this to dynamic state, I forgot that this also needs to be emitted when we use a polygon-mode set to lines. Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Fixes: 6d30abb4 ("zink: use dynamic state for line-width") (cherry picked from commit b7674829)
-
Alyssa Rosenzweig authored
Build failure reported by i965 CI, triggered by building dynamic pipeloaders with kmsro drivers (besides 'frost). At this point, there's no reason to actually do that -- mesa CI didn't mind -- but let's not break the build. v2: Simplify script. Add extra dependencies for v3d. Fixes: afb0d08c ("pipe-loader: Default to kmsro if probe fails") Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reported-by: Clayton Craft <clayton.a.craft@intel.com> Tested-by: Clayton Craft <clayton.a.craft@intel.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> (cherry picked from commit bf153189)
-
Faith Ekstrand authored
Otherwise relocations just up and crash. Fixes: a3153162 "anv: Delay allocation of relocation lists" Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (cherry picked from commit 9ef198c5)
-
Faith Ekstrand authored
Some of the tests were actually relying on some of those uninitialized bits to be non-zero. In particular, a couple want use_softpin = true. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (cherry picked from commit 9076e9f3)
-
Faith Ekstrand authored
Fixes: 731c4adc "anv/allocator: Add support for non-userptr" Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (cherry picked from commit bb257e18)
-
Pierre-Eric Pelloux-Prayer authored
If the DrawBuffer sample count is > 1 and msaa is enabled we must also enable msaa when clearing it. Fixes: ea5b7de1 ("radeonsi: make gl_SampleMaskIn = 0x1 when MSAA is disabled") Closes: mesa/mesa#1991 Reviewed-by: Marek Olšák <marek.olsak@amd.com> Tested-by: Witold Baryluk <witold.baryluk@gmail.com> (cherry picked from commit 8a723282)
-
Got some int->pointer warnings and 20 is not a valid pointer .... Fixes: 2e3a635e "radv: Add an early exit in the secure compile if we already have the cache entries." Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> (cherry picked from commit 6ced684e)
-
The resulting locale is not used for Vulkan, and it is not reference counted, giving issues when multiple instances are created. CC: 19.2 19.3 <mesa-stable@lists.freedesktop.org> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> (cherry picked from commit 3e86d553)
-
The resulting locale is not used for Vulkan, and it is not reference counted, giving issues when multiple instances are created. CC: 19.2 19.3 <mesa-stable@lists.freedesktop.org> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> (cherry picked from commit 72f858fc)
-
The resulting locale is not used for Vulkan, and it is not reference counted, giving issues when multiple instances are created. CC: 19.2 19.3 <mesa-stable@lists.freedesktop.org> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> (cherry picked from commit 344ba56b)
-