Home
last modified time | relevance | path

Searched refs:locationRef (Results 1 – 1 of 1) sorted by relevance

/external/angle/src/libANGLE/renderer/gl/
DProgramGL.cpp1087 auto &locationRef = (*uniformLocations)[location]; in markUnusedUniformLocations() local
1088 if (mState.isSamplerUniformIndex(locationRef.index)) in markUnusedUniformLocations()
1090 GLuint samplerIndex = mState.getSamplerIndexFromUniformIndex(locationRef.index); in markUnusedUniformLocations()
1092 if (locationRef.arrayIndex < samplerBinding.boundTextureUnits.size()) in markUnusedUniformLocations()
1095 samplerBinding.boundTextureUnits.resize(locationRef.arrayIndex); in markUnusedUniformLocations()
1098 else if (mState.isImageUniformIndex(locationRef.index)) in markUnusedUniformLocations()
1100 GLuint imageIndex = mState.getImageIndexFromUniformIndex(locationRef.index); in markUnusedUniformLocations()
1102 if (locationRef.arrayIndex < imageBinding.boundImageUnits.size()) in markUnusedUniformLocations()
1105 imageBinding.boundImageUnits.resize(locationRef.arrayIndex); in markUnusedUniformLocations()
1112 locationRef.markIgnored(); in markUnusedUniformLocations()
[all …]