mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 20:28:32 +09:00
[Fix]: (MG_Util/ShaderTranspiler): rename explicitAttribLocations to explicitVertexInLocations in ProgramAttrib
This commit is contained in:
@@ -86,7 +86,7 @@ namespace MobileGL {
|
||||
|
||||
MG_Util::ShaderTranspiler::ProgramAttrib attrib{
|
||||
.shaders = Move(shaders),
|
||||
.explicitAttribLocations = m_explicitAttribLocations
|
||||
.explicitVertexInLocations = m_explicitAttribLocations
|
||||
};
|
||||
|
||||
MGLOG_D("ProgramObject %u: Calling ShaderCompiler::LinkProgram", m_externalIndex);
|
||||
@@ -376,7 +376,7 @@ namespace MobileGL {
|
||||
|
||||
ProgramAttrib attrib{
|
||||
.shaders = Move(shaders),
|
||||
.explicitAttribLocations = m_explicitAttribLocations
|
||||
.explicitVertexInLocations = m_explicitAttribLocations
|
||||
};
|
||||
MGLOG_D("ProgramObject %u: GenerateBinary - linking program for binary", m_externalIndex);
|
||||
auto programResult = ShaderCompiler::LinkProgram(attrib);
|
||||
|
||||
@@ -396,7 +396,7 @@ TEST_F(ProgramUtilTest, CompileAndLinkBlitProgram) {
|
||||
|
||||
ProgramAttrib programAttrib{// .shaderTypes = { GL_VERTEX_SHADER, GL_FRAGMENT_SHADER },
|
||||
.shaders = {vs_res.value(), fs_res.value()},
|
||||
.explicitAttribLocations = attribLocations
|
||||
.explicitVertexInLocations = attribLocations
|
||||
};
|
||||
|
||||
auto program_res = ShaderCompiler::LinkProgram(programAttrib);
|
||||
|
||||
Reference in New Issue
Block a user