# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: disk_cache_proto.proto

from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)




DESCRIPTOR = _descriptor.FileDescriptor(
  name='disk_cache_proto.proto',
  package='',
  serialized_pb='\n\x16\x64isk_cache_proto.proto\"\xbc\x01\n\x13ShaderVariableProto\x12\x0c\n\x04type\x18\x01 \x01(\r\x12\x11\n\tprecision\x18\x02 \x01(\r\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0bmapped_name\x18\x04 \x01(\t\x12\x12\n\narray_size\x18\x05 \x01(\r\x12\x12\n\nstatic_use\x18\x06 \x01(\x08\x12$\n\x06\x66ields\x18\x07 \x03(\x0b\x32\x14.ShaderVariableProto\x12\x13\n\x0bstruct_name\x18\x08 \x01(\t\"M\n\x14ShaderAttributeProto\x12#\n\x05\x62\x61sic\x18\x01 \x01(\x0b\x32\x14.ShaderVariableProto\x12\x10\n\x08location\x18\x02 \x01(\x05\"9\n\x12ShaderUniformProto\x12#\n\x05\x62\x61sic\x18\x01 \x01(\x0b\x32\x14.ShaderVariableProto\"f\n\x12ShaderVaryingProto\x12#\n\x05\x62\x61sic\x18\x01 \x01(\x0b\x32\x14.ShaderVariableProto\x12\x15\n\rinterpolation\x18\x02 \x01(\x05\x12\x14\n\x0cis_invariant\x18\x03 \x01(\x08\"\x90\x01\n\x0bShaderProto\x12\x0b\n\x03sha\x18\x01 \x01(\x0c\x12&\n\x07\x61ttribs\x18\x02 \x03(\x0b\x32\x15.ShaderAttributeProto\x12%\n\x08uniforms\x18\x03 \x03(\x0b\x32\x13.ShaderUniformProto\x12%\n\x08varyings\x18\x04 \x03(\x0b\x32\x13.ShaderVaryingProto\"\x8b\x01\n\x0fGpuProgramProto\x12\x0b\n\x03sha\x18\x01 \x01(\x0c\x12\x0e\n\x06\x66ormat\x18\x02 \x01(\r\x12\x0f\n\x07program\x18\x03 \x01(\x0c\x12#\n\rvertex_shader\x18\x04 \x01(\x0b\x32\x0c.ShaderProto\x12%\n\x0f\x66ragment_shader\x18\x05 \x01(\x0b\x32\x0c.ShaderProtoB\x02H\x03')




_SHADERVARIABLEPROTO = _descriptor.Descriptor(
  name='ShaderVariableProto',
  full_name='ShaderVariableProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='type', full_name='ShaderVariableProto.type', index=0,
      number=1, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='precision', full_name='ShaderVariableProto.precision', index=1,
      number=2, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='name', full_name='ShaderVariableProto.name', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='mapped_name', full_name='ShaderVariableProto.mapped_name', index=3,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='array_size', full_name='ShaderVariableProto.array_size', index=4,
      number=5, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='static_use', full_name='ShaderVariableProto.static_use', index=5,
      number=6, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='fields', full_name='ShaderVariableProto.fields', index=6,
      number=7, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='struct_name', full_name='ShaderVariableProto.struct_name', index=7,
      number=8, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=27,
  serialized_end=215,
)


_SHADERATTRIBUTEPROTO = _descriptor.Descriptor(
  name='ShaderAttributeProto',
  full_name='ShaderAttributeProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='basic', full_name='ShaderAttributeProto.basic', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='location', full_name='ShaderAttributeProto.location', index=1,
      number=2, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=217,
  serialized_end=294,
)


_SHADERUNIFORMPROTO = _descriptor.Descriptor(
  name='ShaderUniformProto',
  full_name='ShaderUniformProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='basic', full_name='ShaderUniformProto.basic', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=296,
  serialized_end=353,
)


_SHADERVARYINGPROTO = _descriptor.Descriptor(
  name='ShaderVaryingProto',
  full_name='ShaderVaryingProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='basic', full_name='ShaderVaryingProto.basic', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='interpolation', full_name='ShaderVaryingProto.interpolation', index=1,
      number=2, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='is_invariant', full_name='ShaderVaryingProto.is_invariant', index=2,
      number=3, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=355,
  serialized_end=457,
)


_SHADERPROTO = _descriptor.Descriptor(
  name='ShaderProto',
  full_name='ShaderProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='sha', full_name='ShaderProto.sha', index=0,
      number=1, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value="",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='attribs', full_name='ShaderProto.attribs', index=1,
      number=2, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='uniforms', full_name='ShaderProto.uniforms', index=2,
      number=3, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='varyings', full_name='ShaderProto.varyings', index=3,
      number=4, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=460,
  serialized_end=604,
)


_GPUPROGRAMPROTO = _descriptor.Descriptor(
  name='GpuProgramProto',
  full_name='GpuProgramProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='sha', full_name='GpuProgramProto.sha', index=0,
      number=1, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value="",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='format', full_name='GpuProgramProto.format', index=1,
      number=2, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='program', full_name='GpuProgramProto.program', index=2,
      number=3, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value="",
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='vertex_shader', full_name='GpuProgramProto.vertex_shader', index=3,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='fragment_shader', full_name='GpuProgramProto.fragment_shader', index=4,
      number=5, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=607,
  serialized_end=746,
)

_SHADERVARIABLEPROTO.fields_by_name['fields'].message_type = _SHADERVARIABLEPROTO
_SHADERATTRIBUTEPROTO.fields_by_name['basic'].message_type = _SHADERVARIABLEPROTO
_SHADERUNIFORMPROTO.fields_by_name['basic'].message_type = _SHADERVARIABLEPROTO
_SHADERVARYINGPROTO.fields_by_name['basic'].message_type = _SHADERVARIABLEPROTO
_SHADERPROTO.fields_by_name['attribs'].message_type = _SHADERATTRIBUTEPROTO
_SHADERPROTO.fields_by_name['uniforms'].message_type = _SHADERUNIFORMPROTO
_SHADERPROTO.fields_by_name['varyings'].message_type = _SHADERVARYINGPROTO
_GPUPROGRAMPROTO.fields_by_name['vertex_shader'].message_type = _SHADERPROTO
_GPUPROGRAMPROTO.fields_by_name['fragment_shader'].message_type = _SHADERPROTO
DESCRIPTOR.message_types_by_name['ShaderVariableProto'] = _SHADERVARIABLEPROTO
DESCRIPTOR.message_types_by_name['ShaderAttributeProto'] = _SHADERATTRIBUTEPROTO
DESCRIPTOR.message_types_by_name['ShaderUniformProto'] = _SHADERUNIFORMPROTO
DESCRIPTOR.message_types_by_name['ShaderVaryingProto'] = _SHADERVARYINGPROTO
DESCRIPTOR.message_types_by_name['ShaderProto'] = _SHADERPROTO
DESCRIPTOR.message_types_by_name['GpuProgramProto'] = _GPUPROGRAMPROTO

class ShaderVariableProto(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _SHADERVARIABLEPROTO

  # @@protoc_insertion_point(class_scope:ShaderVariableProto)

class ShaderAttributeProto(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _SHADERATTRIBUTEPROTO

  # @@protoc_insertion_point(class_scope:ShaderAttributeProto)

class ShaderUniformProto(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _SHADERUNIFORMPROTO

  # @@protoc_insertion_point(class_scope:ShaderUniformProto)

class ShaderVaryingProto(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _SHADERVARYINGPROTO

  # @@protoc_insertion_point(class_scope:ShaderVaryingProto)

class ShaderProto(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _SHADERPROTO

  # @@protoc_insertion_point(class_scope:ShaderProto)

class GpuProgramProto(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _GPUPROGRAMPROTO

  # @@protoc_insertion_point(class_scope:GpuProgramProto)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), 'H\003')
# @@protoc_insertion_point(module_scope)
