ac/radv/radeonsi: refactor raster_config default values getters.
authorDave Airlie <airlied@redhat.com>
Mon, 23 Apr 2018 00:09:36 +0000 (10:09 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 23 Apr 2018 23:07:51 +0000 (09:07 +1000)
commit899df55ee046847dfd2a49059a649da4e6c29fdb
tree587846ec5e8cf012277e25ed4d109bba267243c6
parent8de7ff91bec8fb848512185885b9c9a2283c1a8a
ac/radv/radeonsi: refactor raster_config default values getters.

This just makes this common code between the two drivers.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_gpu_info.c
src/amd/common/ac_gpu_info.h
src/amd/vulkan/si_cmd_buffer.c
src/gallium/drivers/radeonsi/si_state.c