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

Author: Rhys Perry <[email protected]>
Date:   Mon Jun  5 12:06:49 2023 +0100

radv: initialize aco_compiler_options::is_opengl

Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Qiang Yu <[email protected]>
Fixes: 8d5cc23c186 ("aco: use gds reg when ordered xfb counter add")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23434>

---

 src/amd/vulkan/radv_aco_shader_info.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/vulkan/radv_aco_shader_info.h 
b/src/amd/vulkan/radv_aco_shader_info.h
index 81017a4e67d..850f5099c39 100644
--- a/src/amd/vulkan/radv_aco_shader_info.h
+++ b/src/amd/vulkan/radv_aco_shader_info.h
@@ -121,6 +121,7 @@ radv_aco_convert_opts(struct aco_compiler_options *aco_info,
    ASSIGN_FIELD(debug.func);
    ASSIGN_FIELD(debug.private_data);
    ASSIGN_FIELD(debug.private_data);
+   aco_info->is_opengl = false;
    aco_info->load_grid_size_from_user_sgpr = 
radv_args->load_grid_size_from_user_sgpr;
    aco_info->optimisations_disabled = radv->key.optimisations_disabled;
 }

Reply via email to