Skip to content

[DirectX] Extend existing Module pass to collect shader flags per-function #111867

@bharadwajy

Description

@bharadwajy

Current implementation of ComputedShaderFlags::computeFlags(Module &M) collects a single shader flags mask for the entire module.

Change the implementation to collect shader module masks per-function of the module.

AC:

  1. Implement a map of function to the shader flags mask representing various properties
  2. Update existing tests to verify the change.

This change is not expected to include analyzing for any new shader flags other than ensuring the existing DX11_1_DoubleExtensions (viz., m_bDoubleExtensions in dxc) continues to be set correctly.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions