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
7c445410
Commit
7c445410
authored
May 10, 2019
by
Neil Henning
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unsigned/float problem (again?).
parent
a53199a2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
GlslangToSpv.cpp
SPIRV/GlslangToSpv.cpp
+3
-2
spv.specConstant.vert.out
Test/baseResults/spv.specConstant.vert.out
+3
-3
spv.subgroupExtendedTypesArithmetic.comp.out
.../baseResults/spv.subgroupExtendedTypesArithmetic.comp.out
+0
-0
spv.subgroupExtendedTypesClustered.comp.out
Test/baseResults/spv.subgroupExtendedTypesClustered.comp.out
+0
-0
spv.subgroupExtendedTypesPartitioned.comp.out
...baseResults/spv.subgroupExtendedTypesPartitioned.comp.out
+0
-0
No files found.
SPIRV/GlslangToSpv.cpp
View file @
7c445410
...
@@ -6570,8 +6570,9 @@ spv::Id TGlslangToSpvTraverser::createSubgroupOperation(glslang::TOperator op, s
...
@@ -6570,8 +6570,9 @@ spv::Id TGlslangToSpvTraverser::createSubgroupOperation(glslang::TOperator op, s
default
:
assert
(
0
&&
"Unhandled subgroup operation!"
);
default
:
assert
(
0
&&
"Unhandled subgroup operation!"
);
}
}
const
bool
isUnsigned
=
typeProxy
==
glslang
::
EbtUint
||
typeProxy
==
glslang
::
EbtUint64
;
const
bool
isFloat
=
typeProxy
==
glslang
::
EbtFloat
||
typeProxy
==
glslang
::
EbtDouble
;
const
bool
isUnsigned
=
isTypeUnsignedInt
(
typeProxy
);
const
bool
isFloat
=
isTypeFloat
(
typeProxy
);
const
bool
isBool
=
typeProxy
==
glslang
::
EbtBool
;
const
bool
isBool
=
typeProxy
==
glslang
::
EbtBool
;
spv
::
Op
opCode
=
spv
::
OpNop
;
spv
::
Op
opCode
=
spv
::
OpNop
;
...
...
Test/baseResults/spv.specConstant.vert.out
View file @
7c445410
...
@@ -11,7 +11,7 @@ spv.specConstant.vert
...
@@ -11,7 +11,7 @@ spv.specConstant.vert
Source GLSL 400
Source GLSL 400
Name 4 "main"
Name 4 "main"
Name 9 "arraySize"
Name 9 "arraySize"
Name 14 "foo(vf4[s
2765
];"
Name 14 "foo(vf4[s
4389
];"
Name 13 "p"
Name 13 "p"
Name 17 "builtin_spec_constant("
Name 17 "builtin_spec_constant("
Name 20 "color"
Name 20 "color"
...
@@ -102,10 +102,10 @@ spv.specConstant.vert
...
@@ -102,10 +102,10 @@ spv.specConstant.vert
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[s
2765
];) 47(param)
49: 2 FunctionCall 14(foo(vf4[s
4389
];) 47(param)
Return
Return
FunctionEnd
FunctionEnd
14(foo(vf4[s
2765
];): 2 Function None 12
14(foo(vf4[s
4389
];): 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
...
...
Test/baseResults/spv.subgroupExtendedTypesArithmetic.comp.out
View file @
7c445410
This diff is collapsed.
Click to expand it.
Test/baseResults/spv.subgroupExtendedTypesClustered.comp.out
View file @
7c445410
This diff is collapsed.
Click to expand it.
Test/baseResults/spv.subgroupExtendedTypesPartitioned.comp.out
View file @
7c445410
This diff is collapsed.
Click to expand it.
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