Skip to content

Commit 416d0c3

Browse files
committed
NUKE unused GetUniformLocation_*()
1 parent d5ffdf3 commit 416d0c3

File tree

1 file changed

+0
-80
lines changed

1 file changed

+0
-80
lines changed

src/engine/renderer/gl_shader.h

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1911,10 +1911,6 @@ class u_ColorMap :
19111911
void SetUniform_ColorMapBindless( GLuint64 bindlessHandle ) {
19121912
this->SetValueBindless( bindlessHandle );
19131913
}
1914-
1915-
GLint GetUniformLocation_ColorMap() {
1916-
return this->GetLocation();
1917-
}
19181914
};
19191915

19201916
class u_ColorMap3D :
@@ -1927,10 +1923,6 @@ class u_ColorMap3D :
19271923
void SetUniform_ColorMap3DBindless( GLuint64 bindlessHandle ) {
19281924
this->SetValueBindless( bindlessHandle );
19291925
}
1930-
1931-
GLint GetUniformLocation_ColorMap3D() {
1932-
return this->GetLocation();
1933-
}
19341926
};
19351927

19361928
class u_ColorMapCube :
@@ -1943,10 +1935,6 @@ class u_ColorMapCube :
19431935
void SetUniform_ColorMapCubeBindless( GLuint64 bindlessHandle ) {
19441936
this->SetValueBindless( bindlessHandle );
19451937
}
1946-
1947-
GLint GetUniformLocation_ColorMapCube() {
1948-
return this->GetLocation();
1949-
}
19501938
};
19511939

19521940
class u_DepthMap :
@@ -1959,10 +1947,6 @@ class u_DepthMap :
19591947
void SetUniform_DepthMapBindless( GLuint64 bindlessHandle ) {
19601948
this->SetValueBindless( bindlessHandle );
19611949
}
1962-
1963-
GLint GetUniformLocation_DepthMap() {
1964-
return this->GetLocation();
1965-
}
19661950
};
19671951

19681952
class u_DiffuseMap :
@@ -1975,10 +1959,6 @@ class u_DiffuseMap :
19751959
void SetUniform_DiffuseMapBindless( GLuint64 bindlessHandle ) {
19761960
this->SetValueBindless( bindlessHandle );
19771961
}
1978-
1979-
GLint GetUniformLocation_DiffuseMap() {
1980-
return this->GetLocation();
1981-
}
19821962
};
19831963

19841964
class u_HeightMap :
@@ -1991,10 +1971,6 @@ class u_HeightMap :
19911971
void SetUniform_HeightMapBindless( GLuint64 bindlessHandle ) {
19921972
this->SetValueBindless( bindlessHandle );
19931973
}
1994-
1995-
GLint GetUniformLocation_HeightMap() {
1996-
return this->GetLocation();
1997-
}
19981974
};
19991975

20001976
class u_NormalMap :
@@ -2007,10 +1983,6 @@ class u_NormalMap :
20071983
void SetUniform_NormalMapBindless( GLuint64 bindlessHandle ) {
20081984
this->SetValueBindless( bindlessHandle );
20091985
}
2010-
2011-
GLint GetUniformLocation_NormalMap() {
2012-
return this->GetLocation();
2013-
}
20141986
};
20151987

20161988
class u_MaterialMap :
@@ -2023,10 +1995,6 @@ class u_MaterialMap :
20231995
void SetUniform_MaterialMapBindless( GLuint64 bindlessHandle ) {
20241996
this->SetValueBindless( bindlessHandle );
20251997
}
2026-
2027-
GLint GetUniformLocation_MaterialMap() {
2028-
return this->GetLocation();
2029-
}
20301998
};
20311999

20322000
class u_LightMap :
@@ -2039,10 +2007,6 @@ class u_LightMap :
20392007
void SetUniform_LightMapBindless( GLuint64 bindlessHandle ) {
20402008
this->SetValueBindless( bindlessHandle );
20412009
}
2042-
2043-
GLint GetUniformLocation_LightMap() {
2044-
return this->GetLocation();
2045-
}
20462010
};
20472011

20482012
class u_DeluxeMap :
@@ -2055,10 +2019,6 @@ class u_DeluxeMap :
20552019
void SetUniform_DeluxeMapBindless( GLuint64 bindlessHandle ) {
20562020
this->SetValueBindless( bindlessHandle );
20572021
}
2058-
2059-
GLint GetUniformLocation_DeluxeMap() {
2060-
return this->GetLocation();
2061-
}
20622022
};
20632023

