diff options
author | Axel Davy <[email protected]> | 2016-09-19 19:00:23 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-10-10 23:43:50 +0200 |
commit | b9639c661fb6b52c8abb96c06263f85ca4bd78c1 (patch) | |
tree | 639d0534ff10c8f80789d206f40b2a9cc90cdbe0 /src/gallium/state_trackers/nine/vertexdeclaration9.h | |
parent | 3bf02d383fe94a69dfec3ff54ede3e3b2e9dff6b (diff) |
st/nine: Initial ProcessVertices support
For now only VS 3 support is implemented.
This enables The Sims 2 to work.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/vertexdeclaration9.h')
-rw-r--r-- | src/gallium/state_trackers/nine/vertexdeclaration9.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/vertexdeclaration9.h b/src/gallium/state_trackers/nine/vertexdeclaration9.h index 9d3b1bdca88..7b94f846fe7 100644 --- a/src/gallium/state_trackers/nine/vertexdeclaration9.h +++ b/src/gallium/state_trackers/nine/vertexdeclaration9.h @@ -31,6 +31,7 @@ struct pipe_vertex_element; struct pipe_stream_output_info; struct NineDevice9; struct NineVertexBuffer9; +struct nine_vs_output_info; struct NineVertexDeclaration9 { @@ -78,6 +79,13 @@ NineVertexDeclaration9_GetDeclaration( struct NineVertexDeclaration9 *This, D3DVERTEXELEMENT9 *pElement, UINT *pNumElements ); +void +NineVertexDeclaration9_FillStreamOutputInfo( + struct NineVertexDeclaration9 *This, + struct nine_vs_output_info *ShaderOutputsInfo, + unsigned numOutputs, + struct pipe_stream_output_info *so ); + /* Convert stream output data to the vertex declaration's format. */ HRESULT NineVertexDeclaration9_ConvertStreamOutput( @@ -85,7 +93,7 @@ NineVertexDeclaration9_ConvertStreamOutput( struct NineVertexBuffer9 *pDstBuf, UINT DestIndex, UINT VertexCount, - struct pipe_resource *pSrcBuf, + void *pSrcBuf, const struct pipe_stream_output_info *so ); #endif /* _NINE_VERTEXDECLARATION9_H_ */ |