[gl] Remove GetBindingName method This became unused when we switched to the IR backend, which handles binding names differently. Change-Id: I3734bf23d5a0be4ba0b2cfa6ce6097f5ab888a2f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/287355 Commit-Queue: Stephen White <senorblanco@chromium.org> Auto-Submit: James Price <jrprice@google.com> Reviewed-by: Stephen White <senorblanco@chromium.org>
diff --git a/src/dawn/native/opengl/ShaderModuleGL.cpp b/src/dawn/native/opengl/ShaderModuleGL.cpp index 525502d..6d9c5aa 100644 --- a/src/dawn/native/opengl/ShaderModuleGL.cpp +++ b/src/dawn/native/opengl/ShaderModuleGL.cpp
@@ -297,13 +297,6 @@ } // namespace -std::string GetBindingName(BindGroupIndex group, BindingNumber bindingNumber) { - std::ostringstream o; - o << "dawn_binding_" << static_cast<uint32_t>(group) << "_" - << static_cast<uint32_t>(bindingNumber); - return o.str(); -} - bool operator<(const CombinedSamplerElement& a, const CombinedSamplerElement& b) { return std::tie(a.group, a.index, a.shaderArraySize) < std::tie(b.group, b.index, b.shaderArraySize);
diff --git a/src/dawn/native/opengl/ShaderModuleGL.h b/src/dawn/native/opengl/ShaderModuleGL.h index 53743ea..f03aeeb 100644 --- a/src/dawn/native/opengl/ShaderModuleGL.h +++ b/src/dawn/native/opengl/ShaderModuleGL.h
@@ -53,8 +53,6 @@ class PipelineLayout; struct OpenGLFunctions; -std::string GetBindingName(BindGroupIndex group, BindingNumber bindingNumber); - #define COMBINED_SAMPLER_ELEMENT_MEMBERS(X) \ X(BindGroupIndex, group) \ X(BindingIndex, index) \