COMP: Clean up unused shaders

This commit is contained in:
David Allemang
2023-02-05 21:46:29 -05:00
parent 676e98bb87
commit 9dd634481c
8 changed files with 13 additions and 146 deletions

View File

@@ -12,6 +12,11 @@ layout(std140, binding=1) uniform Matrices {
mat4 view;
};
layout(std140, binding=2) uniform ModelMatrices {
mat4 linear;
vec4 translation;
};
in ivec4 vInds[];
in vec4 vCol[];
@@ -36,7 +41,8 @@ void emit(vec4 v) {
void main() {
vec4 pos4[4];
for (int i = 0; i < 4; ++i) pos4[i] = view * verts[vInds[0][i]];
for (int i = 0; i < 4; ++i)
pos4[i] = view * (linear * verts[vInds[0][i]] + translation);
int lo[4], L = 0;
int hi[4], H = 0;