20642024
class u_GlowMap :
@@ -2071,10 +2031,6 @@ class u_GlowMap :
20712031
void SetUniform_GlowMapBindless( GLuint64 bindlessHandle ) {
20722032
this->SetValueBindless( bindlessHandle );
20732033
}
2074-
2075-
GLint GetUniformLocation_GlowMap() {
2076-
return this->GetLocation();
2077-
}
20782034
};
20792035

20802036
class u_PortalMap :
@@ -2087,10 +2043,6 @@ class u_PortalMap :
20872043
void SetUniform_PortalMapBindless( GLuint64 bindlessHandle ) {
20882044
this->SetValueBindless( bindlessHandle );
20892045
}
2090-
2091-
GLint GetUniformLocation_PortalMap() {
2092-
return this->GetLocation();
2093-
}
20942046
};
20952047

20962048
class u_CloudMap :
@@ -2103,10 +2055,6 @@ class u_CloudMap :
21032055
void SetUniform_CloudMapBindless( GLuint64 bindlessHandle ) {
21042056
this->SetValueBindless( bindlessHandle );
21052057
}
2106-
2107-
GLint GetUniformLocation_CloudMap() {
2108-
return this->GetLocation();
2109-
}
21102058
};
21112059

21122060
class u_FogMap :
@@ -2119,10 +2067,6 @@ class u_FogMap :
21192067
void SetUniform_FogMapBindless( GLuint64 bindlessHandle ) {
21202068
this->SetValueBindless( bindlessHandle );
21212069
}
2122-
2123-
GLint GetUniformLocation_FogMap() {
2124-
return this->GetLocation();
2125-
}
21262070
};
21272071

21282072
class u_LightTiles :
@@ -2135,10 +2079,6 @@ class u_LightTiles :
21352079
void SetUniform_LightTilesBindless( GLuint64 bindlessHandle ) {
21362080
this->SetValueBindless( bindlessHandle );
21372081
}
2138-
2139-
GLint GetUniformLocation_LightTiles() {
2140-
return this->GetLocation();
2141-
}
21422082
};
21432083

21442084
class u_LightGrid1 :
@@ -2151,10 +2091,6 @@ class u_LightGrid1 :
21512091
void SetUniform_LightGrid1Bindless( GLuint64 bindlessHandle ) {
21522092
this->SetValueBindless( bindlessHandle );
21532093
}
2154-
2155-
GLint GetUniformLocation_LightGrid1() {
2156-
return this->GetLocation();
2157-
}
21582094
};
21592095

21602096
class u_LightGrid2 :
@@ -2167,10 +2103,6 @@ class u_LightGrid2 :
21672103
void SetUniform_LightGrid2Bindless( GLuint64 bindlessHandle ) {
21682104
this->SetValueBindless( bindlessHandle );
21692105
}
2170-
2171-
GLint GetUniformLocation_LightGrid2() {
2172-
return this->GetLocation();
2173-
}
21742106
};
21752107

21762108
class u_EnvironmentMap0 :
@@ -2183,10 +2115,6 @@ class u_EnvironmentMap0 :
21832115
void SetUniform_EnvironmentMap0Bindless( GLuint64 bindlessHandle ) {
21842116
this->SetValueBindless( bindlessHandle );
21852117
}
2186-
2187-
GLint GetUniformLocation_EnvironmentMap0() {
2188-
return this->GetLocation();
2189-
}
21902118
};
21912119

21922120
class u_EnvironmentMap1 :
@@ -2199,10 +2127,6 @@ class u_EnvironmentMap1 :
21992127
void SetUniform_EnvironmentMap1Bindless( GLuint64 bindlessHandle ) {
22002128
this->SetValueBindless( bindlessHandle );
22012129
}
2202-
2203-
GLint GetUniformLocation_EnvironmentMap1() {
2204-
return this->GetLocation();
2205-
}
22062130
};
22072131

22082132
class u_CurrentMap :
@@ -2215,10 +2139,6 @@ class u_CurrentMap :
22152139
void SetUniform_CurrentMapBindless( GLuint64 bindlessHandle ) {
22162140
this->SetValueBindless( bindlessHandle );
22172141
}
2218-
2219-
GLint GetUniformLocation_CurrentMap() {
2220-
return this->GetLocation();
2221-
}
22222142
};
22232143

22242144
class u_TextureMatrix :

0 commit comments

Comments
 (0)