Reduce reliance on big public headers where possible

* Mostly moving includes from common headers to cpp where possible, and removing
  includes of the whole thing where only enums or rdcstr etc are needed.
This commit is contained in:
baldurk
2019-12-16 17:06:16 +00:00
parent f68645bddc
commit c4ca8cb1d1
163 changed files with 839 additions and 710 deletions
@@ -28,11 +28,11 @@
#include "Code/QRDUtils.h"
#include "QRDInterface.h"
static const QString glsl_stage4[ENUM_ARRAY_SIZE(ShaderStage)] = {
static const QString glsl_stage4[arraydim<ShaderStage>()] = {
lit("vert"), lit("tesc"), lit("tese"), lit("geom"), lit("frag"), lit("comp"),
};
static const QString hlsl_stage2[ENUM_ARRAY_SIZE(ShaderStage)] = {
static const QString hlsl_stage2[arraydim<ShaderStage>()] = {
lit("vs"), lit("hs"), lit("ds"), lit("gs"), lit("ps"), lit("cs"),
};