Searched refs:spec_entries (Results 1 – 2 of 2) sorted by relevance
223 struct nir_spirv_specialization *spec_entries = NULL; in radv_shader_compile_to_nir() local226 spec_entries = malloc(num_spec_entries * sizeof(*spec_entries)); in radv_shader_compile_to_nir()232 spec_entries[i].id = spec_info->pMapEntries[i].constantID; in radv_shader_compile_to_nir()234 spec_entries[i].data64 = *(const uint64_t *)data; in radv_shader_compile_to_nir()236 spec_entries[i].data32 = *(const uint32_t *)data; in radv_shader_compile_to_nir()252 spec_entries, num_spec_entries, in radv_shader_compile_to_nir()259 free(spec_entries); in radv_shader_compile_to_nir()
118 struct nir_spirv_specialization *spec_entries = NULL; in anv_shader_compile_to_nir() local121 spec_entries = malloc(num_spec_entries * sizeof(*spec_entries)); in anv_shader_compile_to_nir()127 spec_entries[i].id = spec_info->pMapEntries[i].constantID; in anv_shader_compile_to_nir()129 spec_entries[i].data64 = *(const uint64_t *)data; in anv_shader_compile_to_nir()131 spec_entries[i].data32 = *(const uint32_t *)data; in anv_shader_compile_to_nir()151 spec_entries, num_spec_entries, in anv_shader_compile_to_nir()158 free(spec_entries); in anv_shader_compile_to_nir()