Disabling culling for rect lists.

This commit is contained in:
Ben Vanik
2014-01-20 00:45:16 -08:00
parent 1cd518b19c
commit ea5a6e19dd
2 changed files with 16 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ public:
private:
int SetupDraw(xenos::XE_GPU_PRIMITIVE_TYPE prim_type);
int RebuildRenderTargets(uint32_t width, uint32_t height);
int UpdateState();
int UpdateState(uint32_t state_overrides = 0);
int UpdateConstantBuffers();
int BindShaders();
int PrepareFetchers();
@@ -97,6 +97,10 @@ private:
ID3D11Buffer* loop_constants;
} constant_buffers;
} state_;
enum StateOverrides {
STATE_OVERRIDE_DISABLE_CULLING = (1 << 0),
};
};