optimize dispatch calls

This commit is contained in:
2025-11-08 22:23:22 +01:00
parent 9f40a59612
commit db1bbd6d0a
3 changed files with 22 additions and 11 deletions

View File

@@ -1,14 +1,10 @@
#version 460 core
layout(location = 0) in vec2 a_Position;
layout(std430, binding = 3) buffer layoutName
{
vec2 data_SSBO[];
};
out vec2 v_TexCoord;
void main()
{
gl_Position = vec4(data_SSBO[gl_InstanceID], 0.0, 1.0);