-
Notifications
You must be signed in to change notification settings - Fork 383
fix: pass the real number of channels to rs_texture and rs_texture3d on gpu #2004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
These were discovered when moving SPI's renderer to the the current release and switching to use the rs_ functions. Signed-off-by: Larry Gritz <[email protected]>
The Windows tests are failing because of unrelated issue #2003. I think I've made a mistake in the OptiX parts, actually. Don't review yet, I think this still needs a little work. |
Eew, there is some confusion about how the rs_texture family of functions should work. The parameters are passed as It might be worth noting that for the old RendererServices, the texture methods also pass So do we imagine rs_texture to be a direct substitute (in a sense) for RenderServices::texture(), or is it more analogous to the hidden thing in side RS::texture that knows it has a Now that I've written the above, I think that it makes most sense for rs_texture to mimic RendererServices::texture, in that the fact that we pass nchans at all makes me think that it's supposed to only touch But if you disagree strongly, speak up before I finish fixing it all. |
Never mind that last comment. I think I have it all fixed already, was just one spot making a bad assumption. Obviously, rs_texture ought to have the same meaning of its parameters as RendererServices:texture did. |
Signed-off-by: Larry Gritz <[email protected]>
@chellmuth @aconty This is a necessary step to get Spear fully caught up. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
…on gpu (AcademySoftwareFoundation#2004) These were discovered when moving SPI's renderer to the the current release and switching to use the rs_ functions. Signed-off-by: Larry Gritz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
These were discovered when moving SPI's renderer to the the current release and switching to use the rs_ functions.