Home
last modified time | relevance | path

Searched refs:spec_entries (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dglspirv.c234 struct nir_spirv_specialization *spec_entries = in _mesa_spirv_to_nir() local
235 calloc(sizeof(*spec_entries), in _mesa_spirv_to_nir()
239 spec_entries[i].id = spirv_data->SpecializationConstantsIndex[i]; in _mesa_spirv_to_nir()
240 spec_entries[i].value.u32 = spirv_data->SpecializationConstantsValue[i]; in _mesa_spirv_to_nir()
241 spec_entries[i].defined_on_module = false; in _mesa_spirv_to_nir()
263 spec_entries, spirv_data->NumSpecializationConstants, in _mesa_spirv_to_nir()
267 free(spec_entries); in _mesa_spirv_to_nir()
334 struct nir_spirv_specialization *spec_entries = NULL; in _mesa_SpecializeShaderARB() local
380 spec_entries = calloc(sizeof(*spec_entries), numSpecializationConstants); in _mesa_SpecializeShaderARB()
383 spec_entries[i].id = pConstantIndex[i]; in _mesa_SpecializeShaderARB()
[all …]
/third_party/mesa3d/src/vulkan/util/
Dvk_util.c93 struct nir_spirv_specialization *spec_entries = in vk_spec_info_to_nir_spirv() local
94 calloc(num_spec_entries, sizeof(*spec_entries)); in vk_spec_info_to_nir_spirv()
102 spec_entries[i].id = spec_info->pMapEntries[i].constantID; in vk_spec_info_to_nir_spirv()
105 spec_entries[i].value.u64 = *(const uint64_t *)data; in vk_spec_info_to_nir_spirv()
108 spec_entries[i].value.u32 = *(const uint32_t *)data; in vk_spec_info_to_nir_spirv()
111 spec_entries[i].value.u16 = *(const uint16_t *)data; in vk_spec_info_to_nir_spirv()
114 spec_entries[i].value.u8 = *(const uint8_t *)data; in vk_spec_info_to_nir_spirv()
142 return spec_entries; in vk_spec_info_to_nir_spirv()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_nir.c97 struct nir_spirv_specialization *spec_entries = in vk_spirv_to_nir() local
101 spec_entries, num_spec_entries, in vk_spirv_to_nir()
104 free(spec_entries); in vk_spirv_to_nir()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c705 struct nir_spirv_specialization *spec_entries = in radv_shader_spirv_to_nir() local
790 nir = spirv_to_nir(spirv, stage->spirv.size / 4, spec_entries, num_spec_entries, stage->stage, in radv_shader_spirv_to_nir()
797 free(spec_entries); in radv_shader_spirv_to_nir()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c1991 struct nir_spirv_specialization *spec_entries = NULL; in zink_shader_spirv_compile() local
2006 spec_entries = vk_spec_info_to_nir_spirv(&sinfo, &num_spec_entries); in zink_shader_spirv_compile()
2009 spec_entries, num_spec_entries, in zink_shader_spirv_compile()
2013 free(spec_entries); in zink_shader_spirv_compile()