Skip to content

[mlir][dxsa] Fix attribute type of dxsa.index.rel.imm#162

Open
asavonic wants to merge 1 commit into
dxsa-mlirfrom
dxsa-mlir-index-rel-imm
Open

[mlir][dxsa] Fix attribute type of dxsa.index.rel.imm#162
asavonic wants to merge 1 commit into
dxsa-mlirfrom
dxsa-mlir-index-rel-imm

Conversation

@asavonic

@asavonic asavonic commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

dxsa.index.rel.imm corresponds to D3D10_SB_OPERAND_INDEX_IMMEDIATE32_PLUS_RELATIVE, so it should have a 32-bit integer attribute for an immediate.

There is also D3D10_SB_OPERAND_INDEX_IMMEDIATE64_PLUS_RELATIVE defined in the header, but the original compiler does not support it, so we omit it as well.

dxsa.index.rel.imm corresponds to
D3D10_SB_OPERAND_INDEX_IMMEDIATE32_PLUS_RELATIVE, so it should have a
32-bit integer attribute for an immediate.

There is also D3D10_SB_OPERAND_INDEX_IMMEDIATE64_PLUS_RELATIVE defined
in the header, but the original compiler does not support it, so we
omit it as well.
@asavonic asavonic requested a review from tagolog June 5, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant