Synchronise with Khronos-private Gitlab branch

The maintenance of the conformance tests is moving to Github.

This commit contains all the changes that have been done in
Gitlab since the first public release of the conformance tests.

Signed-off-by: Kevin Petit kevin.petit@arm.com
This commit is contained in:
Kevin Petit
2019-02-20 16:19:45 +00:00
committed by Kévin Petit
parent ba975e4112
commit 05a11d8e49
785 changed files with 18699 additions and 1070 deletions

View File

@@ -0,0 +1,30 @@
OpCapability Addresses
OpCapability Linkage
OpCapability Kernel
OpMemoryModel Physical32 OpenCL
OpEntryPoint Kernel %func "label_simple"
OpName %inptr "in"
OpDecorate %global_id BuiltIn GlobalInvocationId
OpDecorate %global_id Constant
OpDecorate %inptr FuncParamAttr NoCapture
OpDecorate %global_id LinkageAttributes "__spirv_GlobalInvocationId" Import
%idx_t = OpTypeInt 32 0
%idx3_t = OpTypeVector %idx_t 3
%idx3_ptr_t = OpTypePointer UniformConstant %idx3_t
%void_t = OpTypeVoid
%int_t = OpTypeInt 32 0
%int_ptr_t = OpTypePointer CrossWorkgroup %int_t
%func_t = OpTypeFunction %void_t %int_ptr_t %int_ptr_t
%global_id = OpVariable %idx3_ptr_t UniformConstant
%func = OpFunction %void_t None %func_t
%inptr = OpFunctionParameter %int_ptr_t
%outptr = OpFunctionParameter %int_ptr_t
%entry = OpLabel
%idx3 = OpLoad %idx3_t %global_id Aligned 0
%idx = OpCompositeExtract %idx_t %idx3 0
%current_in = OpInBoundsPtrAccessChain %int_ptr_t %inptr %idx
%current_out = OpInBoundsPtrAccessChain %int_ptr_t %outptr %idx
%val = OpLoad %int_t %current_in
OpStore %current_out %val
OpReturn
OpFunctionEnd