☰
Debian Codegraph
@
2:5.2.11.3+dfsg-1
/
/
examples
/
data
/
ex_prim_high_pixel.hlsl
☽
☼
examples/data/ex_prim_high_pixel.hlsl
code
plain
raw
Zlib
Copyright (c) 2004-2016 the Allegro 5 Development Team
debian/copyright
1
// To match GLSL's
2
float2 mod(float2 x, float2 y) {
3
return x - y * floor(x / y);
4
}
5
6
float4 ps_main(VS_OUTPUT Input) : COLOR0
7
{
8
return float4(mod(Input.TexCoord / 32.0, 1.0), 0, 1);
9
}