summaryrefslogtreecommitdiffstats
path: root/VERSION
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-01-13 18:43:14 -0500
committerRob Clark <[email protected]>2016-02-09 17:30:33 -0500
commit1df3ecc1b87d95130165283154a13ea5b9a498d4 (patch)
treed007d515e3d34dc94d2a821f9fe679d3c687ce23 /VERSION
parent8b0f6de73d7bf5cc2b9bb189e5a3fe4d48dd1017 (diff)
nir: const_index helpers
Direct access to intr->const_index[n], where different slots have different meanings, is somewhat confusing. Instead, let's put some extra info in nir_intrinsic_infos[] about which slots map to what, and add some get/set helpers. The helpers validate that the field being accessed (base/writemask/etc) is applicable for the intrinsic opc, for some extra safety. And nir_print can use this to dump out decoded const_index fields. Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions