Made navmesh compile on Windows
Small updates to remove warnings Testing nonuniform descriptor access in shader
This commit is contained in:
@@ -16,6 +16,7 @@ readonly buffer Vertices {
|
||||
|
||||
layout(location = 0) out vec2 frag_uv;
|
||||
layout(location = 1) out vec4 frag_c;
|
||||
layout(location = 2) out flat uint idx;
|
||||
|
||||
void main() {
|
||||
Vertex v = vtx[gl_VertexIndex];
|
||||
@@ -25,4 +26,6 @@ void main() {
|
||||
frag_uv = v.uv;
|
||||
frag_c = vec4((v.c >> 24) & 0xFF, (v.c >> 16) & 0xFF, (v.c >> 8) & 0xFF, (v.c >> 0) & 0xFF) / 255.0f;
|
||||
frag_c = frag_c.abgr;
|
||||
|
||||
idx = v.pad;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user