You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Design and implement a format to specify following DXIL Operations attributes as defined in hctdb.py in their corresponding TableGen records
fn_attr - Attribute shorthand strings: rn=does not access memory,ro=only reads from memory,
is_deriv - Bool indicating whether this is some kind of derivative
is_gradient - Bool indicating whether this requires a gradient calculation
is_feedback - Bool indicating whether this is a sampler feedback op
is_wave - Bool indicating whether this requires in-wave, cross-lane functionality
requires_uniform_inputs - Bool indicating whether this operation requires that all of its inputs are uniform across the wave
is_barrier - Bool indicating whether this is a barrier operation
shader_stages - shader stages to which this applies, empty for all.
is_reserved - Bool that evaluates (dxil_class == "Reserved")
shader_model_translated - minimum shader model required with translation by linker
props - extra properties
Implement the functionality in TableGen backend, DXILEmitter, to generate necessary C++ data structures and/or tables for lowering passes to consume the attribute information.
The text was updated successfully, but these errors were encountered:
At present, DXIL.td is intended to contain DXIL attributes necessary for DXIL backend passes. The DXIL Operation attributes listed are not expected to be necessary for the functionality of DXIL backend passes. Hence work on this issue is not planned.
bharadwajy
changed the title
[DirectX] Design and Implement TableGen specification of DXIL operation attributes
[DirectX] Design TableGen specification of DXIL operation attributes
Jun 21, 2024
bharadwajy
changed the title
[DirectX] Design TableGen specification of DXIL operation attributes
[DirectX] Design and implement TableGen specification of DXIL operation attributes
Jun 21, 2024
Design and implement a format to specify following DXIL Operations attributes as defined in
hctdb.py
in their corresponding TableGen recordsfn_attr
- Attribute shorthand strings: rn=does not access memory,ro=only reads from memory,is_deriv
- Bool indicating whether this is some kind of derivativeis_gradient
- Bool indicating whether this requires a gradient calculationis_feedback
- Bool indicating whether this is a sampler feedback opis_wave
- Bool indicating whether this requires in-wave, cross-lane functionalityrequires_uniform_inputs
- Bool indicating whether this operation requires that all of its inputs are uniform across the waveis_barrier
- Bool indicating whether this is a barrier operationshader_stages
- shader stages to which this applies, empty for all.is_reserved
- Bool that evaluates (dxil_class == "Reserved")shader_model_translated
- minimum shader model required with translation by linkerprops
- extra propertiesImplement the functionality in TableGen backend,
DXILEmitter
, to generate necessary C++ data structures and/or tables for lowering passes to consume the attribute information.The text was updated successfully, but these errors were encountered: