mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
ntv: emit ViewIndex with flat for fragment stage
cc: mesa-stable
(cherry picked from commit 999aaac12e)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39745>
This commit is contained in:
parent
d15ff626f3
commit
e6867fc009
2 changed files with 2 additions and 1 deletions
|
|
@ -164,7 +164,7 @@
|
|||
"description": "ntv: emit ViewIndex with flat for fragment stage",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2654,6 +2654,7 @@ create_builtin_var(struct ntv_context *ctx, SpvId var_type,
|
|||
switch (builtin) {
|
||||
case SpvBuiltInSampleId:
|
||||
case SpvBuiltInSubgroupLocalInvocationId:
|
||||
case SpvBuiltInViewIndex:
|
||||
spirv_builder_emit_decoration(&ctx->builder, var, SpvDecorationFlat);
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue