#version 430 core
layout (local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
layout(rgba32f, binding = 0) uniform image2D imgOutput;
void main() {
vec4 value = vec4(0.0, 0.0, 0.0, 1.0);
ivec2 texelCoord = ivec2(gl_GlobalInvocationID.xy);
value.x = float(texelCoord.x)/(gl_NumWorkGroups.x);
value.y = float(texelCoord.y)/(gl_NumWorkGroups.y);
imageStore(imgOutput, texelCoord, value);
}
Timeline
Post
Remote status
Context
7IM GOING TO FUCKING KILL MYSELF GUYS
Now do a triangle
@tyler actually ive already done that
Brave of you to raw dog gl4 btw i hope whatever you make is cute and funny
@tyler i knew what I was getting into anyway so oh well
who know that moving processing from the cpu to the gpu was so fucking difficult
who know that moving processing from the cpu to the gpu was so fucking difficult
You should see mattys commit messages they are atrocious and art in their own right
Other than a single shader I have never done anything on the gpu manually you are very cool
Other than a single shader I have never done anything on the gpu manually you are very cool
they're not that bad