mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
zink: set 64bit shader caps in ntv
Reviewed-by: Erik Faye-Lund <kusmabite@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7654>
This commit is contained in:
parent
3ab0e6303b
commit
a658e815a4
1 changed files with 4 additions and 0 deletions
|
|
@ -2517,6 +2517,10 @@ nir_to_spirv(struct nir_shader *s, const struct zink_so_info *so_info,
|
|||
spirv_builder_emit_cap(&ctx.builder, SpvCapabilityDerivativeControl);
|
||||
spirv_builder_emit_cap(&ctx.builder, SpvCapabilitySampleRateShading);
|
||||
}
|
||||
if (s->info.bit_sizes_int & 64)
|
||||
spirv_builder_emit_cap(&ctx.builder, SpvCapabilityInt64);
|
||||
if (s->info.bit_sizes_float & 64)
|
||||
spirv_builder_emit_cap(&ctx.builder, SpvCapabilityFloat64);
|
||||
|
||||
ctx.stage = s->info.stage;
|
||||
ctx.so_info = so_info;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue