Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angle
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
angle
Commits
7fb81e83
Commit
7fb81e83
authored
Sep 23, 2011
by
daniel@transgaming.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix single statement loops.
TRAC #18301 Signed-off-by: Daniel Koch Author: Nicolas Capens git-svn-id:
https://angleproject.googlecode.com/svn/trunk@765
736b8ea6-26fd-11df-bfd4-992fa37f6226
parent
aa00b593
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
version.h
src/common/version.h
+1
-1
OutputHLSL.cpp
src/compiler/OutputHLSL.cpp
+2
-2
No files found.
src/common/version.h
View file @
7fb81e83
#define MAJOR_VERSION 0
#define MINOR_VERSION 0
#define BUILD_VERSION 0
#define BUILD_REVISION 76
4
#define BUILD_REVISION 76
5
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
...
...
src/compiler/OutputHLSL.cpp
View file @
7fb81e83
...
...
@@ -1615,7 +1615,7 @@ bool OutputHLSL::visitLoop(Visit visit, TIntermLoop *node)
}
outputLineDirective
(
node
->
getLine
());
out
<<
"}
\n
"
;
out
<<
"
;
}
\n
"
;
if
(
node
->
getType
()
==
ELoopDoWhile
)
{
...
...
@@ -1849,7 +1849,7 @@ bool OutputHLSL::handleExcessiveLoop(TIntermLoop *node)
}
outputLineDirective
(
node
->
getLine
());
out
<<
"}
\n
"
;
out
<<
"
;
}
\n
"
;
initial
+=
255
*
increment
;
iterations
-=
255
;
...
...
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