Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glslang
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
deqp-deps
glslang
Commits
6726cccc
Commit
6726cccc
authored
9 years ago
by
John Kessenich
Browse files
Options
Downloads
Patches
Plain Diff
Add new SPIR-V 31 files.
parent
5e4b1242
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
SPIRV/GLSL.std.450.h
+130
-0
130 additions, 0 deletions
SPIRV/GLSL.std.450.h
SPIRV/spirv.hpp
+830
-0
830 additions, 0 deletions
SPIRV/spirv.hpp
with
960 additions
and
0 deletions
SPIRV/GLSL.std.450.h
0 → 100755
+
130
−
0
View file @
6726cccc
/*
** Copyright (c) 2014-2015 The Khronos Group Inc.
**
** Permission is hereby granted, free of charge, to any person obtaining a copy
** of this software and/or associated documentation files (the "Materials"),
** to deal in the Materials without restriction, including without limitation
** the rights to use, copy, modify, merge, publish, distribute, sublicense,
** and/or sell copies of the Materials, and to permit persons to whom the
** Materials are furnished to do so, subject to the following conditions:
**
** The above copyright notice and this permission notice shall be included in
** all copies or substantial portions of the Materials.
**
** MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS
** STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND
** HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/
**
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
** OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
** FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
** THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
** LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
** FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS
** IN THE MATERIALS.
*/
#ifndef GLSLstd450_H
#define GLSLstd450_H
const
int
GLSLstd450Version
=
99
;
const
int
GLSLstd450Revision
=
2
;
enum
GLSLstd450
{
GLSLstd450Bad
=
0
,
// Don't use
GLSLstd450Round
=
1
,
GLSLstd450RoundEven
=
2
,
GLSLstd450Trunc
=
3
,
GLSLstd450FAbs
=
4
,
GLSLstd450SAbs
=
5
,
GLSLstd450FSign
=
6
,
GLSLstd450SSign
=
7
,
GLSLstd450Floor
=
8
,
GLSLstd450Ceil
=
9
,
GLSLstd450Fract
=
10
,
GLSLstd450Radians
=
11
,
GLSLstd450Degrees
=
12
,
GLSLstd450Sin
=
13
,
GLSLstd450Cos
=
14
,
GLSLstd450Tan
=
15
,
GLSLstd450Asin
=
16
,
GLSLstd450Acos
=
17
,
GLSLstd450Atan
=
18
,
GLSLstd450Sinh
=
19
,
GLSLstd450Cosh
=
20
,
GLSLstd450Tanh
=
21
,
GLSLstd450Asinh
=
22
,
GLSLstd450Acosh
=
23
,
GLSLstd450Atanh
=
24
,
GLSLstd450Atan2
=
25
,
GLSLstd450Pow
=
26
,
GLSLstd450Exp
=
27
,
GLSLstd450Log
=
28
,
GLSLstd450Exp2
=
29
,
GLSLstd450Log2
=
30
,
GLSLstd450Sqrt
=
31
,
GLSLstd450InverseSqrt
=
32
,
GLSLstd450Determinant
=
33
,
GLSLstd450MatrixInverse
=
34
,
GLSLstd450Modf
=
35
,
// second operand needs an OpVariable to write to
GLSLstd450ModfStruct
=
36
,
// no OpVariable operand
GLSLstd450FMin
=
37
,
GLSLstd450UMin
=
38
,
GLSLstd450SMin
=
39
,
GLSLstd450FMax
=
40
,
GLSLstd450UMax
=
41
,
GLSLstd450SMax
=
42
,
GLSLstd450FClamp
=
43
,
GLSLstd450UClamp
=
44
,
GLSLstd450SClamp
=
45
,
GLSLstd450Mix
=
46
,
GLSLstd450Step
=
47
,
GLSLstd450SmoothStep
=
48
,
GLSLstd450Fma
=
49
,
GLSLstd450Frexp
=
50
,
// second operand needs an OpVariable to write to
GLSLstd450FrexpStruct
=
51
,
// no OpVariable operand
GLSLstd450Ldexp
=
52
,
GLSLstd450PackSnorm4x8
=
53
,
GLSLstd450PackUnorm4x8
=
54
,
GLSLstd450PackSnorm2x16
=
55
,
GLSLstd450PackUnorm2x16
=
56
,
GLSLstd450PackHalf2x16
=
57
,
GLSLstd450PackDouble2x32
=
58
,
GLSLstd450UnpackSnorm2x16
=
59
,
GLSLstd450UnpackUnorm2x16
=
60
,
GLSLstd450UnpackHalf2x16
=
61
,
GLSLstd450UnpackSnorm4x8
=
62
,
GLSLstd450UnpackUnorm4x8
=
63
,
GLSLstd450UnpackDouble2x32
=
64
,
GLSLstd450Length
=
65
,
GLSLstd450Distance
=
66
,
GLSLstd450Cross
=
67
,
GLSLstd450Normalize
=
68
,
GLSLstd450FaceForward
=
69
,
GLSLstd450Reflect
=
70
,
GLSLstd450Refract
=
71
,
GLSLstd450FindILSB
=
72
,
GLSLstd450FindSMSB
=
73
,
GLSLstd450FindUMSB
=
74
,
GLSLstd450InterpolateAtCentroid
=
75
,
GLSLstd450InterpolateAtSample
=
76
,
GLSLstd450InterpolateAtOffset
=
77
,
GLSLstd450AddCarry
=
78
,
// These three should move to the core instruction set
GLSLstd450SubBorrow
=
79
,
GLSLstd450MulExtended
=
80
,
GLSLstd450Count
};
#endif // #ifndef GLSLstd450_H
This diff is collapsed.
Click to expand it.
SPIRV/spirv.hpp
0 → 100755
+
830
−
0
View file @
6726cccc
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment