Hi,

Up to now, load_push_constant intrinsics generated by the spirv
compiler were hardcoded to have an offset of 0 and a range of 128.

This series adds a function compute those offset & range.

Cheers,

Lionel

Lionel Landwerlin (2):
  spirv: move block_size() definition
  spirv: compute push constant access offset & range

 src/compiler/spirv/vtn_variables.c              | 181 +++++++++++++++---------
 src/intel/vulkan/anv_nir_lower_push_constants.c |   1 -
 2 files changed, 114 insertions(+), 68 deletions(-)

--
2.11.0
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to