- 
                Notifications
    
You must be signed in to change notification settings  - Fork 804
 
[SER] HitObject::GetAttributes HLSL -> DXIL lowering and attributes sema #7361
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
- HLSL -> DXIL lowering - ast, hlsl->dxil, dxilgen, and ScalarReplAggregatesHLSL tests SER implementation tracker (microsoft#7214)
Co-authored-by: Chris B <beanz@abolishcrlf.org>
This reverts commit 57b5fdd.
…return is a Clang codegen artifact)
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.
- We need a dxilgen pass test to test the lowering in isolation.
 - I think we need to change the form of the 
GetAttributesmethod to take anout udtparameter instead of following theByteAddressBuffer::Loadpattern and returning$funcT, which returns a reference, then pointer for HL op. For this point, we could defer until after preview, but I think we need to file a spec issue for follow-up. 
        
          
                tools/clang/test/SemaHLSL/hlsl/objects/HitObject/hitobject_attributes.hlsl
          
            Show resolved
            Hide resolved
        
      | 
           @simoll, one of the introduced tests is failing, can you fix that up?  | 
    
          
 Fixed it. A diagnostic signature changed here while the traceinvoke PR added another instance of that diagnostic. Merged main and fixed that use too.  | 
    
Lowering for
HitObject::GetAttributes<T>()Specification: https://github.com/microsoft/hlsl-specs/blob/main/proposals/0027-shader-execution-reordering.md
DXC SER implementation tracker:: #7214