mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-10 04:20:06 +00:00
23 lines
309 B
GLSL
23 lines
309 B
GLSL
|
|
||
|
struct PS_OUTPUT { float4 color : SV_Target0; };
|
||
|
|
||
|
int i;
|
||
|
uint u;
|
||
|
float f;
|
||
|
bool b;
|
||
|
|
||
|
int2 i2;
|
||
|
uint2 u2;
|
||
|
float2 f2;
|
||
|
bool2 b2;
|
||
|
|
||
|
PS_OUTPUT main()
|
||
|
{
|
||
|
uint r00 = countbits(f);
|
||
|
uint2 r01 = reversebits(f2);
|
||
|
|
||
|
PS_OUTPUT ps_output;
|
||
|
ps_output.color = float4(0,0,0,0);
|
||
|
return ps_output;
|
||
|
};
|