1 // Copyright (c) 2020 The Khronos Group Inc.
2 //
3 // Permission is hereby granted, free of charge, to any person obtaining a
4 // copy of this software and/or associated documentation files (the
5 // "Materials"), to deal in the Materials without restriction, including
6 // without limitation the rights to use, copy, modify, merge, publish,
7 // distribute, sublicense, and/or sell copies of the Materials, and to
8 // permit persons to whom the Materials are furnished to do so, subject to
9 // the following conditions:
10 //
11 // The above copyright notice and this permission notice shall be included
12 // in all copies or substantial portions of the Materials.
13 //
14 // MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS
15 // KHRONOS STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS
16 // SPECIFICATIONS AND HEADER INFORMATION ARE LOCATED AT
17 //    https://www.khronos.org/registry/
18 //
19 // THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22 // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
23 // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
24 // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
25 // MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
26 //
27 
28 #ifndef SPIRV_UNIFIED1_AMD_shader_trinary_minmax_H_
29 #define SPIRV_UNIFIED1_AMD_shader_trinary_minmax_H_
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 enum {
36     AMD_shader_trinary_minmaxRevision = 4,
37     AMD_shader_trinary_minmaxRevision_BitWidthPadding = 0x7fffffff
38 };
39 
40 enum AMD_shader_trinary_minmaxInstructions {
41     AMD_shader_trinary_minmaxFMin3AMD = 1,
42     AMD_shader_trinary_minmaxUMin3AMD = 2,
43     AMD_shader_trinary_minmaxSMin3AMD = 3,
44     AMD_shader_trinary_minmaxFMax3AMD = 4,
45     AMD_shader_trinary_minmaxUMax3AMD = 5,
46     AMD_shader_trinary_minmaxSMax3AMD = 6,
47     AMD_shader_trinary_minmaxFMid3AMD = 7,
48     AMD_shader_trinary_minmaxUMid3AMD = 8,
49     AMD_shader_trinary_minmaxSMid3AMD = 9,
50     AMD_shader_trinary_minmaxInstructionsMax = 0x7fffffff
51 };
52 
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif // SPIRV_UNIFIED1_AMD_shader_trinary_minmax_H_
59