First Commit
This commit is contained in:
15
externals/glslang/Test/spv.rankShift.comp
vendored
Normal file
15
externals/glslang/Test/spv.rankShift.comp
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
#version 450
|
||||
#extension GL_ARB_gpu_shader_int64 : require
|
||||
|
||||
layout(local_size_x = 54) in;
|
||||
|
||||
layout(location=4) uniform int64_t arg0;
|
||||
layout(location=5) uniform uint arg1;
|
||||
|
||||
void main()
|
||||
{
|
||||
uint64_t result = arg0 << arg1;
|
||||
result = arg0 >> arg1;
|
||||
result <<= arg1;
|
||||
result >>= arg1;
|
||||
}
|
||||
Reference in New Issue
Block a user