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

Issue 6593069: Retry D3DCompile with different compile settings if it fails. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by apatrick1
Modified:
12 years, 10 months ago
Reviewers:
dgkoch, nicolas
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Retry D3DCompile with different compile settings if it fails. Now also tries with D3DCOMPILE_AVOID_FLOW_CONTROL, and D3DCOMPILE_PREFER_FLOW_CONTROL. Committed: https://code.google.com/p/angleproject/source/detail?r=1289

Patch Set 1 #

Total comments: 1

Patch Set 2 : New client #

Total comments: 1

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -28 lines) Patch
M src/libGLESv2/ProgramBinary.cpp View 1 2 2 chunks +59 lines, -28 lines 1 comment Download

Messages

Total messages: 9
apatrick1
PTAL. I'm a bit surprised the D3D compiler doesn't do this itself.
12 years, 10 months ago (2012-10-03 01:22:29 UTC) #1
dgkoch
can't. wait. to. use. SM4. shaders.. they shouldn't have this problem. This certainly won't do ...
12 years, 10 months ago (2012-10-03 01:33:44 UTC) #2
nicolas
We've contemplated doing this before with similar shader compilation issues, but concluded that we should ...
12 years, 10 months ago (2012-10-03 01:58:46 UTC) #3
dgkoch
One other request: In the cases where we fall back to the alternate compiles, please ...
12 years, 10 months ago (2012-10-03 17:59:30 UTC) #4
apatrick1
Retry D3DCompile with different compile settings if it fails. Now also tries with D3DCOMPILE_AVOID_FLOW_CONTROL, and ...
12 years, 10 months ago (2012-10-03 21:00:54 UTC) #5
apatrick1
Agreed on shader compilation time not getting better but in most cases it will only ...
12 years, 10 months ago (2012-10-03 21:03:41 UTC) #6
dgkoch
https://codereview.appspot.com/6593069/diff/6001/src/libGLESv2/ProgramBinary.cpp File src/libGLESv2/ProgramBinary.cpp (right): https://codereview.appspot.com/6593069/diff/6001/src/libGLESv2/ProgramBinary.cpp#newcode1107 src/libGLESv2/ProgramBinary.cpp:1107: infoLog.append(" Retrying with "); Can we add in the ...
12 years, 10 months ago (2012-10-04 00:24:46 UTC) #7
apatrick1
Like this? The Ascii Street View demo produces this info log before succeeding: (30,5): error ...
12 years, 10 months ago (2012-10-04 01:13:24 UTC) #8
dgkoch
12 years, 10 months ago (2012-10-04 01:25:07 UTC) #9
Yes.  LGTM.

https://codereview.appspot.com/6593069/diff/4003/src/libGLESv2/ProgramBinary.cpp
File src/libGLESv2/ProgramBinary.cpp (right):

https://codereview.appspot.com/6593069/diff/4003/src/libGLESv2/ProgramBinary....
src/libGLESv2/ProgramBinary.cpp:1126: infoLog.append("flags.");
need a space before 'flags'.
Sign in to reply to this message.

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