gpu/command_buffer/build_cmd_buffer_lib.py
def WriteDestinationInitalizationValidatationIfNeeded(self, f, _func):
    """Writes the client side destintion initialization validation if needed."""
    parts = self.type.split(" ")
    if len(parts) > 1:
      return
    if parts[0] in self.need_validation_:
      f.write(
          "  GPU_CLIENT_VALIDATE_DESTINATION_%sINITALIZATION(%s, %s);\n" %
          ("OPTIONAL_" if self.optional else "", self.type[:-1], self.name))
Writes the client side destintion initialization validation if needed.
Writes the client side destintion initialization validation if needed.
Writes the client side destintion initialization validation if needed .
def WriteDestinationInitalizationValidatationIfNeeded(self, f, _func):
    parts = self.type.split(" ")
    if len(parts) > 1:
      return
    if parts[0] in self.need_validation_:
      f.write(
          "  GPU_CLIENT_VALIDATE_DESTINATION_%sINITALIZATION(%s, %s);\n" %
          ("OPTIONAL_" if self.optional else "", self.type[:-1], self.name))
def WriteDestinationInitalizationValidatationIfNeeded ( self , f , _func ) : parts = self . type . split ( " " ) if len ( parts ) > 1 : return if parts [ 0 ] in self . need_validation_ : f . write ( "  GPU_CLIENT_VALIDATE_DESTINATION_%sINITALIZATION(%s, %s);\n" % ( "OPTIONAL_" if self . optional else "" , self . type [ : - 1 ] , self . name ) )
Writes the client side destintion initialization validation if needed.
Writes the client side destintion initialization validation if needed .
"""Writes the client side destintion initialization validation if needed."""
self
f
_func