[Mesa-dev] [PATCH 0/2] Spirv: Set push constant base/range

Lionel Landwerlin lionel.g.landwerlin at intel.com
Sat Dec 17 23:43:59 UTC 2016


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


More information about the mesa-dev mailing list