Shadergen: Remove unused vertex shader code

This commit is contained in:
wheremyfoodat 2024-07-25 03:59:01 +03:00 committed by GitHub
parent f16486757b
commit df5d14e3d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -72,11 +72,6 @@ std::string FragmentGenerator::getDefaultVertexShader() {
out float gl_ClipDistance[2]; out float gl_ClipDistance[2];
#endif #endif
vec4 abgr8888ToVec4(uint abgr) {
const float scale = 1.0 / 255.0;
return scale * vec4(float(abgr & 0xffu), float((abgr >> 8) & 0xffu), float((abgr >> 16) & 0xffu), float(abgr >> 24));
}
void main() { void main() {
gl_Position = a_coords; gl_Position = a_coords;
vec4 colourAbs = abs(a_vertexColour); vec4 colourAbs = abs(a_vertexColour);