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

Issue 1108041: Recursively write ConstantUnion to correctly construct structs. Also renamed ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 7 months ago by Alok Priyadarshi
Modified:
14 years, 7 months ago
Reviewers:
kbr1, dgkoch
CC:
angleproject-review_googlegroups.com
Base URL:
http://angleproject.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Recursively write ConstantUnion to correctly construct structs.

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -24 lines) Patch
M src/compiler/OutputGLSL.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/OutputGLSL.cpp View 1 2 3 chunks +47 lines, -24 lines 0 comments Download

Messages

Total messages: 8
Alok Priyadarshi
Tips for quick code review: I have only changed code in TOutputGLSL::writeConstantUnion and TOutputGLSL::visitConstantUnion. Rest ...
14 years, 7 months ago (2010-05-04 23:08:31 UTC) #1
kbr1
LGTM, but is this the most general fix? Also, does the HLSL backend need to ...
14 years, 7 months ago (2010-05-05 00:59:03 UTC) #2
Alok Priyadarshi
Another way to fix this would be to change reduction rules so that struct-construction is ...
14 years, 7 months ago (2010-05-05 02:00:44 UTC) #3
dgkoch
Hi Alok, We like the solution you used here. We've tried the same approach in ...
14 years, 7 months ago (2010-05-05 13:57:06 UTC) #4
Alok Priyadarshi
Yes I should have made two separate patches. Renaming change is split into a separate ...
14 years, 7 months ago (2010-05-05 14:57:52 UTC) #5
dgkoch
Oops, I guess we don't directly reference that. Looks good to me then (with the ...
14 years, 7 months ago (2010-05-05 15:05:59 UTC) #6
kbr1
On 2010/05/05 15:05:59, dgkoch wrote: > Oops, I guess we don't directly reference that. > ...
14 years, 7 months ago (2010-05-05 16:22:29 UTC) #7
Alok Priyadarshi
14 years, 7 months ago (2010-05-05 16:36:47 UTC) #8
Yes this gets handled properly with an EOpConstructStruct node. Thats what I
meant by struct-construction code at two places.
Sign in to reply to this message.

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