SPIRV-Tools/source
David Neto 2889a0c21c Use syntax tables for SPIR-V 1.0 Rev3
- The SPIR-V spec generator has changed how it represents optional
  operands.  Now it tracks a separate boolean flag indicating optionality.
  However, SPIRV-Tools still wants to represent both operand class
  and optionality in the same enums space (SPV_OPERAND_TYPE_*).
  So there's extra work in the patch.

- In the spec generator, OperandImage is now OperandImageOperands.
  This affects enum translation in opcode.cpp.

- In the spec generator, image operands are explicitly followed by
  Id, and VariableIds.  However, SPIRV-Tools uses the bits set
  in the image operand bitmask to control the number and meaning
  of the Ids that follow.  So in writing the opcode.inc syntax
  table, drop all operands after OperandImageOperands.

- Some enums are now more explicitly represented in the generated
  opcode.inc:
    - AccessQualifier (e.g. on OpTypeImage), in both required and
      optional flavours.
    - MemoryAccess (e.g. on loads and stores)

- Add SPV_OPERAND_TYPE_OPTIONAL_ACCESS_QUALIFIER

- Add tests for the optional AccessQualifier operand on OpTypeImage.

- Update the AccessQualifier test for OpTypeImage so it's a round
  trip test through the disassembler as well.
2016-02-16 16:47:04 -05:00
..
assembly_grammar.cpp Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
assembly_grammar.h Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
binary.cpp Use syntax tables for SPIR-V 1.0 Rev3 2016-02-16 16:47:04 -05:00
binary.h Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
diagnostic.cpp Function and block layout checks. very basic CFG. 2016-01-13 10:06:58 -05:00
diagnostic.h Function and block layout checks. very basic CFG. 2016-01-13 10:06:58 -05:00
disassemble.cpp Add disassembler option to show byte offset 2016-01-20 17:07:30 -05:00
ext_inst.cpp Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
ext_inst.h Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
instruction.h Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
opcode.cpp Use syntax tables for SPIR-V 1.0 Rev3 2016-02-16 16:47:04 -05:00
opcode.h Make IsTypeNullable a transitive check. 2016-02-04 15:34:47 -05:00
opcode.inc Use syntax tables for SPIR-V 1.0 Rev3 2016-02-16 16:47:04 -05:00
opencl_std_ext_inst.inc Update to 1.0 Rev 2 work-in-progress headers 2015-11-12 09:43:12 -05:00
operand.cpp Use syntax tables for SPIR-V 1.0 Rev3 2016-02-16 16:47:04 -05:00
operand.h Add spvOperandIsConcreteMask 2016-02-02 12:05:34 -05:00
print.cpp Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
print.h Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
spirv_constant.h Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
spirv_definition.h Use AssemblyGrammar for capability validation. 2016-02-02 11:40:05 -05:00
spirv_endian.cpp Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
spirv_endian.h Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
spirv_operands.h Use syntax tables for SPIR-V 1.0 Rev3 2016-02-16 16:47:04 -05:00
syntax_tables.patch Use syntax tables for SPIR-V 1.0 Rev3 2016-02-16 16:47:04 -05:00
table.cpp Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
table.h Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
text_handler.cpp Support 16-bit float in assembler and disassembler 2016-01-08 10:48:39 -05:00
text_handler.h Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
text.cpp Use syntax tables for SPIR-V 1.0 Rev3 2016-02-16 16:47:04 -05:00
text.h Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
validate_cfg.cpp Track uses and defs during parsing. 2016-01-20 17:00:58 -05:00
validate_id.cpp Make IsTypeNullable a transitive check. 2016-02-04 15:34:47 -05:00
validate_instruction.cpp Validation of mask operand capabilities is more data driven 2016-02-02 12:12:48 -05:00
validate_layout.cpp Track uses and defs during parsing. 2016-01-20 17:00:58 -05:00
validate_passes.h Track uses and defs during parsing. 2016-01-20 17:00:58 -05:00
validate_ssa.cpp Track uses and defs during parsing. 2016-01-20 17:00:58 -05:00
validate_types.cpp Use AssemblyGrammar for capability validation. 2016-02-02 11:40:05 -05:00
validate.cpp Use AssemblyGrammar for capability validation. 2016-02-02 11:40:05 -05:00
validate.h Use AssemblyGrammar for capability validation. 2016-02-02 11:40:05 -05:00