mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 22:55:40 +12:00
Shadergen: Remove unused vertex shader code
This commit is contained in:
parent
f16486757b
commit
df5d14e3d8
1 changed files with 1 additions and 6 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue