spirv: generate info for FunctionParameterAttribute

Cc: mesa-stable
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29896>
(cherry picked from commit 90db6c729d)

[Eric: manually added the function prototype to spirv_info.h since that
was not auto-generated yet in 24.1]
This commit is contained in:
Karol Herbst 2024-06-25 12:26:11 +02:00 committed by Eric Engestrom
parent ac5987ec5a
commit f3f8ce0fd4
3 changed files with 5 additions and 3 deletions

View file

@ -3514,7 +3514,7 @@
"description": "spirv: generate info for FunctionParameterAttribute",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View file

@ -39,5 +39,6 @@ const char *spirv_memorymodel_to_string(SpvMemoryModel cap);
const char *spirv_op_to_string(SpvOp op);
const char *spirv_storageclass_to_string(SpvStorageClass sc);
const char *spirv_fproundingmode_to_string(SpvFPRoundingMode sc);
const char *spirv_functionparameterattribute_to_string(SpvFunctionParameterAttribute v);
#endif /* SPIRV_INFO_H */

View file

@ -120,11 +120,12 @@ if __name__ == "__main__":
collect_data(spirv_info, "Dim"),
collect_data(spirv_info, "ExecutionMode"),
collect_data(spirv_info, "ExecutionModel"),
collect_data(spirv_info, "FPRoundingMode"),
collect_data(spirv_info, "FunctionParameterAttribute"),
collect_data(spirv_info, "ImageFormat"),
collect_data(spirv_info, "ImageOperands"),
collect_data(spirv_info, "MemoryModel"),
collect_data(spirv_info, "StorageClass"),
collect_data(spirv_info, "ImageOperands"),
collect_data(spirv_info, "FPRoundingMode"),
collect_opcodes(spirv_info),
]