Add builtin validation for SPV_NV_shader_sm_builtins (#2656)
Also add a Builtin test generator variant that takes capabilities and extensions. Tests - verify that the SMCountNV, SMIDNV, WarpsPerSMNV, and WarpIDNV Builtins are accepted as Inputs in Vertex, Fragment, TessControl, TessEval, Geometry, and Compute. - verify that the SMCountNV, SMIDNV, WarpsPerSMNV, and WarpIDNV Builtins are accepted as Inputs in MeshNV and TaskNV shaders. - verify that the SMCountNV, SMIDNV, WarpsPerSMNV, and WarpIDNV Builtins are accepted as Inputs in the 6 ray tracing stages - verify that the SMCountNV, SMIDNV, WarpsPerSMNV, and WarpIDNV Builtins are NOT accepted as Outputs. - verify that the SMCountNV, SMIDNV, WarpsPerSMNV, and WarpIDNV Builtins are NOT accepted as non-scalar integers (f32, uvec3) - verify that the SMCountNV, SMIDNV, WarpsPerSMNV, and WarpIDNV Builtins are NOT accepted as non-32-bit integers (u64)
Loading
Please register or sign in to comment