-
Notifications
You must be signed in to change notification settings - Fork 51
[0041] Update triangle hit pos return values for HLSL and DXIL #680
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
base: main
Are you sure you want to change the base?
Conversation
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.
I don't think this is an improvement from the HLSL API perspective. Matrices introduce a bunch of possible implicit conversions that can occur which makes it more likely to allow programmer errors.
Since this isn't semantically a matrix we really should have this be a structure.
a6341c6
to
872fd68
Compare
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.
LGTM. I suggested a few updates to the benefits/drawbacks lists based on the conversation yesterday, but feel free take or leave them since I think we're aligned on direction.
Co-authored-by: Chris B <beanz@abolishcrlf.org>
Based on offline discussion, I think I've been convinced that this is the right way to go. Update the spec language and the open issues.