i965: Reuse the new core glsl_count_dword_slots().
authorEric Anholt <eric@anholt.net>
Mon, 6 Jan 2020 21:09:25 +0000 (13:09 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Jan 2020 23:55:00 +0000 (23:55 +0000)
commit3d9a3d0be0c11f46b23459de14e4f2b2c5daaeb0
treebe9a9a2c6bd062ef03d2e7a0d02166b97da3a9b9
parentbc4f089d0167dc22fb86c85fbd0fd0fa6f073a85
i965: Reuse the new core glsl_count_dword_slots().

The only difference I could see was treating interfaces like structs.
Maintain that case.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3297>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3297>
src/compiler/glsl_types.cpp
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_nir.h