Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swiftshader
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
swiftshader
Commits
09eed6d1
Commit
09eed6d1
authored
May 28, 2014
by
Nicolas Capens
Committed by
Gerrit Code Review
May 28, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Optimize culling."
parents
557b14e5
c68df5f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
SetupRoutine.cpp
src/Shader/SetupRoutine.cpp
+4
-4
No files found.
src/Shader/SetupRoutine.cpp
View file @
09eed6d1
...
@@ -89,11 +89,11 @@ namespace sw
...
@@ -89,11 +89,11 @@ namespace sw
Return
(
false
);
Return
(
false
);
}
}
Float
w0w1w2
=
*
Pointer
<
Float
>
(
v0
+
pos
*
16
+
12
)
*
Int
w0w1w2
=
*
Pointer
<
Int
>
(
v0
+
pos
*
16
+
12
)
^
*
Pointer
<
Float
>
(
v1
+
pos
*
16
+
12
)
*
*
Pointer
<
Int
>
(
v1
+
pos
*
16
+
12
)
^
*
Pointer
<
Floa
t
>
(
v2
+
pos
*
16
+
12
);
*
Pointer
<
In
t
>
(
v2
+
pos
*
16
+
12
);
A
=
IfThenElse
(
w0w1w2
<
0
.0
f
,
-
A
,
A
);
A
=
IfThenElse
(
w0w1w2
<
0
,
-
A
,
A
);
if
(
state
.
cullMode
==
Context
::
CULL_CLOCKWISE
)
if
(
state
.
cullMode
==
Context
::
CULL_CLOCKWISE
)
{
{
...
...
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