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

Issue 14441075: Disable optimizations for shaders with conditional discard in D3D9, and only use expanded (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by Jamie Madill
Modified:
10 years, 5 months ago
Reviewers:
kbr1, Geoff Lang, nicolas
CC:
angleproject-review_googlegroups.com, Alok Priyadarshi, Shannon Woods
Base URL:
https://code.google.com/p/angleproject/@master
Visibility:
Public.

Description

Disable optimizations for shaders with conditional discard in D3D9, and only use expanded short-circuiting conditionals for expressions with potential side-effects. Conservatively assume aggreate and selection operators have side effects for now. BUG= ANGLEBUG=486 R=geofflang@chromium.org, kbr@chromium.org, nicolas@transgaming.com, shannonwoods@chromium.org Committed: https://code.google.com/p/angleproject/source/detail?r=d1ffb56

Patch Set 1 #

Patch Set 2 : Re-upload #

Total comments: 1

Patch Set 3 : Use enum for arguments, fix selection statemens #

Total comments: 6

Patch Set 4 : Updated with Nicolas' requested changes. #

Patch Set 5 : Add NodeSearch.h #

Patch Set 6 : Update version.h, remove changes to samples. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -24 lines) Patch
M src/common/version.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/Intermediate.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A src/compiler/NodeSearch.h View 1 2 3 4 1 chunk +78 lines, -0 lines 0 comments Download
M src/compiler/OutputHLSL.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/OutputHLSL.cpp View 1 2 3 9 chunks +46 lines, -7 lines 0 comments Download
M src/compiler/UnfoldShortCircuit.cpp View 1 2 3 4 chunks +11 lines, -3 lines 0 comments Download
M src/compiler/ValidateLimitations.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/depgraph/DependencyGraphBuilder.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/intermediate.h View 1 2 3 8 chunks +17 lines, -1 line 0 comments Download
M src/compiler/translator.vcxproj View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/translator.vcxproj.filters View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/libGLESv2/ProgramBinary.cpp View 1 2 3 2 chunks +8 lines, -3 lines 0 comments Download
M src/libGLESv2/Shader.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/libGLESv2/Shader.cpp View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M src/libGLESv2/renderer/Renderer.h View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M src/libGLESv2/renderer/Renderer11.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/libGLESv2/renderer/Renderer11.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/libGLESv2/renderer/Renderer9.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/libGLESv2/renderer/Renderer9.cpp View 1 2 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 11
Jamie Madill
Please take a look!
10 years, 6 months ago (2013-10-16 19:17:14 UTC) #1
Geoff Lang
LGTM
10 years, 6 months ago (2013-10-16 20:22:06 UTC) #2
Shannon Woods
On 2013/10/16 19:17:14, Jamie Madill wrote: > Please take a look! Is this behavior something ...
10 years, 6 months ago (2013-10-17 18:55:42 UTC) #3
Jamie Madill
On 2013/10/17 18:55:42, Shannon Woods wrote: > On 2013/10/16 19:17:14, Jamie Madill wrote: > > ...
10 years, 6 months ago (2013-10-18 18:32:00 UTC) #4
kbr1
Could you re-upload? The side-by-side diffs are broken.
10 years, 6 months ago (2013-10-18 18:47:40 UTC) #5
Jamie Madill
On 2013/10/18 18:47:40, kbr1 wrote: > Could you re-upload? The side-by-side diffs are broken. Re-uploaded!
10 years, 6 months ago (2013-10-18 19:09:04 UTC) #6
kbr1
LGTM with one minor issue. https://codereview.appspot.com/14441075/diff/167001/src/libGLESv2/renderer/Renderer.h File src/libGLESv2/renderer/Renderer.h (right): https://codereview.appspot.com/14441075/diff/167001/src/libGLESv2/renderer/Renderer.h#newcode210 src/libGLESv2/renderer/Renderer.h:210: virtual ShaderExecutable *compileToExecutable(gl::InfoLog &infoLog, ...
10 years, 6 months ago (2013-10-18 19:13:16 UTC) #7
nicolas
Perhaps this should be split into two patch sets since two things are done here. ...
10 years, 6 months ago (2013-10-25 06:19:27 UTC) #8
Jamie Madill
Thanks for the review! I uploaded a new iteration. On 2013/10/25 06:19:27, nicolas wrote: > ...
10 years, 6 months ago (2013-10-25 15:12:33 UTC) #9
Jamie Madill
On 2013/10/25 15:12:33, Jamie Madill wrote: > Renamed to mUsesDiscardWriting. Could also go with > ...
10 years, 6 months ago (2013-10-25 15:13:45 UTC) #10
Jamie Madill
10 years, 5 months ago (2013-11-04 16:09:36 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 manually as rd1ffb56 (presubmit successful).
Sign in to reply to this message.

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