2019-11-18 22:35:21 +01:00
|
|
|
// Copyright 2019 yuzu Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "common/common_types.h"
|
|
|
|
|
|
|
|
namespace Tegra::Engines {
|
|
|
|
|
|
|
|
enum class ShaderType : u32 {
|
|
|
|
Vertex = 0,
|
|
|
|
TesselationControl = 1,
|
|
|
|
TesselationEval = 2,
|
|
|
|
Geometry = 3,
|
|
|
|
Fragment = 4,
|
|
|
|
Compute = 5,
|
|
|
|
};
|
2019-11-19 01:38:15 +01:00
|
|
|
static constexpr std::size_t MaxShaderTypes = 6;
|
2019-11-18 22:35:21 +01:00
|
|
|
|
|
|
|
} // namespace Tegra::Engines
|