Chromium Code Reviews| Index: gpu/command_buffer/service/disk_cache_proto.proto |
| diff --git a/gpu/command_buffer/service/disk_cache_proto.proto b/gpu/command_buffer/service/disk_cache_proto.proto |
| index 5a55943fba3afb03a1944e86ae0896efe2a8f4b8..af77381411d4ae1014c33e268d26dd99af1301ca 100644 |
| --- a/gpu/command_buffer/service/disk_cache_proto.proto |
| +++ b/gpu/command_buffer/service/disk_cache_proto.proto |
| @@ -1,19 +1,36 @@ |
| option optimize_for = LITE_RUNTIME; |
| -message ShaderInfoProto { |
| +message ShaderVariableProto { |
|
Ken Russell (switch to Gerrit)
2014/10/07 03:35:26
What prevents us from attempting to parse an old v
Zhenyao Mo
2014/10/07 18:23:40
When we are ready to land this CL, we should land
|
| optional int32 type = 1; |
| - optional int32 size = 2; |
| + optional int32 precision = 2; |
| optional string name = 3; |
| - optional string key = 4; |
| - optional int32 precision = 5; |
| - optional int32 static_use = 6; |
| + optional string mapped_name = 4; |
| + optional int32 array_size = 5; |
| + optional int32 static_use = 6; |
| + repeated ShaderVariableProto fields = 7; |
| + optional string struct_name = 8; |
| +} |
| + |
| +message ShaderAttributeProto { |
| + optional ShaderVariableProto basic = 1; |
| + optional int32 location = 2; |
| +} |
| + |
| +message ShaderUniformProto { |
| + optional ShaderVariableProto basic = 1; |
| +} |
| + |
| +message ShaderVaryingProto { |
| + optional ShaderVariableProto basic = 1; |
| + optional int32 interpolation = 2; |
| + optional int32 is_invariant = 3; |
| } |
| message ShaderProto { |
| optional bytes sha = 1; |
| - repeated ShaderInfoProto attribs = 2; |
| - repeated ShaderInfoProto uniforms = 3; |
| - repeated ShaderInfoProto varyings = 4; |
| + repeated ShaderAttributeProto attribs = 2; |
| + repeated ShaderUniformProto uniforms = 3; |
| + repeated ShaderVaryingProto varyings = 4; |
| } |
| message GpuProgramProto { |