Lines Matching refs:spec_entries
234 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()
330 struct nir_spirv_specialization *spec_entries = NULL; in _mesa_SpecializeShaderARB() local
376 spec_entries = calloc(sizeof(*spec_entries), numSpecializationConstants); in _mesa_SpecializeShaderARB()
379 spec_entries[i].id = pConstantIndex[i]; in _mesa_SpecializeShaderARB()
380 spec_entries[i].value.u32 = pConstantValue[i]; in _mesa_SpecializeShaderARB()
381 spec_entries[i].defined_on_module = false; in _mesa_SpecializeShaderARB()
387 spec_entries, numSpecializationConstants, in _mesa_SpecializeShaderARB()
399 if (spec_entries[i].defined_on_module == false) { in _mesa_SpecializeShaderARB()
402 "in shader)", spec_entries[i].id); in _mesa_SpecializeShaderARB()
428 free(spec_entries); in _mesa_SpecializeShaderARB()