mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-22 12:33:29 +00:00
Minor simplification.
This commit is contained in:
parent
04d1b65c93
commit
955e185790
@ -62,7 +62,7 @@ void Machine::setup_output(float aspect_ratio)
|
||||
"vec3 rgb_sample(usampler2D sampler, vec2 coordinate, vec2 icoordinate)"
|
||||
"{"
|
||||
"uint texValue = texture(sampler, coordinate).r;"
|
||||
"texValue >>= 4 - (int(icoordinate.x * 2) & 1)*4;"
|
||||
"texValue >>= 4 - (int(icoordinate.x * 8) & 4);"
|
||||
"return vec3( uvec3(texValue) & uvec3(4u, 2u, 1u));"
|
||||
// "return vec3(1.0);"
|
||||
"}");
|
||||
|
Loading…
Reference in New Issue
Block a user