#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
2IM GOING TO FUCKING KILL MYSELF GUYS
Now do a triangle
Replies
8
@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
@matty @tyler
my commits are mostly monotone and systematic
this happened immediately after I had to bisect for a random issue in a project some time ago and it was hell with commit names such as 'khjkhgklashgwjglewhjlgkw' and 'fixed the thing' and 'balls'
my commits are mostly monotone and systematic
this happened immediately after I had to bisect for a random issue in a project some time ago and it was hell with commit names such as 'khjkhgklashgwjglewhjlgkw' and 'fixed the thing' and 'balls'
@tyler @theorytoe That’s right, the square hole!