aco: optimize more uniform reductions/scans

Uniform atomic optimization will create these.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6558>
This commit is contained in:
Rhys Perry
2020-09-01 16:30:06 +01:00
committed by Marge Bot
parent c31ababae3
commit bf77f539ee
5 changed files with 280 additions and 111 deletions

View File

@@ -349,6 +349,10 @@ public:
return def;
}
Definition hint_${fixed}(RegClass rc) {
return hint_${fixed}(def(rc));
}
% endfor
/* hand-written helpers */
Temp as_uniform(Op op)