xemu/subprojects/glslang/Test/hlsl.intrinsics.d3dcolortou...

8 lines
87 B
GLSL

uniform float4 col4;
int4 main() : SV_Target0
{
return D3DCOLORtoUBYTE4(col4);
}