fix: alot of stuff changed. Mostly bugfixxes / architechture changes

This commit is contained in:
2026-08-09 02:24:17 +02:00
parent 4b6f773c0c
commit 05384debbf
98 changed files with 5461 additions and 1751 deletions
+2 -1
View File
@@ -8,7 +8,8 @@ layout (set = 0, binding = 1) uniform sampler samplers[];
#define NEAREST_SAMPLER_ID 0
#define LINEAR_SAMPLER_ID 1
#define SHADOW_SAMPLER_ID 2
#define ANISOTROPIC_SAMPLER_ID 2
#define SHADOW_SAMPLER_ID 3
vec4 sampleTexture2DNearest(uint texID, vec2 uv) {
return texture(nonuniformEXT(sampler2D(textures[texID], samplers[NEAREST_SAMPLER_ID])), uv);
+1 -1
View File
@@ -27,7 +27,7 @@ layout (push_constant) uniform constants
uint numVertices;
VertexBuffer inputBuffer;
SkinningData skinningData;
VertexBuffer outputBuffer;
WritableVertexBuffer outputBuffer;
} pcs;
layout (local_size_x = 256, local_size_y = 1, local_size_z = 1) in;
+4
View File
@@ -16,4 +16,8 @@ layout (buffer_reference, std430) readonly buffer VertexBuffer {
Vertex vertices[];
};
layout (buffer_reference, std430) buffer WritableVertexBuffer {
Vertex vertices[];
};
#endif // VERTEX_GLSL