- 06 May, 2021 3 commits
-
-
Boris Brezillon authored
-
Boris Brezillon authored
Based on turnip. Signed-off-by:
Boris Brezillon <boris.brezillon@collabora.com>
-
Boris Brezillon authored
In the vulkan driver we need to patch job headers when re-submitting already submitted batched. Change panfrost_scoreboard_initialize_tiler() prototype to allow that. Signed-off-by:
Boris Brezillon <boris.brezillon@collabora.com>
-
- 05 May, 2021 37 commits
-
-
Jordan Justen authored
To update your local repository to use the new default branch, these commands may help: $ git fetch origin $ git checkout master $ git branch -m main $ git branch --set-upstream-to=origin/main $ git remote set-head origin --auto Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Eric Engestrom <eric@engestrom.ch>
-
Jordan Justen authored
Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Eric Engestrom <eric@engestrom.ch>
-
Jordan Justen authored
Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Eric Engestrom <eric@engestrom.ch>
-
Jordan Justen authored
Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Eric Engestrom <eric@engestrom.ch>
-
Jordan Justen authored
Reworks: * Fix mesa/mesamaster typo to mesa/mesa main (anholt) * Use $CI_DEFAULT_BRANCH (eric_engestrom) Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Eric Anholt <eric@anholt.net> Reviewed-by:
Eric Engestrom <eric@engestrom.ch>
-
Jordan Justen authored
Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Dylan Baker <dylan@pnwbakers.com> Reviewed-by:
Eric Engestrom <eric@engestrom.ch>
-
Jordan Justen authored
Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Dylan Baker <dylan@pnwbakers.com> Reviewed-by:
Eric Engestrom <eric@engestrom.ch>
-
Erik Faye-Lund authored
It seems building the doxygen docs has bit-rotted over time, and now generates a set of empty modules, apart from some basic descriptions. Since Mesa is mostly implementing externally documented APIs, I don't think it makes a whole lot of sense trying to fix this, and I think the presence of these files might confuse users who try them out. So let's just get rid of this. Reviewed-by:
Jose Fonseca <jfonseca@vmware.com> Part-of: <mesa/mesa!10611>
-
Emma Anholt authored
I think between the disk cache unit tests and testing that we can really serialize/deserialize NIR, this covers what I cared about for testing disk caching. Closes: #3597 Reviewed-by:
Adam Jackson <ajax@redhat.com> Part-of: <mesa/mesa!10629>
-
Emma Anholt authored
llvmpipe is a pretty important driver, we should be fully testing it. Also, enable some options to stress test some NIR internals. Reviewed-by:
Adam Jackson <ajax@redhat.com> Part-of: <mesa/mesa!10629>
-
Emma Anholt authored
We don't support major 1.2 required extensions like timeline semaphores. Fixes many complaints in the dEQP-VK.info.vulkan1p2.* group. We were originally bumped to 1.2 in 75755e0e ("turnip: Pretend to support Vulkan 1.2") but hopefully that build issue has been fixed in the entrypoint reworks since then. Part-of: <mesa/mesa!10471>
-
Yiwei Zhang authored
Fix dEQP-VK.wsi.android.swapchain.simulate_oom.* failures. Signed-off-by:
Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Chia-I Wu <olvaffe@gmail.com> Part-of: <mesa/mesa!10639>
-
Erik Faye-Lund authored
This should no longer be needed after !7773, which fixes the issue that lead to the crash. Sorry for not fixing the issue earlier ;) Part-of: <mesa/mesa!10645>
-
Mike Blumenkrantz authored
just shader and samplers for now Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!10616>
-
Boris Brezillon authored
Gallium wants the depth or stencil component replicated on all .XYZW. That's easily done on pre-v7 since we can forge all the swizzles we want, but Bifrost v7 only supports a few combinations, so we have to combine the user swizzle with our own 'replicate' swizzle to make it work. Note that v7 has a trick to make border color work when the GRBA order is chosen: they apply the red border color to the green component. Signed-off-by:
Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by:
Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <mesa/mesa!10612>
-
maurossi authored
Fixes the following building error: FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/gallium_dri_intermediates/LINKED/gallium_dri.so ... ld.lld: error: undefined symbol: bi_opt_constant_fold >>> referenced by bifrost_compile.c:3105 (external/mesa/src/panfrost/bifrost/bifrost_compile.c:3105) Fixes: 1cb11969 ("pan/bi: Add simple constant folding pass") Part-of: <mesa/mesa!10603>
-
Jason Ekstrand authored
In particular, this gives us B8G8R8A8_UNORM storage support which is useful for writing WSI images from compute shaders. These formats can only be accessed in a spec-compliant way by decorating the variable NonReadable in the SPIR-V (writeonly in GLSL). If the client doesn't so decorate the variable, it'll get the null surface state where reads return 0 and writes are ignored. Tested-by:
Simon Ser <contact@emersion.fr> Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!10624>
-
Lionel Landwerlin authored
Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Part-of: <mesa/mesa!10624>
-
Jason Ekstrand authored
Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!10624>
-
Erik Faye-Lund authored
When I last time fixed this, I missed that continuing here would make us leak pointers in the translate state, which is what made this avoid a crash in the first place. That's not great, we need to set *some* pointer in this case. The obvious option would be NULL, but that means that the translate-code also needs to support NULL-pointers here. Instead, let's point to a small, static buffer that contains enough zero-data for the largest possible vertex attribute. This avoids having to add more NULL-checks. Fixes: a8e8204b ("gallium/u_vbuf: support NULL-resources") Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!7773>
-
Bas Nieuwenhuizen authored
The pitch of the chroma plane isn't necessarily half that of the luma plane, as tiling (and presumably even linear) swizzle modes apply some alignment. Fixes: 35e25ea1 ("ac/surface: allow non-DCC modifiers for YUV on GFX9+") Reviewed-by:
James Zhu <James.Zhu@amd.com> Reviewed-by:
Leo Liu <leo.liu@amd.com> Part-of: <mesa/mesa!10638>
-
Danylo Piliaiev authored
No handling of Acquire/Release because at the moment scheduler works as if any barrier is Acq+Rel. Instead of removing scoped_barrier with scope/mode that for TCS corresponds to a control_barrier or a memory_barrier_tcs_patch in ir3_nir_lower_tess_ctrl - remove them in emit_intrinsic_barrier. And do the same for memory_barrier_tcs_patch and control_barrier. While in any case hw fence/barrier shouldn't be emitted for them, they still affect ordering of stores, and in feature ir3 backend may want to have that information. Signed-off-by:
Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <mesa/mesa!9054>
-
Danylo Piliaiev authored
On a6xx blob uses .l rather differently from a5xx. Signed-off-by:
Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <mesa/mesa!9054>
-
Danylo Piliaiev authored
nir_intrinsic_memory_barrier has the same semantic as memoryBarrier() in GLSL, which is: GLSL 4.60, 4.10. "Memory Qualifiers": "The built-in function memoryBarrier() can be used if needed to guarantee the completion and relative ordering of memory accesses performed by a single shader invocation." GLSL 4.60, 8.17. "Shader Memory Control Functions": "The built-in functions memoryBarrier() and groupMemoryBarrier() wait for the completion of accesses to all of the above variable types." Fixes tests: dEQP-VK.memory_model.message_passing.core11.u32.coherent.fence_fence.atomicwrite.device.payload_local.image.guard_nonlocal.workgroup.comp dEQP-VK.memory_model.message_passing.core11.u32.coherent.fence_fence.atomicwrite.device.payload_nonlocal.workgroup.guard_local.image.comp Fixes: 819a613a ("freedreno/ir3: moar better scheduler") Signed-off-by:
Danylo Piliaiev <dpiliaiev@igalia.com> Reviewed-by:
Samuel Iglesias Gonsálvez <siglesias@igalia.com> Part-of: <mesa/mesa!9054>
-
Erik Faye-Lund authored
The build-finished event is also triggered when there's an error. I somehow got the second argument wrong, and ended up ignoring the case. This can lead to new exceptions being thrown due to missing files, that ends up hiding the real problem. Fixes: 64a4ba9e ("docs: add an extension to generate redirects") Reviewed-by:
Eric Engestrom <eric@engestrom.ch> Part-of: <mesa/mesa!10407>
-
Erik Faye-Lund authored
Reviewed-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!10371>
-
Erik Faye-Lund authored
Reviewed-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!10371>
-
Erik Faye-Lund authored
Reviewed-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!10371>
-
Erik Faye-Lund authored
There's no longer any code reading this, so let's get rid of it. It always rubbed me a bit the wrong way, because this repeated some information already present in the context. Reviewed-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!10371>
-
Erik Faye-Lund authored
We have enough information to emit this cap early, so let's do that. Reviewed-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!10371>
-
Erik Faye-Lund authored
This will make us emit these caps needlessly, possibly on implementations not supporting the enabling features. Reviewed-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!10371>
-
Erik Faye-Lund authored
This is required for a bunch of stuff that can occur in any Vulkan shader stage, not just these few. So let's always emit this cap. Reviewed-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!10371>
-
Dave Airlie authored
Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!10642>
-
Dave Airlie authored
Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!10642>
-
Samuel Pitoiset authored
A bunch of games complain when the VRAM size is too small. The most compatible solution seems to return memory heaps like a dGPU. Closes: mesa/mesa#3423 Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <mesa/mesa!9774>
-
Samuel Pitoiset authored
internal_usage is the memory allocated by the current process (intent) while system_usage is the memory allocated globally (actual). Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <mesa/mesa!9774>
-
Marek Olšák authored
The pointers won't be used at that point. Just decrement the refcounts. Reviewed-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.eric.pelloux-prayer@amd.com> Acked-By:
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <mesa/mesa!10606>
-