Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/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 …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DProgramGL.cpp1164 auto &locationRef = (*uniformLocations)[location]; in markUnusedUniformLocations() local
1165 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()