glslang/Test/spv.intrinsicsSpirvDecorateString.comp
2023-04-03 18:02:49 -04:00

16 lines
577 B
Plaintext

#version 460 core
#extension GL_EXT_spirv_intrinsics : require
spirv_decorate_string(extensions = ["SPV_GOOGLE_hlsl_functionality1"], 5635, "foobar") // UserSemantic
spirv_decorate(0) // RelaxedPrecision
float x = 0.5;
spirv_decorate(0) // RelaxedPrecision
spirv_decorate_string(extensions = ["SPV_GOOGLE_hlsl_functionality1"], 5635, "foobar") // UserSemantic
float y = 1.0;
layout(local_size_x = 1) in;
void main()
{
}