Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
glslang
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
glslang
Commits
62dda787
Commit
62dda787
authored
May 14, 2016
by
Rex Xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Parser: Add missing vector relational functions for double type.
parent
4678ca9d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
3 deletions
+27
-3
spv.specConstant.vert.out
Test/baseResults/spv.specConstant.vert.out
+3
-3
Initialize.cpp
glslang/MachineIndependent/Initialize.cpp
+24
-0
No files found.
Test/baseResults/spv.specConstant.vert.out
View file @
62dda787
...
@@ -16,7 +16,7 @@ Linked vertex stage:
...
@@ -16,7 +16,7 @@ Linked vertex stage:
EntryPoint Vertex 4 "main" 20 22 28 53
EntryPoint Vertex 4 "main" 20 22 28 53
Source GLSL 400
Source GLSL 400
Name 4 "main"
Name 4 "main"
Name 14 "foo(vf4[s1
498
];"
Name 14 "foo(vf4[s1
516
];"
Name 13 "p"
Name 13 "p"
Name 17 "builtin_spec_constant("
Name 17 "builtin_spec_constant("
Name 20 "color"
Name 20 "color"
...
@@ -96,10 +96,10 @@ Linked vertex stage:
...
@@ -96,10 +96,10 @@ Linked vertex stage:
Store 20(color) 46
Store 20(color) 46
48: 10 Load 22(ucol)
48: 10 Load 22(ucol)
Store 47(param) 48
Store 47(param) 48
49: 2 FunctionCall 14(foo(vf4[s1
498
];) 47(param)
49: 2 FunctionCall 14(foo(vf4[s1
516
];) 47(param)
Return
Return
FunctionEnd
FunctionEnd
14(foo(vf4[s1
498
];): 2 Function None 12
14(foo(vf4[s1
516
];): 2 Function None 12
13(p): 11(ptr) FunctionParameter
13(p): 11(ptr) FunctionParameter
15: Label
15: Label
54: 24(ptr) AccessChain 53(dupUcol) 23
54: 24(ptr) AccessChain 53(dupUcol) 23
...
...
glslang/MachineIndependent/Initialize.cpp
View file @
62dda787
...
@@ -629,6 +629,30 @@ void TBuiltIns::initialize(int version, EProfile profile, int spv, int vulkan)
...
@@ -629,6 +629,30 @@ void TBuiltIns::initialize(int version, EProfile profile, int spv, int vulkan)
"dmat3 inverse(dmat3);"
"dmat3 inverse(dmat3);"
"dmat4 inverse(dmat4);"
"dmat4 inverse(dmat4);"
"bvec2 lessThan(dvec2, dvec2);"
"bvec3 lessThan(dvec3, dvec3);"
"bvec4 lessThan(dvec4, dvec4);"
"bvec2 lessThanEqual(dvec2, dvec2);"
"bvec3 lessThanEqual(dvec3, dvec3);"
"bvec4 lessThanEqual(dvec4, dvec4);"
"bvec2 greaterThan(dvec2, dvec2);"
"bvec3 greaterThan(dvec3, dvec3);"
"bvec4 greaterThan(dvec4, dvec4);"
"bvec2 greaterThanEqual(dvec2, dvec2);"
"bvec3 greaterThanEqual(dvec3, dvec3);"
"bvec4 greaterThanEqual(dvec4, dvec4);"
"bvec2 equal(dvec2, dvec2);"
"bvec3 equal(dvec3, dvec3);"
"bvec4 equal(dvec4, dvec4);"
"bvec2 notEqual(dvec2, dvec2);"
"bvec3 notEqual(dvec3, dvec3);"
"bvec4 notEqual(dvec4, dvec4);"
"
\n
"
);
"
\n
"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment