1 | package(
|
---|
2 | default_visibility = ["//visibility:public"],
|
---|
3 | )
|
---|
4 |
|
---|
5 | licenses(["notice"])
|
---|
6 |
|
---|
7 | exports_files(["LICENSE"])
|
---|
8 |
|
---|
9 | filegroup(
|
---|
10 | name = "spirv_core_grammar_1.0",
|
---|
11 | srcs = ["include/spirv/1.0/spirv.core.grammar.json"],
|
---|
12 | )
|
---|
13 |
|
---|
14 | filegroup(
|
---|
15 | name = "spirv_glsl_grammar_1.0",
|
---|
16 | srcs = ["include/spirv/1.0/extinst.glsl.std.450.grammar.json"],
|
---|
17 | )
|
---|
18 |
|
---|
19 | filegroup(
|
---|
20 | name = "spirv_opencl_grammar_1.0",
|
---|
21 | srcs = ["include/spirv/1.0/extinst.opencl.std.100.grammar.json"],
|
---|
22 | )
|
---|
23 |
|
---|
24 | filegroup(
|
---|
25 | name = "spirv_core_grammar_1.1",
|
---|
26 | srcs = ["include/spirv/1.1/spirv.core.grammar.json"],
|
---|
27 | )
|
---|
28 |
|
---|
29 | filegroup(
|
---|
30 | name = "spirv_glsl_grammar_1.1",
|
---|
31 | srcs = ["include/spirv/1.1/extinst.glsl.std.450.grammar.json"],
|
---|
32 | )
|
---|
33 |
|
---|
34 | filegroup(
|
---|
35 | name = "spirv_opencl_grammar_1.1",
|
---|
36 | srcs = ["include/spirv/1.1/extinst.opencl.std.100.grammar.json"],
|
---|
37 | )
|
---|
38 |
|
---|
39 | filegroup(
|
---|
40 | name = "spirv_core_grammar_1.2",
|
---|
41 | srcs = ["include/spirv/1.2/spirv.core.grammar.json"],
|
---|
42 | )
|
---|
43 |
|
---|
44 | filegroup(
|
---|
45 | name = "spirv_glsl_grammar_1.2",
|
---|
46 | srcs = ["include/spirv/1.2/extinst.glsl.std.450.grammar.json"],
|
---|
47 | )
|
---|
48 |
|
---|
49 | filegroup(
|
---|
50 | name = "spirv_opencl_grammar_1.2",
|
---|
51 | srcs = ["include/spirv/1.2/extinst.opencl.std.100.grammar.json"],
|
---|
52 | )
|
---|
53 |
|
---|
54 | filegroup(
|
---|
55 | name = "spirv_core_grammar_unified1",
|
---|
56 | srcs = ["include/spirv/unified1/spirv.core.grammar.json"],
|
---|
57 | )
|
---|
58 |
|
---|
59 | filegroup(
|
---|
60 | name = "spirv_glsl_grammar_unified1",
|
---|
61 | srcs = ["include/spirv/unified1/extinst.glsl.std.450.grammar.json"],
|
---|
62 | )
|
---|
63 |
|
---|
64 | filegroup(
|
---|
65 | name = "spirv_opencl_grammar_unified1",
|
---|
66 | srcs = ["include/spirv/unified1/extinst.opencl.std.100.grammar.json"],
|
---|
67 | )
|
---|
68 |
|
---|
69 | filegroup(
|
---|
70 | name = "spirv_xml_registry",
|
---|
71 | srcs = ["include/spirv/spir-v.xml"],
|
---|
72 | )
|
---|
73 |
|
---|
74 | filegroup(
|
---|
75 | name = "spirv_ext_inst_debuginfo_grammar_unified1",
|
---|
76 | srcs = ["include/spirv/unified1/extinst.debuginfo.grammar.json"],
|
---|
77 | )
|
---|
78 |
|
---|
79 | filegroup(
|
---|
80 | name = "spirv_ext_inst_nonsemantic_clspvreflection_grammar_unified1",
|
---|
81 | srcs = ["include/spirv/unified1/extinst.nonsemantic.clspvreflection.grammar.json"],
|
---|
82 | )
|
---|
83 |
|
---|
84 | filegroup(
|
---|
85 | name = "spirv_ext_inst_nonsemantic_vkspreflection_grammar_unified1",
|
---|
86 | srcs = ["include/spirv/unified1/extinst.nonsemantic.vkspreflection.grammar.json"],
|
---|
87 | )
|
---|
88 |
|
---|
89 | filegroup(
|
---|
90 | name = "spirv_ext_inst_nonsemantic_debugprintf_grammar_unified1",
|
---|
91 | srcs = ["include/spirv/unified1/extinst.nonsemantic.debugprintf.grammar.json"],
|
---|
92 | )
|
---|
93 |
|
---|
94 | filegroup(
|
---|
95 | name = "spirv_ext_inst_opencl_debuginfo_100_grammar_unified1",
|
---|
96 | srcs = ["include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json"],
|
---|
97 | )
|
---|
98 |
|
---|
99 | filegroup(
|
---|
100 | name = "spirv_ext_inst_nonsemantic_shader_debuginfo_100_grammar_unified1",
|
---|
101 | srcs = ["include/spirv/unified1/extinst.nonsemantic.shader.debuginfo.100.grammar.json"],
|
---|
102 | )
|
---|
103 |
|
---|
104 | filegroup(
|
---|
105 | name = "spirv_ext_inst_spv_amd_gcn_shader_grammar_unified1",
|
---|
106 | srcs = ["include/spirv/unified1/extinst.spv-amd-gcn-shader.grammar.json"],
|
---|
107 | )
|
---|
108 |
|
---|
109 | filegroup(
|
---|
110 | name = "spirv_ext_inst_spv_amd_shader_ballot_grammar_unified1",
|
---|
111 | srcs = ["include/spirv/unified1/extinst.spv-amd-shader-ballot.grammar.json"],
|
---|
112 | )
|
---|
113 |
|
---|
114 | filegroup(
|
---|
115 | name = "spirv_ext_inst_spv_amd_shader_explicit_vertex_parameter_grammar_unified1",
|
---|
116 | srcs = ["include/spirv/unified1/extinst.spv-amd-shader-explicit-vertex-parameter.grammar.json"],
|
---|
117 | )
|
---|
118 |
|
---|
119 | filegroup(
|
---|
120 | name = "spirv_ext_inst_spv_amd_shader_trinary_minmax_grammar_unified1",
|
---|
121 | srcs = ["include/spirv/unified1/extinst.spv-amd-shader-trinary-minmax.grammar.json"],
|
---|
122 | )
|
---|
123 |
|
---|
124 | cc_library(
|
---|
125 | name = "spirv_common_headers",
|
---|
126 | hdrs = [
|
---|
127 | "include/spirv/1.0/GLSL.std.450.h",
|
---|
128 | "include/spirv/1.0/OpenCL.std.h",
|
---|
129 | "include/spirv/1.1/GLSL.std.450.h",
|
---|
130 | "include/spirv/1.1/OpenCL.std.h",
|
---|
131 | "include/spirv/1.2/GLSL.std.450.h",
|
---|
132 | "include/spirv/1.2/OpenCL.std.h",
|
---|
133 | "include/spirv/unified1/GLSL.std.450.h",
|
---|
134 | "include/spirv/unified1/NonSemanticClspvReflection.h",
|
---|
135 | "include/spirv/unified1/NonSemanticDebugPrintf.h",
|
---|
136 | "include/spirv/unified1/NonSemanticVkspReflection.h",
|
---|
137 | "include/spirv/unified1/OpenCL.std.h",
|
---|
138 | ],
|
---|
139 | includes = ["include"],
|
---|
140 | )
|
---|
141 |
|
---|
142 | cc_library(
|
---|
143 | name = "spirv_c_headers",
|
---|
144 | hdrs = [
|
---|
145 | "include/spirv/1.0/spirv.h",
|
---|
146 | "include/spirv/1.1/spirv.h",
|
---|
147 | "include/spirv/1.2/spirv.h",
|
---|
148 | "include/spirv/unified1/spirv.h",
|
---|
149 | ],
|
---|
150 | includes = ["include"],
|
---|
151 | deps = [":spirv_common_headers"],
|
---|
152 | )
|
---|
153 |
|
---|
154 | cc_library(
|
---|
155 | name = "spirv_cpp_headers",
|
---|
156 | hdrs = [
|
---|
157 | "include/spirv/1.0/spirv.hpp",
|
---|
158 | "include/spirv/1.1/spirv.hpp",
|
---|
159 | "include/spirv/1.2/spirv.hpp",
|
---|
160 | "include/spirv/unified1/spirv.hpp",
|
---|
161 | ],
|
---|
162 | includes = ["include"],
|
---|
163 | deps = [":spirv_common_headers"],
|
---|
164 | )
|
---|
165 |
|
---|
166 | cc_library(
|
---|
167 | name = "spirv_cpp11_headers",
|
---|
168 | hdrs = [
|
---|
169 | "include/spirv/1.0/spirv.hpp11",
|
---|
170 | "include/spirv/1.1/spirv.hpp11",
|
---|
171 | "include/spirv/1.2/spirv.hpp11",
|
---|
172 | "include/spirv/unified1/spirv.hpp11",
|
---|
173 | ],
|
---|
174 | includes = ["include"],
|
---|
175 | deps = [":spirv_common_headers"],
|
---|
176 | )
|
---|
177 |
|
---|