ir3: Add ir3_trim_constlen()
authorConnor Abbott <cwabbott0@gmail.com>
Wed, 24 Jun 2020 10:55:23 +0000 (12:55 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 26 Jun 2020 09:34:33 +0000 (09:34 +0000)
commit48b1602b5065384ad40f6852e72eacc538ccf319
tree06302479bccc81a0120d588305339193c14883c7
parent9edff0cfd4f567a9db5bc02be519e7d48299228a
ir3: Add ir3_trim_constlen()

This provides the policy for how to handle reducing constlen for some
stages.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5607>
src/freedreno/ir3/ir3_shader.c
src/freedreno/ir3/ir3_shader.h