Home | History | Annotate | Download | only in D3D9

Lines Matching refs:shader

686 	long Direct3DDevice9::CreatePixelShader(const unsigned long *function, IDirect3DPixelShader9 **shader)
690 TRACE("const unsigned long *function = 0x%0.8p, IDirect3DPixelShader9 **shader = 0x%0.8p", function, shader);
692 if(!shader)
697 *shader = 0;
701 return INVALIDCALL(); // Shader contains unsupported operations
704 *shader = new Direct3DPixelShader9(this, function);
706 if(!*shader)
711 (*shader)->AddRef();
922 long Direct3DDevice9::CreateVertexShader(const unsigned long *function, IDirect3DVertexShader9 **shader)
926 TRACE("const unsigned long *function = 0x%0.8p, IDirect3DVertexShader9 **shader = 0x%0.8p", function, shader);
928 if(!shader)
933 *shader = 0;
937 return INVALIDCALL(); // Shader contains unsupported operations
940 *shader = new Direct3DVertexShader9(this, function);
942 if(!*shader)
947 (*shader)->AddRef();
1660 long Direct3DDevice9::GetPixelShader(IDirect3DPixelShader9 **shader)
1664 TRACE("IDirect3DPixelShader9 **shader = 0x%0.8p", shader);
1666 if(!shader)
1676 *shader = pixelShader;
2060 long Direct3DDevice9::GetVertexShader(IDirect3DVertexShader9 **shader)
2064 TRACE("IDirect3DVertexShader9 **shader = 0x%0.8p", shader);
2066 if(!shader)
2071 *shader = vertexShader;
2911 TRACE("IDirect3DPixelShader9 *shader = 0x%0.8p", iPixelShader);
5177 TRACE("IDirect3DVertexShader9 *shader = 0x%0.8p", iVertexShader);
5786 const sw::VertexShader *shader = vertexShader->getVertexShader();
5792 if(usage == shader->input[i].usage &&
5793 index == shader->input[i].index)
5805 if((usage == shader->output[i][0].usage || (usage == D3DDECLUSAGE_POSITIONT && shader->output[i][0].usage == D3DDECLUSAGE_POSITION)) &&
5806 index == shader->output[i][0].index)
5873 renderer->setPixelShader(pixelShader->getPixelShader()); // Loads shader constants set with DEF
5874 pixelShaderConstantsBDirty = pixelShader->getPixelShader()->dirtyConstantsB; // Shader DEF'ed constants are dirty
5875 pixelShaderConstantsFDirty = pixelShader->getPixelShader()->dirtyConstantsF; // Shader DEF'ed constants are dirty
5876 pixelShaderConstantsIDirty = pixelShader->getPixelShader()->dirtyConstantsI; // Shader DEF'ed constants are dirty
5905 renderer->setVertexShader(vertexShader->getVertexShader()); // Loads shader constants set with DEF
5906 vertexShaderConstantsBDirty = vertexShader->getVertexShader()->dirtyConstantsB; // Shader DEF'ed constants are dirty
5907 vertexShaderConstantsFDirty = vertexShader->getVertexShader()->dirtyConstantsF; // Shader DEF'ed constants are dirty
5908 vertexShaderConstantsIDirty = vertexShader->getVertexShader()->dirtyConstantsI; // Shader DEF'ed constants are dirty