Skip to content

[DirectX] Propagate shader flags mask for entry functions #112949

Closed
@bharadwajy

Description

@bharadwajy

Once the change that implements per-function shader flag mask collection is merged, implement the mechanism to propagate compute shader flags mask for entry functions based on the shader flags mask of functions called by the entry function.

Implement any additional validation necessary involving module flags collected.

AC:

  • Add tests with entry functions that call other non-entry functions to verify correctness of the emitted shader flag mask in metadata and in the generated DXIL Container binary.
  • Ensure correctness of added tests by compiling for library and non-library targets.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions