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
3573f2e0
Commit
3573f2e0
authored
Aug 11, 2015
by
Steve
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing OpTypeSampledImage to prevent unknown type error from SPVRemapper.
parent
65c78a0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
SPVRemapper.cpp
SPIRV/SPVRemapper.cpp
+3
-0
No files found.
SPIRV/SPVRemapper.cpp
View file @
3573f2e0
...
@@ -178,6 +178,7 @@ namespace spv {
...
@@ -178,6 +178,7 @@ namespace spv {
case
spv
:
:
OpTypeDeviceEvent
:
case
spv
:
:
OpTypeDeviceEvent
:
case
spv
:
:
OpTypeReserveId
:
case
spv
:
:
OpTypeReserveId
:
case
spv
:
:
OpTypeQueue
:
case
spv
:
:
OpTypeQueue
:
case
spv
:
:
OpTypeSampledImage
:
case
spv
:
:
OpTypePipe
:
return
true
;
case
spv
:
:
OpTypePipe
:
return
true
;
default
:
return
false
;
default
:
return
false
;
}
}
...
@@ -1012,6 +1013,8 @@ namespace spv {
...
@@ -1012,6 +1013,8 @@ namespace spv {
spv
[
typeStart
+
7
]
*
1
*
16
;
// format
spv
[
typeStart
+
7
]
*
1
*
16
;
// format
case
spv
:
:
OpTypeSampler
:
case
spv
:
:
OpTypeSampler
:
return
500
;
return
500
;
case
spv
:
:
OpTypeSampledImage
:
return
502
;
case
spv
:
:
OpTypeArray
:
case
spv
:
:
OpTypeArray
:
return
501
+
hashType
(
typePos
(
spv
[
typeStart
+
2
]))
*
spv
[
typeStart
+
3
];
return
501
+
hashType
(
typePos
(
spv
[
typeStart
+
2
]))
*
spv
[
typeStart
+
3
];
case
spv
:
:
OpTypeRuntimeArray
:
case
spv
:
:
OpTypeRuntimeArray
:
...
...
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