Skip to content

[SM6.9] Scalarization passes involves a lot of type checks for vec1s #7261

@pow2clk

Description

@pow2clk

As part of the selective scalarization introduced for Shader Model 6.9, #7155 introduced a lot of specific value type checks to see if the vector was long enough to skip scalarization. This results in a significant change to a fundamental pass that might run entirely or not on a given model depending on whether there is any need.

It would be better to run the entire pass or not depending on the version available. To do this, we'd need the ability to scalarize the operations when vec1s are involved in another way, possibly with a custom pass.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Triaged

Relationships

None yet

Development

No branches or pull requests

Issue actions