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
35dabea7
Commit
35dabea7
authored
Sep 04, 2019
by
Roy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix code style issue and remove setXfbBufferStride new paramte
1. Keep the curly braces style. 2. revert a Improper change
parent
b69e8f3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Intermediate.cpp
glslang/MachineIndependent/Intermediate.cpp
+1
-2
localintermediate.h
glslang/MachineIndependent/localintermediate.h
+2
-2
No files found.
glslang/MachineIndependent/Intermediate.cpp
View file @
35dabea7
...
...
@@ -839,8 +839,7 @@ TIntermTyped* TIntermediate::createConversion(TBasicType convertTo, TIntermTyped
return
nullptr
;
}
if
(
!
buildConvertOp
(
convertTo
,
node
->
getBasicType
(),
newOp
))
{
if
(
!
buildConvertOp
(
convertTo
,
node
->
getBasicType
(),
newOp
))
{
return
nullptr
;
}
...
...
glslang/MachineIndependent/localintermediate.h
View file @
35dabea7
...
...
@@ -693,9 +693,9 @@ public:
bool
getPixelCenterInteger
()
const
{
return
pixelCenterInteger
;
}
void
addBlendEquation
(
TBlendEquationShift
b
)
{
blendEquations
|=
(
1
<<
b
);
}
unsigned
int
getBlendEquations
()
const
{
return
blendEquations
;
}
bool
setXfbBufferStride
(
int
buffer
,
unsigned
stride
,
bool
force
=
false
)
bool
setXfbBufferStride
(
int
buffer
,
unsigned
stride
)
{
if
(
xfbBuffers
[
buffer
].
stride
!=
TQualifier
::
layoutXfbStrideEnd
&&
force
==
false
)
if
(
xfbBuffers
[
buffer
].
stride
!=
TQualifier
::
layoutXfbStrideEnd
)
return
xfbBuffers
[
buffer
].
stride
==
stride
;
xfbBuffers
[
buffer
].
stride
=
stride
;
return
true
;
...
...
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