mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-09 12:00:05 +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
|
|
}
|