swr/rasterizer: Enable ARB_fragment_layer_viewport
authorJan Zielinski <jan.zielinski@intel.com>
Fri, 2 Aug 2019 10:28:13 +0000 (12:28 +0200)
committerJan Zielinski <jan.zielinski@intel.com>
Thu, 29 Aug 2019 10:09:05 +0000 (12:09 +0200)
commite64091ebd4187a383b122060d358780a376772a6
tree28b4488f4452ce6df39743769e262f5736e83038
parent6dc4ddc5f81f7a3041eb61370dbb7edf90a92a6a
swr/rasterizer: Enable ARB_fragment_layer_viewport

Added loading gl_Layer and gl_ViewportIndex variables
to Pixel Shader context.

Reviewed-by: Alok Hota <alok.hota@intel.com>
docs/features.txt
src/gallium/drivers/swr/rasterizer/core/backend_impl.h
src/gallium/drivers/swr/rasterizer/core/state.h
src/gallium/drivers/swr/swr_shader.cpp