Lines Matching refs:spec_info
104 const VkSpecializationInfo *spec_info) in anv_shader_compile_to_nir() argument
119 if (spec_info && spec_info->mapEntryCount > 0) { in anv_shader_compile_to_nir()
120 num_spec_entries = spec_info->mapEntryCount; in anv_shader_compile_to_nir()
123 VkSpecializationMapEntry entry = spec_info->pMapEntries[i]; in anv_shader_compile_to_nir()
124 const void *data = spec_info->pData + entry.offset; in anv_shader_compile_to_nir()
125 assert(data + entry.size <= spec_info->pData + spec_info->dataSize); in anv_shader_compile_to_nir()
127 spec_entries[i].id = spec_info->pMapEntries[i].constantID; in anv_shader_compile_to_nir()
128 if (spec_info->dataSize == 8) in anv_shader_compile_to_nir()
355 const VkSpecializationInfo *spec_info, in anv_pipeline_hash_shader() argument
373 if (spec_info) { in anv_pipeline_hash_shader()
374 _mesa_sha1_update(&ctx, spec_info->pMapEntries, in anv_pipeline_hash_shader()
375 spec_info->mapEntryCount * sizeof(*spec_info->pMapEntries)); in anv_pipeline_hash_shader()
376 _mesa_sha1_update(&ctx, spec_info->pData, spec_info->dataSize); in anv_pipeline_hash_shader()
388 const VkSpecializationInfo *spec_info, in anv_pipeline_compile() argument
397 spec_info); in anv_pipeline_compile()
501 const VkSpecializationInfo *spec_info) in anv_pipeline_compile_vs() argument
513 MESA_SHADER_VERTEX, spec_info, in anv_pipeline_compile_vs()
532 MESA_SHADER_VERTEX, spec_info, in anv_pipeline_compile_vs()
764 const VkSpecializationInfo *spec_info) in anv_pipeline_compile_gs() argument
776 MESA_SHADER_GEOMETRY, spec_info, in anv_pipeline_compile_gs()
795 MESA_SHADER_GEOMETRY, spec_info, in anv_pipeline_compile_gs()
842 const VkSpecializationInfo *spec_info) in anv_pipeline_compile_fs() argument
854 MESA_SHADER_FRAGMENT, spec_info, in anv_pipeline_compile_fs()
873 MESA_SHADER_FRAGMENT, spec_info, in anv_pipeline_compile_fs()
990 const VkSpecializationInfo *spec_info) in anv_pipeline_compile_cs() argument
1002 MESA_SHADER_COMPUTE, spec_info, in anv_pipeline_compile_cs()
1021 MESA_SHADER_COMPUTE, spec_info, in anv_pipeline_compile_cs()