| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include "Common/CommonTypes.h" |
| 7 |
#include "VideoCommon/ConstantManager.h" |
| 8 |
|
| 9 |
class PointerWrap; |
| 10 |
enum class PrimitiveType : u32; |
| 11 |
|
| 12 |
|
| 13 |
class GeometryShaderManager |
| 14 |
{ |
| 15 |
public: |
| 16 |
void Init(); |
| 17 |
void Dirty(); |
| 18 |
void DoState(PointerWrap& p); |
| 19 |
|
| 20 |
void SetConstants(PrimitiveType prim); |
| 21 |
void SetViewportChanged(); |
| 22 |
void SetProjectionChanged(); |
| 23 |
void SetLinePtWidthChanged(); |
| 24 |
void SetTexCoordChanged(u8 texmapid); |
| 25 |
|
| 26 |
GeometryShaderConstants constants{}; |
| 27 |
bool dirty = false; |
| 28 |
|
| 29 |
private: |
| 30 |
void SetVSExpand(VSExpand expand); |
| 31 |
|
| 32 |
bool m_projection_changed = false; |
| 33 |
bool m_viewport_changed = false; |
| 34 |
}; |