Skip to content
Snippets Groups Projects
Commit d562b03c authored by Francisco Casas's avatar Francisco Casas Committed by Henri Verbeet
Browse files

vkd3d-shader/hlsl: Allow to force alignment on some semantic vars.

This is required to properly optimize signatures, because these
semantics must be alligned while being packed:
- Array elements.
- The first fields of structs.
- Major vectors of a matrix.

For now this has no effect since semantics are allocated with reg_size
4, but will have effect when optimizing interstage signatures.
parent 7fd6c29e
No related branches found
No related tags found
1 merge request!1193vkd3d-shader/hlsl: Interstage signature optimization, part 2.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment