File: spirv-unknown-extensions.spt

package info (click to toggle)
spirv-llvm-translator 11.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,688 kB
  • sloc: cpp: 40,164; lisp: 2,185; sh: 215; python: 150; makefile: 17
file content (44 lines) | stat: -rw-r--r-- 828 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
119734787 65536 393230 16 0
2 Capability Addresses
2 Capability Linkage
2 Capability Kernel
2 Extension "unknown_spirv_extension"
5 ExtInstImport 1 "OpenCL.std"
3 MemoryModel 2 2
3 Source 3 200000
3 Name 4 "foo"
4 Name 5 "entry"
4 Name 11 "agg1"
3 Name 12 "bar"
4 Name 13 "entry"
4 Name 14 "agg2"
5 Decorate 4 LinkageAttributes "foo" Export
5 Decorate 12 LinkageAttributes "bar" Export
4 TypeInt 7 32 0
4 Constant 7 10 1
2 TypeVoid 2
3 TypeFunction 3 2
3 TypeFloat 8 32
4 TypeStruct 6 7 8

5 Function 2 4 0 3

2 Label 5
3 Undef 6 9
6 CompositeInsert 6 11 10 9 0
1 Return

1 FunctionEnd

5 Function 2 12 0 3

2 Label 13
3 Undef 6 15
6 CompositeInsert 6 14 10 15 0
1 Return

1 FunctionEnd

; RUN: not llvm-spirv %s -to-binary -o - 2>&1 | FileCheck %s
; CHECK: input SPIR-V module uses unknown extension 'unknown_spirv_extension'