| Index: gpu/command_buffer/service/shader_translator.h
|
| diff --git a/gpu/command_buffer/service/shader_translator.h b/gpu/command_buffer/service/shader_translator.h
|
| index f82343e6657bb323f1565df9209b90c67f03dc19..be5b1f6a6389715cc35b4b5e26228a4c130989f1 100644
|
| --- a/gpu/command_buffer/service/shader_translator.h
|
| +++ b/gpu/command_buffer/service/shader_translator.h
|
| @@ -43,6 +43,12 @@ class ShaderTranslatorInterface {
|
| size(_size),
|
| name(_name) {
|
| }
|
| + bool operator==(
|
| + const ShaderTranslatorInterface::VariableInfo& other) const {
|
| + return type == other.type &&
|
| + size == other.size &&
|
| + strcmp(name.c_str(), other.name.c_str()) == 0;
|
| + }
|
|
|
| int type;
|
| int size;
|
|
|