vtn: (Silently) handle FunctionParameterAttributeNo{Capture,Write}

Silences a few thousand warnings in sycl/test-e2e

Cc: mesa-stable
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34941>
(cherry picked from commit 92f07860a4)
This commit is contained in:
Adam Jackson 2025-05-22 17:10:02 -04:00 committed by Eric Engestrom
parent 3ccf7682e2
commit a23171c02b
2 changed files with 3 additions and 1 deletions

View file

@ -484,7 +484,7 @@
"description": "vtn: (Silently) handle FunctionParameterAttributeNo{Capture,Write}",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -113,6 +113,8 @@ function_parameter_decoration_cb(struct vtn_builder *b, struct vtn_value *val,
case SpvFunctionParameterAttributeSext:
case SpvFunctionParameterAttributeZext:
case SpvFunctionParameterAttributeSret:
case SpvFunctionParameterAttributeNoCapture:
case SpvFunctionParameterAttributeNoWrite:
break;
case SpvFunctionParameterAttributeByVal: