diff options
author | Boris Brezillon <[email protected]> | 2019-06-14 09:59:20 +0200 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-06-18 06:36:07 -0700 |
commit | bd49c8f0ebaed08b06feadcdb7dadf6b7b64f21f (patch) | |
tree | d18295742239b57c6d81b2fc93ccf99bfd001ef1 /src/compiler | |
parent | 296c5fd25db15a535920fc43deea2b279e11c5d6 (diff) |
panfrost: Make the sysval logic more generic
We are about to add support for nir_texop_txs which requires adding a
sysval/uniform containing the texture size. Let's change the
emit_sysval_read() prototype to take a nir_instr object instead of
a nir_intrinsic_instr one so we can re-use this function when emitting
a sysval for a txs instruction.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions