From: Samuel Pitoiset Date: Wed, 26 Jul 2023 15:31:52 +0000 (+0200) Subject: radv: initialize tcs.tes_{patch}_inputs_read to a default value X-Git-Tag: upstream/23.3.3~4970 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54414a2121705c2fab5043c79d6f2dd735fab2d9;p=platform%2Fupstream%2Fmesa.git radv: initialize tcs.tes_{patch}_inputs_read to a default value For shader object when a TCS is not linked to a TES at compile time. Signed-off-by: Samuel Pitoiset Part-of: --- diff --git a/src/amd/vulkan/radv_shader_info.c b/src/amd/vulkan/radv_shader_info.c index 6f148aa..02935f3 100644 --- a/src/amd/vulkan/radv_shader_info.c +++ b/src/amd/vulkan/radv_shader_info.c @@ -465,6 +465,8 @@ gather_shader_info_tcs(struct radv_device *device, const nir_shader *nir, const struct radv_shader_info *info) { info->tcs.tcs_vertices_out = nir->info.tess.tcs_vertices_out; + info->tcs.tes_inputs_read = ~0ULL; + info->tcs.tes_patch_inputs_read = ~0ULL; if (!(pipeline_key->dynamic_patch_control_points)) { /* Number of tessellation patches per workgroup processed by the current pipeline. */