mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
zink: emit sparse residency cap in ntv
Acked-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14381>
This commit is contained in:
parent
d76694a18f
commit
ac30051a5d
1 changed files with 1 additions and 0 deletions
|
|
@ -3902,6 +3902,7 @@ nir_to_spirv(struct nir_shader *s, const struct zink_shader_info *sinfo, uint32_
|
|||
if (!ctx.defs)
|
||||
goto fail;
|
||||
if (sinfo->have_sparse) {
|
||||
spirv_builder_emit_cap(&ctx.builder, SpvCapabilitySparseResidency);
|
||||
/* this could be huge, so only alloc if needed since it's extremely unlikely to
|
||||
* ever be used by anything except cts
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue