Revert "Fix: EEVEE: Write to vertex shader outputs to avoid Intel linking errors"
This reverts commit 16ad7524a7.
The commit was accidentally pushed to the upstream branch instead of a
fork branch.
This commit is contained in:
@@ -28,12 +28,4 @@ void main()
|
||||
interp.P = drw_point_object_to_world(lP);
|
||||
|
||||
gl_Position = reverse_z::transform(drw_point_world_to_homogenous(interp.P));
|
||||
|
||||
#ifdef MAT_SHADOW
|
||||
/* Volumes currently do not support shadow. But the shader validation pipeline still compiles the
|
||||
* shadow variant of this shader. Avoid linking error on Intel Windows drivers. */
|
||||
shadow_iface.shadow_view_id = 0;
|
||||
shadow_clip.position = float3(0);
|
||||
shadow_clip.vector = float3(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -29,12 +29,4 @@ void main()
|
||||
interp.N = float3(1);
|
||||
|
||||
gl_Position = reverse_z::transform(gl_Position);
|
||||
|
||||
#ifdef MAT_SHADOW
|
||||
/* This shader currently does not support shadow. But the shader validation pipeline still
|
||||
* compiles the shadow variant of this shader. Avoid linking error on Intel Windows drivers. */
|
||||
shadow_iface.shadow_view_id = 0;
|
||||
shadow_clip.position = float3(0);
|
||||
shadow_clip.vector = float3(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user