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

Issue 895041: Review: bug fixes related to deriv changes (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by larrygritz
Modified:
14 years ago
Reviewers:
ckulla
Base URL:
http://openshadinglanguage.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Missed a couple: * Two spots where we asked the renderer for stuff and asked for derivs anytime it was float-based, instead of when the destination symbol had them. * Always mark P as needing derivs if it's written in a shader, we need that for displacement to work right. * Fix a bad ASSERT in aref constant folding (too restrictive, since we allow constants to be strings and matrices these days too).

Patch Set 1 #

Patch Set 2 : Per offline discussion: make ALL globals written by the shader provide derivs #

Patch Set 3 : Oops, uploaded wrong diff last time. This one is right. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -7 lines) Patch
src/liboslexec/exec.cpp View 1 chunk +1 line, -2 lines 0 comments Download
src/liboslexec/opattribute.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
src/liboslexec/runtimeoptimize.cpp View 1 2 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 4
larrygritz
14 years ago (2010-04-06 00:49:45 UTC) #1
ckulla
LGTM
14 years ago (2010-04-06 02:49:40 UTC) #2
larrygritz
Per offline discussion: make ALL globals written by the shader provide derivs
14 years ago (2010-04-06 17:40:10 UTC) #3
larrygritz
14 years ago (2010-04-06 17:44:15 UTC) #4
Oops, uploaded wrong diff last time.  This one is right.
Sign in to reply to this message.

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