projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug invalid memory write
[carveJwlIkooP6JGAAIwe30JlM.git]
/
shaders
/
scene.vs
diff --git
a/shaders/scene.vs
b/shaders/scene.vs
index 9c8e4ebdfb113df60b7faaa8457cf1ca63ae96f7..814bea2a36ed6150483253f6bf3b9ef08b4bbb10 100644
(file)
--- a/
shaders/scene.vs
+++ b/
shaders/scene.vs
@@
-1,7
+1,6
@@
layout (location=0) in vec3 a_co;
layout (location=1) in vec4 a_norm;
layout (location=2) in vec2 a_uv;
layout (location=0) in vec3 a_co;
layout (location=1) in vec4 a_norm;
layout (location=2) in vec2 a_uv;
-layout (location=3) in ivec4 a_lights;
#include "motion_vectors_vs.glsl"
#include "motion_vectors_vs.glsl"
@@
-13,7
+12,6
@@
out vec2 aUv;
out vec4 aNorm;
out vec3 aCo;
out vec3 aWorldCo;
out vec4 aNorm;
out vec3 aCo;
out vec3 aWorldCo;
-flat out ivec4 aLights;
void main()
{
void main()
{
@@
-29,5
+27,4
@@
void main()
aNorm = vec4( mat3(uMdl) * a_norm.xyz, a_norm.w );
aCo = a_co;
aWorldCo = world_pos0;
aNorm = vec4( mat3(uMdl) * a_norm.xyz, a_norm.w );
aCo = a_co;
aWorldCo = world_pos0;
- aLights = a_lights;
}
}