- Jun 20, 2023
-
-
This patch will adjust aligned_height to enc_alignment which is helping to address some corner cases like 4096x64/64x<>. Actually less dpb size causing PROTECTION_FAULT. This change is fixing the issue. Signed-off-by:
SureshGuttula <suresh.guttula@amd.com> Reviewed-by:
Boyuan Zhang <Boyuan.Zhang@amd.com> Part-of: <mesa/mesa!23448>
-
Pass new CTS on RDNA2. Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <mesa/mesa!23696>
-
Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <mesa/mesa!23696>
-
Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!23696>
-
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <mesa/mesa!23702>
-
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <mesa/mesa!23702>
-
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <mesa/mesa!23702>
-
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <mesa/mesa!23702>
-
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <mesa/mesa!23702>
-
v2: - use new HOST_IS_GLES flag (Corentin) - drop stray fprintf (Emma) - reorder cases to avoid code replication Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <!15550>
-
The game expects HLSL discard behavour But it fails only on Zink because GLSL discard translates to nir_intrinsic_discard (BRW_PREDICATE_ALIGN1_ANY4H in native Intel asm) but Zink replaces it with OpTerminateInvocation SPIR-V and it translates to nir_intrinsic_terminate (BRW_PREDICATE_NORMAL in native Intel asm) Bisected commit in ZINK: bd816084 On AMD it works because they enabled the glsl_correct_derivatives_after_discard by default: !10522 (17861aff) Closes: mesa/mesa#9205 Reviewed-by:
Erik Faye-Lund <erik.faye-lund@collabora.com> Signed-off-by:
Illia Polishchuk <illia.a.polishchuk@globallogic.com> Part-of: <mesa/mesa!23694>
-
Signed-off-by:
Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by:
Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by:
Yonggang Luo <luoyonggang@gmail.com> Part-of: <mesa/mesa!23738>
-
Gets rid of extern usage. Signed-off-by:
Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by:
Yonggang Luo <luoyonggang@gmail.com> Part-of: <mesa/mesa!23738>
-
tokens member was not used for a long time. Signed-off-by:
Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by:
Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by:
Yonggang Luo <luoyonggang@gmail.com> Part-of: <mesa/mesa!23738>
-
When clearing an alpha-only format, set the alpha channel into red channel. Fixes `spec@ext_texture_integer@multisample-fast-clear gl_ext_texture_integer`. Reviewed-by:
Iago Toral Quiroga <itoral@igalia.com> Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <mesa/mesa!23497>
-
Alpha format only contains one channel, but it is placed in the 4th position, not 1st. Reviewed-by:
Iago Toral Quiroga <itoral@igalia.com> Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <mesa/mesa!23497>
-
This fixes crashes with piglit.spec.ext_external_objects.* tests on TGL that started to trigger with commit 8bc7bcfa. Signed-off-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!23718>
-
Signed-off-by:
Yonggang Luo <luoyonggang@gmail.com> Acked-by:
David Heidelberg <david.heidelberg@collabora.com> Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!23503>
-
Signed-off-by:
Yonggang Luo <luoyonggang@gmail.com> Acked-by:
David Heidelberg <david.heidelberg@collabora.com> Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!23503>
-
Signed-off-by:
Yonggang Luo <luoyonggang@gmail.com> Acked-by:
David Heidelberg <david.heidelberg@collabora.com> Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <mesa/mesa!23503>
-
Reset the pointer to the earlier free st_context. Check the st_context pointer before st_glFlush. Closes: mesa/mesa#8195 Signed-off-by:
Mykola Piatykop <mykola.piatykop@globallogic.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!21656>
-
These were historically in the spirv+nir combo, but the common mesa clc is a better home for them. Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Acked-by:
Nora Allen <blackcatgames@protonmail.com> Acked-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!23667>
-
There is an actual external libclc and we do use it, so rename the internal common library to avoid confusion. Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Acked-by:
Nora Allen <blackcatgames@protonmail.com> Acked-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <!23667>
-
Reviewed-by:
Ivan Briano <ivan.briano@intel.com> Acked-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <!23667>
-
Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Georg Lehmann <dadschoorse@gmail.com> Part-of: <!23716>
-
Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Georg Lehmann <dadschoorse@gmail.com> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <!23716>
-
Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Constantine Shablya <constantine.shablya@collabora.com> Part-of: <mesa/mesa!23716>
-
Since we expect the number of copies to be > 6, emitting fewer commands makes more sense. Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Rohan Garg <rohan.garg@intel.com> Part-of: <!23675>
-
Clears should be flushed only on : - vkCmdBeginQuery* - vkCmdWriteTimestamp* - vkCmdWriteAccelerationStructuresPropertiesKHR - vkCmdCopyQueryPoolResults Buffer writes should be flush only on : - vkCmdCopyQueryPoolResults Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Rohan Garg <rohan.garg@intel.com> Part-of: <!23675>
-
If we do the clear operations on a compute only command buffer, the operations will not use render target writes but compute shader writes instead. Probably not an issue right now because this is not a feature we've enabled. Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Rohan Garg <rohan.garg@intel.com> Part-of: <!23675>
-
Instead of having genX(emit_apply_pipe_flushes) doing the clearing, ask genX(emit_apply_pipe_flushes) for the emitted bits and do the clearing using a helper. Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Rohan Garg <rohan.garg@intel.com> Part-of: <!23675>
-
In the following sequence : - write buffer B with a shader - barrier on buffer from shader-write to transfer - vkCmdCopyQueryPoolResults to buffer B The barrier should take care of ordering things between the shader writes and vkCmdCopyQueryPoolResults. The problem is that vkCmdCopyQueryPoolResults runs on the command streamer and that is not coherent or synchronized in the same way as shaders. This change marks the barrier has potentially containing pending buffer writes for queries so that we can insert the necessary flush for vkCmdCopyQueryPoolResults later. Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Closes: #9013 Cc: mesa-stable Reviewed-by:
Rohan Garg <rohan.garg@intel.com> Part-of: <!23675>
-
Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: a7877289 ("anv: enable blorp query reset for performance queries") Reviewed-by:
Rohan Garg <rohan.garg@intel.com> Part-of: <!23675>
-
In C the size of a struct { uin32_t a; uint8_t b; } is 8, not 5, so we have to account for the biggest alignment across all struct members. Funny that the OpenCL CTS doesn't catch that. Fixes: 44d32e62 ("glsl: add cl_size and cl_alignment") Signed-off-by:
Karol Herbst <git@karolherbst.de> Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Part-of: <!23701>
-
Signed-off-by:
Yonggang Luo <luoyonggang@gmail.com> Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Acked-by:
David Heidelberg <david.heidelberg@collabora.com> Part-of: <!23733>
-
Signed-off-by:
Yonggang Luo <luoyonggang@gmail.com> Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Acked-by:
David Heidelberg <david.heidelberg@collabora.com> Part-of: <!23733>
-
c11: Improve timespec_get to support TIME_MONOTONIC TIME_ACTIVE TIME_THREAD_ACTIVE TIME_MONOTONIC_RAW As c11 already provided timespec_get, to avoid symbol conflict, use c23_timespec_get as the function name and define timespec_get c23_timespec_get to achieve that Signed-off-by:
Yonggang Luo <luoyonggang@gmail.com> Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Acked-by:
David Heidelberg <david.heidelberg@collabora.com> Part-of: <!23733>
-
../../src/vulkan/wsi/wsi_common_display.c:2908:15: error: passing argument 1 of ‘mtx_unlock’ from incompatible pointer type [-Werror=incompatible-pointer-types] 2908 | mtx_unlock(&wsi->wait_mutex); | ^~~~~~~~~~~~~~~~ | | | pthread_mutex_t * Signed-off-by:
Yonggang Luo <luoyonggang@gmail.com> Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Acked-by:
David Heidelberg <david.heidelberg@collabora.com> Part-of: <!23733>
-
freedreno: Fixes error: passing argument 1 of ‘pthread_mutex_unlock’ from incompatible pointer type in tu_pipeline.c src/freedreno/vulkan/tu_pipeline.c:4723:25: error: passing argument 1 of ‘pthread_mutex_unlock’ from incompatible pointer type [-Werror=incompatible-pointer-types] 4723 | pthread_mutex_unlock(&dev->pipeline_mutex); | ^~~~~~~~~~~~~~~~~~~~ | | | mtx_t * In file included from ../../src/freedreno/vulkan/tu_common.h:14, from ../../src/freedreno/vulkan/tu_pipeline.h:13, from ../../src/freedreno/vulkan/tu_pipeline.c:10: /usr/include/pthread.h:835:51: note: expected ‘pthread_mutex_t *’ but argument is of type ‘mtx_t *’ 835 | extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) Signed-off-by:
Yonggang Luo <luoyonggang@gmail.com> Reviewed-by:
Jesse Natalie <jenatali@microsoft.com> Acked-by:
David Heidelberg <david.heidelberg@collabora.com> Acked-by:
Rob Clark <robdclark@chromium.org> Part-of: <!23733>
-
- Jun 19, 2023
-
-
Reviewed-by:
Alyssa Rosenzweig <alyssa@rosenzweig.io> Acked-by:
Yonggang Luo <luoyonggang@gmail.com> Part-of: <!23328>
-