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
61267981
Commit
61267981
authored
Jan 26, 2013
by
gman@chromium.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mat2 packing to use 2 rows as per spec.
git-svn-id:
https://angleproject.googlecode.com/svn/trunk@1805
736b8ea6-26fd-11df-bfd4-992fa37f6226
parent
7cfde1c5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
VariablePacker.cpp
src/compiler/VariablePacker.cpp
+1
-1
No files found.
src/compiler/VariablePacker.cpp
View file @
61267981
...
@@ -85,7 +85,7 @@ int VariablePacker::GetNumRows(ShDataType type)
...
@@ -85,7 +85,7 @@ int VariablePacker::GetNumRows(ShDataType type)
case
SH_FLOAT_MAT3
:
case
SH_FLOAT_MAT3
:
return
3
;
return
3
;
case
SH_FLOAT_MAT2
:
case
SH_FLOAT_MAT2
:
return
1
;
return
2
;
case
SH_FLOAT_VEC4
:
case
SH_FLOAT_VEC4
:
case
SH_INT_VEC4
:
case
SH_INT_VEC4
:
case
SH_BOOL_VEC4
:
case
SH_BOOL_VEC4
:
...
...
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