mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
zink: clean up extension emitting
do not emit SPV_KHR_storage_buffer_storage_class if we have vulkan 1.1 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17734>
This commit is contained in:
parent
cb99365403
commit
e85a710a2a
1 changed files with 1 additions and 1 deletions
|
|
@ -4147,7 +4147,7 @@ nir_to_spirv(struct nir_shader *s, const struct zink_shader_info *sinfo, uint32_
|
|||
spirv_builder_emit_cap(&ctx.builder, SpvCapabilityGeometry);
|
||||
}
|
||||
|
||||
if (s->info.num_ssbos)
|
||||
if (s->info.num_ssbos && spirv_version < SPIRV_VERSION(1, 1))
|
||||
spirv_builder_emit_extension(&ctx.builder, "SPV_KHR_storage_buffer_storage_class");
|
||||
|
||||
if (s->info.stage < MESA_SHADER_FRAGMENT &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue