OSDN Git Service

i965: Drop unnecessary switch statement in nir_setup_outputs()
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 13 Oct 2016 05:30:30 +0000 (22:30 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 24 Oct 2016 21:33:38 +0000 (14:33 -0700)
commit3728ee000aecb19793dec56d45aff9d6cfce3e5b
tree858a5b4bf0352656e96b22cd776bde0464131abe
parent88a618ce86602e962343683eacea60ebdd20e4e1
i965: Drop unnecessary switch statement in nir_setup_outputs()

TCS and FS are skipped above.  CS has no output variables.
All remaining cases take the same path.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp