Pyrogenesis trunk
|
#include "precompiled.h"
#include "ShaderProgram.h"
#include "graphics/Color.h"
#include "graphics/PreprocessorWrapper.h"
#include "graphics/ShaderManager.h"
#include "graphics/TextureManager.h"
#include "ps/CLogger.h"
#include "ps/containers/StaticVector.h"
#include "ps/Filesystem.h"
#include "ps/Profile.h"
#include "ps/XML/Xeromyces.h"
#include "renderer/backend/gl/Device.h"
#include "renderer/backend/gl/DeviceCommandContext.h"
#include "ps/XML/RelaxNG.h"
#include "ps/XML/XMLWriter.h"
#include <algorithm>
#include <map>
#include <tuple>
#include <unordered_map>
Namespaces | |
namespace | Renderer |
namespace | Renderer::Backend |
namespace | Renderer::Backend::GL |
namespace | Renderer::Backend::GL::anonymous_namespace{ShaderProgram.cpp} |
Macros | |
#define | USE_SHADER_XML_VALIDATION 1 |
#define | CASE(MATCH_STRING, TYPE, ELEMENT_TYPE, ELEMENT_COUNT) if (str == MATCH_STRING) return {GL_ ## TYPE, GL_ ## ELEMENT_TYPE, ELEMENT_COUNT} |
#define | CASE(TYPE, ELEMENT_TYPE, ELEMENT_COUNT) |
#define | EL(x) int el_##x = XeroFile.GetElementID(#x) |
#define | AT(x) int at_##x = XeroFile.GetAttributeID(#x) |
#define AT | ( | x | ) | int at_##x = XeroFile.GetAttributeID(#x) |
#define CASE | ( | MATCH_STRING, | |
TYPE, | |||
ELEMENT_TYPE, | |||
ELEMENT_COUNT | |||
) | if (str == MATCH_STRING) return {GL_ ## TYPE, GL_ ## ELEMENT_TYPE, ELEMENT_COUNT} |
#define CASE | ( | TYPE, | |
ELEMENT_TYPE, | |||
ELEMENT_COUNT | |||
) |
#define EL | ( | x | ) | int el_##x = XeroFile.GetElementID(#x) |
#define USE_SHADER_XML_VALIDATION 1 |