mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00:00
D3D progress, report whether it made things better or worse HERE.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2641 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
31580db11d
commit
b43cb723b9
2 changed files with 6 additions and 8 deletions
|
@ -55,8 +55,6 @@ enum Collection
|
|||
static IndexGenerator indexGen;
|
||||
static Collection collection;
|
||||
|
||||
static LPDIRECT3DVERTEXDECLARATION9 vDecl;
|
||||
|
||||
static u8 *fakeVBuffer; // format undefined - NativeVertexFormat takes care of the declaration.
|
||||
static u16 *fakeIBuffer; // These are just straightforward 16-bit indices.
|
||||
|
||||
|
@ -236,13 +234,13 @@ void Flush()
|
|||
int numVertices = indexGen.GetNumVerts();
|
||||
if (numVertices)
|
||||
{
|
||||
PixelShaderCache::SetShader();
|
||||
VertexShaderCache::SetShader(g_nativeVertexFmt->m_components);
|
||||
|
||||
// set global constants
|
||||
VertexShaderManager::SetConstants(false);
|
||||
PixelShaderManager::SetConstants();
|
||||
|
||||
|
||||
PixelShaderCache::SetShader();
|
||||
VertexShaderCache::SetShader(g_nativeVertexFmt->m_components);
|
||||
|
||||
int stride = g_nativeVertexFmt->GetVertexStride();
|
||||
g_nativeVertexFmt->SetupVertexPointers();
|
||||
if (collection != C_POINTS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue