Skip to content

Draft: vkd3d-shader: Proposal for parsing state blocks.

Francisco Casas requested to merge fcasas/vkd3d:stateblock_experiments into master

Currently we are assuming that unknown identifiers within state blocks are scalar integers. This proposal keeps doing this.

The lower_static_constant_folding() meta-pass is introduced to fold as much as possible these state state block expressions. And I plan to reuse it for constant buffer default values.

A lower_state_block_identifier_loads() pass is included in the last commit. The idea is to start filling a table with numeric values for the unknown identifiers as we start discovering them.

Merge request reports

Loading