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