Skip to content

[mlir][dxsa] Add dcl_resource instruction#146

Merged
tagolog merged 1 commit into
access-softek:dxsa-mlirfrom
tagolog:dxsa-mlir-dcl_resource
Jun 7, 2026
Merged

[mlir][dxsa] Add dcl_resource instruction#146
tagolog merged 1 commit into
access-softek:dxsa-mlirfrom
tagolog:dxsa-mlir-dcl_resource

Conversation

@tagolog

@tagolog tagolog commented May 27, 2026

Copy link
Copy Markdown

Example:
dxsa.dcl_resource <type = resource, components = 0, index = [0, 0, 3]>,
<x = float, y = float, z = float, w = float>,
<dim = texture3d, space = 1>

@tagolog tagolog requested a review from asavonic May 27, 2026 19:26
@tagolog tagolog force-pushed the dxsa-mlir-dcl_resource branch 2 times, most recently from 4b4e55c to 817a298 Compare May 29, 2026 03:47

@asavonic asavonic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. There is a lot of attributes, but I don't see another way.

Example:
    dxsa.dcl_resource <id = 0>, <dim = buffer>,
        <x = unorm, y = snorm, z = sint, w = uint>
    dxsa.dcl_resource <id = 5>, <dim = texture2dms, sample_count = 4>,
        <x = float, y = float, z = float, w = float>
    dxsa.dcl_resource <id = 0, lbound = 0, ubound = 3, space = 1>,
        <dim = texture3d>, <x = float, y = float, z = float, w = float>

Signed-off-by: Vladimir Shiryaev <tagolog@users.noreply.github.com>
@tagolog tagolog force-pushed the dxsa-mlir-dcl_resource branch from 817a298 to 5130ff9 Compare June 7, 2026 02:32
@tagolog tagolog merged commit b593a96 into access-softek:dxsa-mlir Jun 7, 2026
5 checks passed
@tagolog tagolog deleted the dxsa-mlir-dcl_resource branch June 7, 2026 03:45
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.

2 participants