aco: Allow combining LDS loads when loading tess factors.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 12 Mar 2020 15:55:19 +0000 (16:55 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 30 Mar 2020 13:09:08 +0000 (13:09 +0000)
commit4ec48440a0b9f1045d958659cda3fde3126868c0
tree4cec4aad4b83154c96ccf0d1262964c00535751e
parentace3833293e5aa49bb76e11aa96ad0a01e9538bf
aco: Allow combining LDS loads when loading tess factors.

Previously the tess factors were loaded individually, but now they can
be loaded using a single LDS load instruction.

Note that the inner and outer tess factors are not yet combined.

Totals (GFX10):
Code Size: 254896008 -> 254879212 (-0.01 %) bytes

Totals from affected shaders (GFX10):
Code Size: 2028352 -> 2011556 (-0.83 %) bytes

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4165>
src/amd/compiler/aco_instruction_selection.cpp