tgsi/ureg: accept TGSI_FILE_{CONSTANT,INPUT} for dst registers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 30 Mar 2017 00:01:59 +0000 (02:01 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Jun 2017 08:04:36 +0000 (10:04 +0200)
commit556f70b404fea6d9abfbe2632c75e809bdf7b643
tree299be7b4c3829a154a21133cb74d2638292a459c
parented4fbb84d1c3251d87476500272d28c59419fa88
tgsi/ureg: accept TGSI_FILE_{CONSTANT,INPUT} for dst registers

For example, TGSI_OPCODE_STORE for bindless images might use
a constant buffer or a shader input.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/tgsi/tgsi_ureg.c