commit | de17922b8a3c382cf89833cf8975cadc00142313 | [log] [tgz] |
---|---|---|
author | Ilia Mirkin <imirkin@alum.mit.edu> | Fri Jul 26 01:18:23 2019 -0400 |
committer | Ilia Mirkin <imirkin@alum.mit.edu> | Sat Jul 27 18:24:11 2019 -0400 |
tree | 2023bc1dfa9d325d233ce75db763bf6f14236c47 | |
parent | 3e468ff2feb3fce4909ea35e7212bb99601ea816 [diff] |
nv50/ir: don't consider the main compute function as taking arguments With OpenCL, kernels can take arguments and return values (?). However in practice, there is no more TGSI compute implementation, and even if there were, it would probably have named functions and no explicit main. This improves RA considerably for compute shaders, since temps are not kept around as return values. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Karol Herbst <kherbst@redhat.com>