r600/sfn: Don't set num_components on TESS sysvalue intrinsics
authorGert Wollny <gert.wollny@collabora.com>
Sat, 20 Jun 2020 15:01:15 +0000 (17:01 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Jun 2020 12:01:17 +0000 (12:01 +0000)
commit97318994bcc07f2d5bb8a0a432202e88d5ac1503
treea6a06c3c7c5df6d262be42c34916601da77fe298
parent43c23ba9bff17a1438a5091d26035b6284d50d35
r600/sfn: Don't set num_components on TESS sysvalue intrinsics

These instructions are not vectorized, and validation rules added for
this with 167fa2887f09
    nir/validate: validate intr->num_components

Fixes: 46a3033b43b9b51cae5c60eea39e7e5af325c4db
    r600/sfn: Emit some LDS instructions

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5575>
src/gallium/drivers/r600/sfn/sfn_nir_lower_tess_io.cpp
src/gallium/drivers/r600/sfn/sfn_shader_base.cpp