Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5545)

Issue 6652051: Add Variable Packing checks to ANGLE

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by gmanchromium
Modified:
11 years, 6 months ago
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Add Variable Packing checks to ANGLE

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+492 lines, -2 lines) Patch
M include/GLSLANG/ShaderLang.h View 1 chunk +4 lines, -1 line 0 comments Download
M src/build_angle.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/Compiler.cpp View 1 2 3 4 4 chunks +18 lines, -1 line 0 comments Download
M src/compiler/ShHandle.h View 2 chunks +5 lines, -0 lines 0 comments Download
M src/compiler/VariableInfo.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/VariableInfo.cpp View 1 chunk +10 lines, -0 lines 0 comments Download
A src/compiler/VariablePacker.h View 1 1 chunk +41 lines, -0 lines 0 comments Download
A src/compiler/VariablePacker.cpp View 1 2 1 chunk +297 lines, -0 lines 3 comments Download
M src/compiler/translator_common.vcproj View 2 chunks +8 lines, -0 lines 0 comments Download
M tests/build_tests.gyp View 1 chunk +19 lines, -0 lines 0 comments Download
A tests/compiler_tests/VariablePacker_test.cpp View 1 2 1 chunk +85 lines, -0 lines 0 comments Download

Messages

Total messages: 9
gmanchromium
Al or Alok, could you please review. Thanks For http://code.google.com/p/angleproject/issues/detail?id=373
11 years, 6 months ago (2012-10-12 01:22:05 UTC) #1
kbr1
https://codereview.appspot.com/6652051/diff/1/src/compiler/VariablePacker.cpp File src/compiler/VariablePacker.cpp (right): https://codereview.appspot.com/6652051/diff/1/src/compiler/VariablePacker.cpp#newcode144 src/compiler/VariablePacker.cpp:144: ++topNonEmptyRow_); Given this definition, would topNonEmptyRow_ be better called ...
11 years, 6 months ago (2012-10-12 02:01:25 UTC) #2
Alok Priyadarshi
https://codereview.appspot.com/6652051/diff/1/src/compiler/Compiler.cpp File src/compiler/Compiler.cpp (right): https://codereview.appspot.com/6652051/diff/1/src/compiler/Compiler.cpp#newcode323 src/compiler/Compiler.cpp:323: return packer.CheckVariablesWithinPackingLimits(maxUniformVectors, uniforms); Does this mean SH_ENFORCE_PACKING_RESTRICTIONS relies on ...
11 years, 6 months ago (2012-10-15 21:32:48 UTC) #3
gmanchromium
I updated the code to make it simpler and easier to understand I think. https://codereview.appspot.com/6652051/diff/1/src/compiler/Compiler.cpp ...
11 years, 6 months ago (2012-10-16 22:20:32 UTC) #4
kbr1
On 2012/10/16 22:20:32, gmanchromium wrote: > It didn't seem appropriate to sort this outside the ...
11 years, 6 months ago (2012-10-17 20:18:38 UTC) #5
kbr1
Looks good overall; definitely seems easier to read than earlier version. One question. https://codereview.appspot.com/6652051/diff/9002/src/compiler/VariablePacker.cpp File ...
11 years, 6 months ago (2012-10-17 20:39:16 UTC) #6
gmanchromium
https://codereview.appspot.com/6652051/diff/9002/src/compiler/VariablePacker.cpp File src/compiler/VariablePacker.cpp (right): https://codereview.appspot.com/6652051/diff/9002/src/compiler/VariablePacker.cpp#newcode252 src/compiler/VariablePacker.cpp:252: return false; On 2012/10/17 20:39:16, kbr1 wrote: > Does ...
11 years, 6 months ago (2012-10-17 20:51:27 UTC) #7
kbr1
The implementation of the algorithm looks great. LGTM https://codereview.appspot.com/6652051/diff/9002/src/compiler/VariablePacker.cpp File src/compiler/VariablePacker.cpp (right): https://codereview.appspot.com/6652051/diff/9002/src/compiler/VariablePacker.cpp#newcode252 src/compiler/VariablePacker.cpp:252: return ...
11 years, 6 months ago (2012-10-17 21:09:04 UTC) #8
Alok Priyadarshi
11 years, 6 months ago (2012-10-17 21:14:00 UTC) #9
lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b