Skip to content

vkd3d-shader/hlsl: Emit fixme on non-direct resource stores.

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

Co-authored-by: Giovanni Mascellani gmascellani@codeweavers.com

These may happen when storing to structured buffers, and we are not handling them properly yet. The included test reaches unreacheable code before this patch.

Storing to buffers is complicated since we need to split the index chain in two paths:

  • The path within the variable where the resource is.
  • The subpath to the part of the resource element that is being stored to.

For now, we will emit a fixme when the index chain in the lhs is not a direct resource access.

Merge request reports

Loading