mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-27 13:10:37 +00:00
8cd85272ad
Signed-off-by: ZhiqianXia <xzq0528@outlook.com>
12 lines
185 B
GLSL
12 lines
185 B
GLSL
#version 150
|
|
#extension GL_ARB_gpu_shader5 : require
|
|
|
|
uniform int u1;
|
|
uniform int u2;
|
|
out vec4 result;
|
|
void main()
|
|
{
|
|
uint v = 0;
|
|
v = uint(u2) - u1; // implicit conversions
|
|
}
|