summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorYigit Boyar <yboyar@google.com>2015-03-27 14:10:13 -0700
committerYigit Boyar <yboyar@google.com>2015-04-03 10:00:25 -0700
commit3695b1aae95b289302cbbf9c38f0bd595bfc6ccb (patch)
tree5610ea4d6614ad592737ecd7d9de4ca9fa93bec3 /rs/java/android/renderscript/RenderScript.java
parent53a6b1bde897f8a837cdf628201d8341aecb3a61 (diff)
Fix bugs related to how we handle Ternary ops
This CL fixes two bugs. 1) When a Ternary operation was inside another operation, we were not handling dependecies properly and model would think that the container expression can be evaluated before Ternary is evaluated, eventually causing an exception in code-gen because Ternay is not calculated yet. 2) This also fixes another bug where when ?? is used, we would put ifTrue and ifFalse statements in wrong order and eventually evaluate !??. Bug: 19939148 Change-Id: I3e1d2bee172e47412bb8ef9e7c785aef47337155
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions