radeonsi: simplify si_get_input_prim and remove incorrect TODO comment
authorMarek Olšák <marek.olsak@amd.com>
Sat, 20 Jul 2019 01:12:43 +0000 (21:12 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 23 Jul 2019 19:03:49 +0000 (15:03 -0400)
commite718f8e713767f1bd76038eb6ed4ee95942981e6
tree1e315cd03989a9f35340cf38e15328b06252983c
parent16392cc3f3ed5515bf143b956f03ae5bc4b24c52
radeonsi: simplify si_get_input_prim and remove incorrect TODO comment

u_vertices_per_prim(QUADS) is the same as TRIANGLES.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/drivers/radeonsi/gfx10_shader_ngg.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c