mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-12 21:20:06 +00:00
77f7cdfb1e
There is a typo.
16 lines
577 B
Plaintext
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()
|
|
{
|
|
}
|