|
Review: error for type coercion of output params (issue204076)
Reviewers: ,
Description:
Ordinarily, it's fine to have type coercion on function parameters, for
example, if you pass a float where a color was expected, it'll just do
the usual float-to-color
Reviewers: ,
Description:
Ordinarily, it's fine to have type coercion on function parameters, for
example, if you pass a float where a color was expected, it'll just do
the usual float-to-color
|
By
larry...@...
·
#228
·
|
|
array assign can nuke derivatives (issue205043)
Reviewers: dev-osl_imagworks.com, osl-dev_googlegroups.com,
Description:
Array assignment was incorrectly clearing the derivatives of all entries
instead of just the derivatives of the entry being
Reviewers: dev-osl_imagworks.com, osl-dev_googlegroups.com,
Description:
Array assignment was incorrectly clearing the derivatives of all entries
instead of just the derivatives of the entry being
|
By
cku...@...
·
#227
·
|
|
Re: primitive variables
No problem - just wanted to make sure it is on the list. I realise you
have more fundamental issues to sort out first!
Simon
No problem - just wanted to make sure it is on the list. I realise you
have more fundamental issues to sort out first!
Simon
|
By
Simon Bunker <si...@...>
·
#220
·
|
|
Re: Review: improve adjust_varying (issue204046)
That's not actually true. We push when we first run the shader, and that doesn't change the runflags. And we need to, so that exit() will work correctly.
I suppose we could have an optional
That's not actually true. We push when we first run the shader, and that doesn't change the runflags. And we need to, so that exit() will work correctly.
I suppose we could have an optional
|
By
Larry Gritz <l...@...>
·
#217
·
|
|
Re: Review: improve adjust_varying (issue204046)
Yeah, I suppose that's more clear. Chris? Anybody else? Opinions?
I'll put in a FIXME for now.
--
Larry Gritz
l...@...
Yeah, I suppose that's more clear. Chris? Anybody else? Opinions?
I'll put in a FIXME for now.
--
Larry Gritz
l...@...
|
By
Larry Gritz <l...@...>
·
#216
·
|
|
Re: Review: improve adjust_varying (issue204046)
I think it's not. I added it at one point that I was tracking down a bug and never removed it (figuring that it couldn't hurt, and might protect us from subtle bugs some day). I can remove
I think it's not. I added it at one point that I was tracking down a bug and never removed it (figuring that it couldn't hurt, and might protect us from subtle bugs some day). I can remove
|
By
Larry Gritz <l...@...>
·
#215
·
|
|
Re: Review: improve adjust_varying (issue204046)
Seems like a good change. A few questions about the implementation:
(maybe just needs more comments)
http://codereview.appspot.com/204046/diff/1/6
File src/liboslexec/exec.cpp
Seems like a good change. A few questions about the implementation:
(maybe just needs more comments)
http://codereview.appspot.com/204046/diff/1/6
File src/liboslexec/exec.cpp
|
By
cku...@...
·
#219
·
|
|
Review: improve adjust_varying (issue204046)
Reviewers: ,
Description:
adjust_varying is the function that doctors whether a variable is
uniform or varying based on what is about to be assigned to it. But if
a uniform is being assigned from
Reviewers: ,
Description:
adjust_varying is the function that doctors whether a variable is
uniform or varying based on what is about to be assigned to it. But if
a uniform is being assigned from
|
By
larry...@...
·
#218
·
|
|
Re: run flags vs active intervals
Hi guys,
Nice job with the analysis Larry. It's interesting to see the kinds of
runstates which come out of your renderer, especially the apparent
predominance of really sparse states (at a quick
Hi guys,
Nice job with the analysis Larry. It's interesting to see the kinds of
runstates which come out of your renderer, especially the apparent
predominance of really sparse states (at a quick
|
By
Chris Foster <chri...@...>
·
#214
·
|
|
Re: Review: oslc -E (issue201057)
LGTM
http://codereview.appspot.com/201057/show
LGTM
http://codereview.appspot.com/201057/show
|
By
cku...@...
·
#213
·
|
|
Review: oslc -E (issue201057)
Reviewers: ,
Description:
Like gcc, allow a "-E" option to oslc that just outputs the result of
preprocessing.
Please review this at http://codereview.appspot.com/201057/show
Affected files:
Reviewers: ,
Description:
Like gcc, allow a "-E" option to oslc that just outputs the result of
preprocessing.
Please review this at http://codereview.appspot.com/201057/show
Affected files:
|
By
larry...@...
·
#212
·
|
|
Re: run flags vs active intervals
The most important data point is that runflags are a big loser for the vast majority of run states that we see. So moving to one of the others (almost certainly indices) is at the top of my
The most important data point is that runflags are a big loser for the vast majority of run states that we see. So moving to one of the others (almost certainly indices) is at the top of my
|
By
Larry Gritz <l...@...>
·
#211
·
|
|
Re: run flags vs active intervals
Spans only beat indices if there are is a single large span of 1's, or a large batch that is almost all 1's. (That's most primary batches, but nothing else.)
That may be a good compromise. I think
Spans only beat indices if there are is a single large span of 1's, or a large batch that is almost all 1's. (That's most primary batches, but nothing else.)
That may be a good compromise. I think
|
By
Larry Gritz <l...@...>
·
#210
·
|
|
Re: run flags vs active intervals
OK, so what do we make of all this? I've quoted a few interesting cases below.
Most of the unique state patterns look like this, typical sparse runflags from secondary ray batches: runflags are
OK, so what do we make of all this? I've quoted a few interesting cases below.
Most of the unique state patterns look like this, typical sparse runflags from secondary ray batches: runflags are
|
By
Larry Gritz <l...@...>
·
#209
·
|
|
Re: run flags vs active intervals
Next installment of "everything you wanted to know about runflags but were afraid to ask."
So after sampling representative runflags from a frame with production shaders and assets, next I wrote a
Next installment of "everything you wanted to know about runflags but were afraid to ask."
So after sampling representative runflags from a frame with production shaders and assets, next I wrote a
|
By
Larry Gritz <l...@...>
·
#208
·
|
|
Re: run flags vs active intervals
OK, I've done some really interesting investigation the runflags issue. Chris Foster was very inspiring with his test program and span idea (which we've been debating versus Chris Kulla's similar
OK, I've done some really interesting investigation the runflags issue. Chris Foster was very inspiring with his test program and span idea (which we've been debating versus Chris Kulla's similar
|
By
Larry Gritz <l...@...>
·
#207
·
|
|
Re: primitive variables
Thanks for the email, Simon!
Yes, OSL already has primitive variables. I agree that it would be handy to have a built-in function that tells you if the particular value is the default, from a
Thanks for the email, Simon!
Yes, OSL already has primitive variables. I agree that it would be handy to have a built-in function that tells you if the particular value is the default, from a
|
By
Larry Gritz <l...@...>
·
#206
·
|
|
primitive variables
Just wondering if you have thought about binding shader parameters to
geometry like you can with primitive variables in RenderMan.
Specifically - if you are going to do something like this - it
Just wondering if you have thought about binding shader parameters to
geometry like you can with primitive variables in RenderMan.
Specifically - if you are going to do something like this - it
|
By
Simon Bunker <si...@...>
·
#205
·
|
|
Re: Review: broken getmessage (issue199069)
Which other cases do you think are broken?
I can try to simplify, but it's a fairly complicated set of moving parts. I'll see what I can do.
-- lg
--
Larry Gritz
l...@...
Which other cases do you think are broken?
I can try to simplify, but it's a fairly complicated set of moving parts. I'll see what I can do.
-- lg
--
Larry Gritz
l...@...
|
By
Larry Gritz <l...@...>
·
#196
·
|
|
Re: Review: broken getmessage (issue199069)
LGTM
But I still think there are additional corner cases to both setmessage
and getmessage that might be broken.
Overall the logic in these ops is quite hard to follow ... is there
anything we could
LGTM
But I still think there are additional corner cases to both setmessage
and getmessage that might be broken.
Overall the logic in these ops is quite hard to follow ... is there
anything we could
|
By
cku...@...
·
#204
·
|