shader_enums: Move MAX_DRAW_BUFFERS to this file.
authorEric Anholt <eric@anholt.net>
Thu, 19 Sep 2019 17:54:08 +0000 (10:54 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 27 Sep 2019 20:34:28 +0000 (13:34 -0700)
commit7a4647ee392eff045015a0295f0b6d235d376804
tree66c31b44250639dc598483c235518945a6f5e992
parent6c858b9a915b54d127a64ab817f111a82716a037
shader_enums: Move MAX_DRAW_BUFFERS to this file.

We include shader_enums.h from freedreno's compiler for both GL and
Vulkan, and the main/config.h include resulted in polluting the
namespace with things like MAX_VIEWPORTS that other Vulkan drivers use
as their driver-specific maximums.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/compiler/shader_enums.h
src/mesa/main/config.h