swr/swr: Enable ARB_viewport_array
authorJan Zielinski <jan.zielinski@intel.com>
Tue, 2 Jul 2019 14:44:34 +0000 (16:44 +0200)
committerJan Zielinski <jan.zielinski@intel.com>
Wed, 3 Jul 2019 12:43:28 +0000 (14:43 +0200)
commit243db4980c77e9d55b016ea79c4ddf075101bde0
treea327fec19cdc5dee41058791f992b197e1509844
parentc6cb9b197d4e82432cacae7cec04e7d6ee73ceba
swr/swr: Enable ARB_viewport_array

The rasterizer core supported ARB_viewport_array,
but the swr layer connecting core to Gallium state
tracker only allowed one viewport.

We add support for multiple viewports to swr layer.

Reviewed-by: Alok Hota <alok.hota@intel.com>
docs/features.txt
src/gallium/drivers/swr/swr_clear.cpp
src/gallium/drivers/swr/swr_context.cpp
src/gallium/drivers/swr/swr_context.h
src/gallium/drivers/swr/swr_screen.cpp
src/gallium/drivers/swr/swr_shader.cpp
src/gallium/drivers/swr/swr_state.cpp
src/gallium/drivers/swr/swr_state.h