Searched refs:locationRef (Results 1 – 2 of 2) sorted by relevance
1087 auto &locationRef = (*uniformLocations)[location]; in markUnusedUniformLocations() local1088 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 …]
1164 auto &locationRef = (*uniformLocations)[location]; in markUnusedUniformLocations() local1165 if (mState.isSamplerUniformIndex(locationRef.index)) in markUnusedUniformLocations()1167 GLuint samplerIndex = mState.getSamplerIndexFromUniformIndex(locationRef.index); in markUnusedUniformLocations()1170 else if (mState.isImageUniformIndex(locationRef.index)) in markUnusedUniformLocations()1172 GLuint imageIndex = mState.getImageIndexFromUniformIndex(locationRef.index); in markUnusedUniformLocations()1175 locationRef.markUnused(); in markUnusedUniformLocations()