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
aac6d637
Commit
aac6d637
authored
Sep 25, 2018
by
Dan Sinclair
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use unsigned int instead of uint32_t
parent
b29c58ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SpvBuilder.cpp
SPIRV/SpvBuilder.cpp
+1
-1
SpvBuilder.h
SPIRV/SpvBuilder.h
+1
-1
No files found.
SPIRV/SpvBuilder.cpp
View file @
aac6d637
...
...
@@ -631,7 +631,7 @@ Id Builder::getContainedTypeId(Id typeId) const
// Returns true if 'typeId' is or contains a scalar type declared with 'typeOp'
// of width 'width'. The 'width' is only consumed for int and float types.
// Returns false otherwise.
bool
Builder
::
containsType
(
Id
typeId
,
spv
::
Op
typeOp
,
u
int32_
t
width
)
const
bool
Builder
::
containsType
(
Id
typeId
,
spv
::
Op
typeOp
,
u
nsigned
in
t
width
)
const
{
const
Instruction
&
instr
=
*
module
.
getInstruction
(
typeId
);
...
...
SPIRV/SpvBuilder.h
View file @
aac6d637
...
...
@@ -172,7 +172,7 @@ public:
bool
isImageType
(
Id
typeId
)
const
{
return
getTypeClass
(
typeId
)
==
OpTypeImage
;
}
bool
isSamplerType
(
Id
typeId
)
const
{
return
getTypeClass
(
typeId
)
==
OpTypeSampler
;
}
bool
isSampledImageType
(
Id
typeId
)
const
{
return
getTypeClass
(
typeId
)
==
OpTypeSampledImage
;
}
bool
containsType
(
Id
typeId
,
Op
typeOp
,
u
int32_
t
width
)
const
;
bool
containsType
(
Id
typeId
,
Op
typeOp
,
u
nsigned
in
t
width
)
const
;
bool
isConstantOpCode
(
Op
opcode
)
const
;
bool
isSpecConstantOpCode
(
Op
opcode
)
const
;
...
...
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