SPIRV-Tools/test
Dejan Mircevski 7b33485f6e First tests for SPIR-V v1.1.
Add test for named-barrier instructions and capability.

Add spv_target_env as an optional argument to CompileSuccessfully() and
CompileFailure().  Currently defaults to UNIVERSAL_1_0, though that
could change in the future.

Make spv_context a local variable in test methods instead of a
TextToBinaryTestBase member.  Introduce ScopedContext to make temp
contexts easier.
2016-04-19 16:34:12 -04:00
..
AssemblyContext.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
AssemblyFormat.cpp First tests for SPIR-V v1.1. 2016-04-19 16:34:12 -04:00
BinaryDestroy.cpp First tests for SPIR-V v1.1. 2016-04-19 16:34:12 -04:00
BinaryEndianness.cpp Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
BinaryHeaderGet.cpp Add SPIR-V 1.1 grammar. 2016-04-18 10:45:57 -04:00
BinaryParse.cpp First tests for SPIR-V v1.1. 2016-04-19 16:34:12 -04:00
BinaryToText.cpp First tests for SPIR-V v1.1. 2016-04-19 16:34:12 -04:00
BinaryToText.Literal.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
CMakeLists.txt Remove dependency on SPIR-V headers in libspirv.h. 2016-04-04 10:34:28 -04:00
Comment.cpp Fix spelling mistakes 2016-04-02 22:54:59 +01:00
DiagnosticDestroy.cpp spvDiagnosticDestroy is safe to call on nullptr 2016-01-11 14:26:46 -05:00
DiagnosticPrint.cpp Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
DiagnosticStream.cpp Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
ExtInst.OpenCL.std.cpp Remove dependency on SPIR-V headers in libspirv.h. 2016-04-04 10:34:28 -04:00
ExtInstGLSLstd450.cpp Remove dependency on SPIR-V headers in libspirv.h. 2016-04-04 10:34:28 -04:00
FixWord.cpp Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
GeneratorMagicNumber.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
HexFloat.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
ImmediateInt.cpp First tests for SPIR-V v1.1. 2016-04-19 16:34:12 -04:00
LibspirvMacros.cpp Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
main.cpp Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
NamedId.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
OpcodeMake.cpp Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
OpcodeRequiresCapabilities.cpp First tests for SPIR-V v1.1. 2016-04-19 16:34:12 -04:00
OpcodeSplit.cpp Remove dependency on SPIR-V headers in libspirv.h. 2016-04-04 10:34:28 -04:00
OpcodeTableGet.cpp Add SPIR-V 1.1 grammar. 2016-04-18 10:45:57 -04:00
operand-class-test-coverage.csv Add negative-coverage location to operand-class-test-coverage.csv. 2015-10-26 12:55:33 -04:00
Operand.cpp Add SPIR-V 1.1 grammar. 2016-04-18 10:45:57 -04:00
OperandCapabilities.cpp Add SPIR-V 1.1 grammar. 2016-04-18 10:45:57 -04:00
OperandPattern.cpp Add SPIR-V 1.1 grammar. 2016-04-18 10:45:57 -04:00
TestFixture.h First tests for SPIR-V v1.1. 2016-04-19 16:34:12 -04:00
TextAdvance.cpp Handle CRLF in assembly text. 2016-04-01 00:47:02 -04:00
TextDestroy.cpp Add a target environment to spvContextCreate(). 2016-03-31 12:16:51 -04:00
TextLiteral.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
TextStartsNewInst.cpp Fixed use-after-free in isStartOfNewInst() tests. 2016-01-12 14:47:24 -05:00
TextToBinary.Annotation.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
TextToBinary.Barrier.cpp First tests for SPIR-V v1.1. 2016-04-19 16:34:12 -04:00
TextToBinary.Constant.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
TextToBinary.ControlFlow.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
TextToBinary.cpp First tests for SPIR-V v1.1. 2016-04-19 16:34:12 -04:00
TextToBinary.Debug.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
TextToBinary.DeviceSideEnqueue.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
TextToBinary.Extension.cpp Remove dependency on SPIR-V headers in libspirv.h. 2016-04-04 10:34:28 -04:00
TextToBinary.Function.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
TextToBinary.Group.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
TextToBinary.Image.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
TextToBinary.Literal.cpp Extend copyright to 2016. 2016-01-07 13:44:22 -05:00
TextToBinary.Memory.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
TextToBinary.Miscellaneous.cpp Remove AssemblyContext::getWord(). 2016-03-15 15:16:40 -04:00
TextToBinary.ModeSetting.cpp OpExecutionMode only takes a single ExecutionMode 2016-03-29 14:51:02 -04:00
TextToBinary.TypeDeclaration.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
TextWordGet.cpp Handle CRLF in assembly text. 2016-04-01 00:47:02 -04:00
UnitSPIRV.cpp Support 16-bit float in assembler and disassembler 2016-01-08 10:48:39 -05:00
UnitSPIRV.h Fix spelling mistakes 2016-04-02 22:54:59 +01:00
Validate.Capability.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
Validate.Layout.cpp Fix spelling mistakes 2016-04-02 22:54:59 +01:00
Validate.SSA.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
Validate.Storage.cpp Make everything compile cleanly with -Wpedantic. 2016-03-21 10:01:13 -04:00
ValidateFixtures.cpp Add a target environment to spvContextCreate(). 2016-03-31 12:16:51 -04:00
ValidateFixtures.h Remove spv_validate_options_t and change tests accrodingly. 2016-02-23 16:19:33 -05:00
ValidateID.cpp First tests for SPIR-V v1.1. 2016-04-19 16:34:12 -04:00
ValidationState.cpp Add a target environment to spvContextCreate(). 2016-03-31 12:16:51 -04:00