mirror of https://github.com/mosra/magnum.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
305 B
8 lines
305 B
|
10 years ago
|
layout(local_size_x = 2, local_size_y = 2) in;
|
||
|
|
layout(binding = 0, rgba8ui) uniform mediump uimage2D inData;
|
||
|
|
layout(binding = 1, rgba8ui) uniform mediump uimage2D outData;
|
||
|
|
|
||
|
|
void main() {
|
||
|
|
imageStore(outData, ivec2(gl_GlobalInvocationID.xy), imageLoad(inData, ivec2(gl_GlobalInvocationID.xy))*3u/2u);
|
||
|
|
}
|