Searched refs:spec_entries (Results 1 – 2 of 2) sorted by relevance
110 struct nir_spirv_specialization *spec_entries = NULL; in anv_shader_compile_to_nir() local113 spec_entries = malloc(num_spec_entries * sizeof(*spec_entries)); in anv_shader_compile_to_nir()119 spec_entries[i].id = spec_info->pMapEntries[i].constantID; in anv_shader_compile_to_nir()121 spec_entries[i].data64 = *(const uint64_t *)data; in anv_shader_compile_to_nir()123 spec_entries[i].data32 = *(const uint32_t *)data; in anv_shader_compile_to_nir()134 spec_entries, num_spec_entries, in anv_shader_compile_to_nir()140 free(spec_entries); in anv_shader_compile_to_nir()
181 struct nir_spirv_specialization *spec_entries = NULL; in radv_shader_compile_to_nir() local184 spec_entries = malloc(num_spec_entries * sizeof(*spec_entries)); in radv_shader_compile_to_nir()190 spec_entries[i].id = spec_info->pMapEntries[i].constantID; in radv_shader_compile_to_nir()192 spec_entries[i].data64 = *(const uint64_t *)data; in radv_shader_compile_to_nir()194 spec_entries[i].data32 = *(const uint32_t *)data; in radv_shader_compile_to_nir()200 spec_entries, num_spec_entries, in radv_shader_compile_to_nir()206 free(spec_entries); in radv_shader_compile_to_nir()