Use a single set of constant buffers for the driver uniforms.

TRAC #22327 Signed-off-by: Daniel Koch Signed-off-by: Geoff Lang Author: Nicolas Capens git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1765 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 46a5b87f
...@@ -237,9 +237,13 @@ class Renderer11 : public Renderer ...@@ -237,9 +237,13 @@ class Renderer11 : public Renderer
unsigned int mAppliedProgramBinarySerial; unsigned int mAppliedProgramBinarySerial;
rx::dx_VertexConstants mVertexConstants; dx_VertexConstants mVertexConstants;
rx::dx_PixelConstants mPixelConstants; dx_VertexConstants mAppliedVertexConstants;
bool mDxUniformsDirty; ID3D11Buffer *mDriverConstantBufferVS;
dx_PixelConstants mPixelConstants;
dx_PixelConstants mAppliedPixelConstants;
ID3D11Buffer *mDriverConstantBufferPS;
// Vertex, index and input layouts // Vertex, index and input layouts
VertexDataManager *mVertexDataManager; VertexDataManager *mVertexDataManager;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment