blob: 2eb10ae629a9585a3c3a46b1ee352b80daf0eabd [file] [log] [blame]
Rex Xu51596642016-09-21 18:56:12 +08001/*
2** Copyright (c) 2014-2016 The Khronos Group Inc.
3**
4** Permission is hereby granted, free of charge, to any person obtaining a copy
5** of this software and/or associated documentation files (the "Materials"),
6** to deal in the Materials without restriction, including without limitation
7** the rights to use, copy, modify, merge, publish, distribute, sublicense,
8** and/or sell copies of the Materials, and to permit persons to whom the
9** Materials are furnished to do so, subject to the following conditions:
10**
11** The above copyright notice and this permission notice shall be included in
12** all copies or substantial portions of the Materials.
13**
14** MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
15** STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
16** HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
17**
18** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19** OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21** THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23** FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
24** IN THE MATERIALS.
25*/
26
27#ifndef GLSLextKHR_H
28#define GLSLextKHR_H
29
John Kessenich6c8aaac2017-02-27 01:20:51 -070030enum BuiltIn;
31enum Op;
32enum Capability;
Rex Xu51596642016-09-21 18:56:12 +080033
John Kessenich6c8aaac2017-02-27 01:20:51 -070034static const int GLSLextKHRVersion = 100;
chaocc1204522017-06-30 17:14:30 -070035static const int GLSLextKHRRevision = 2;
John Kessenich6c8aaac2017-02-27 01:20:51 -070036
John Kessenicha5c5fb62017-05-05 05:09:58 -060037static const char* const E_SPV_KHR_shader_ballot = "SPV_KHR_shader_ballot";
38static const char* const E_SPV_KHR_subgroup_vote = "SPV_KHR_subgroup_vote";
39static const char* const E_SPV_KHR_device_group = "SPV_KHR_device_group";
40static const char* const E_SPV_KHR_multiview = "SPV_KHR_multiview";
41static const char* const E_SPV_KHR_shader_draw_parameters = "SPV_KHR_shader_draw_parameters";
42static const char* const E_SPV_KHR_16bit_storage = "SPV_KHR_16bit_storage";
43static const char* const E_SPV_KHR_storage_buffer_storage_class = "SPV_KHR_storage_buffer_storage_class";
chaocc1204522017-06-30 17:14:30 -070044static const char* const E_SPV_KHR_post_depth_coverage = "SPV_KHR_post_depth_coverage";
Rex Xue8fdd792017-08-23 23:24:42 +080045static const char* const E_SPV_EXT_shader_stencil_export = "SPV_EXT_shader_stencil_export";
John Kessenichb41bff62017-08-11 13:07:17 -060046static const char* const E_SPV_EXT_shader_viewport_index_layer = "SPV_EXT_shader_viewport_index_layer";
John Kessenich6c8aaac2017-02-27 01:20:51 -070047
Rex Xu51596642016-09-21 18:56:12 +080048#endif // #ifndef GLSLextKHR_H