r600/sfn: Avoid using dynamic_cast to identify type
authorGert Wollny <gert.wollny@collabora.com>
Thu, 27 Feb 2020 07:10:36 +0000 (08:10 +0100)
committerGert Wollny <gert.wollny@collabora.com>
Mon, 2 Mar 2020 19:00:14 +0000 (20:00 +0100)
commit7780b50b7e7c29fef4065c1b3ba7f63edeed3028
tree7ad61a5fbecd0d082538c11d9d0764b218a946b3
parent3503cb4c28e01b34f3a25546c058150709c22348
r600/sfn: Avoid using dynamic_cast to identify type

v2: Fix typo (maurossi)

Related: #2566

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Tested-by: Mauro Rossi <issor.oruam@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3974>
src/gallium/drivers/r600/sfn/sfn_shaderio.cpp
src/gallium/drivers/r600/sfn/sfn_shaderio.h