Mesa (main): radv: do not try to dump the NIR of the trap handler shader

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 18 07:35:32 UTC 2022


Module: Mesa
Branch: main
Commit: 8e1085c19a3de328238844fa80cf8b4e31ccc308
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e1085c19a3de328238844fa80cf8b4e31ccc308

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Apr 13 10:23:08 2022 +0200

radv: do not try to dump the NIR of the trap handler shader

There is no NIR at all.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16553>

---

 src/amd/vulkan/radv_shader.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
index d2736c1f10a..f7ed46a685e 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -2106,7 +2106,7 @@ radv_create_trap_handler_shader(struct radv_device *device)
                             MESA_SHADER_COMPUTE, false, MESA_SHADER_VERTEX, &args);
 
    shader = shader_compile(device, &b.shader, 1, MESA_SHADER_COMPUTE, &info, &args, &options,
-                           false, true, true, false, &binary);
+                           false, true, false, false, &binary);
 
    trap->alloc = radv_alloc_shader_memory(device, shader->code_size, NULL);
 



More information about the mesa-commit mailing list