mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
@ -10714,9 +10714,14 @@ static void IBlendVertBuffer(plSpan* span, hsMatrix44* matrixPalette, int numMat
|
||||
}
|
||||
|
||||
// CPU-optimized functions requiring dispatch
|
||||
hsFunctionDispatcher<plDXPipeline::blend_vert_buffer_ptr> plDXPipeline::blend_vert_buffer(
|
||||
IBlendVertBuffer<ISkinVertexFPU>, 0, 0, IBlendVertBuffer<ISkinVertexSSE3>, 0,
|
||||
IBlendVertBuffer<ISkinVertexSSE41>);
|
||||
hsCpuFunctionDispatcher<plDXPipeline::blend_vert_buffer_ptr> plDXPipeline::blend_vert_buffer {
|
||||
&IBlendVertBuffer<ISkinVertexFPU>,
|
||||
nullptr, // SSE1
|
||||
nullptr, // SSE2
|
||||
&IBlendVertBuffer<ISkinVertexSSE3>,
|
||||
nullptr, // SSSE3
|
||||
&IBlendVertBuffer<ISkinVertexSSE41>
|
||||
};
|
||||
|
||||
// ISetPipeConsts //////////////////////////////////////////////////////////////////
|
||||
// A shader can request that the pipeline fill in certain constants that are indeterminate
|
||||
|
@ -798,8 +798,10 @@ public:
|
||||
|
||||
// CPU-optimized functions
|
||||
protected:
|
||||
typedef void(*blend_vert_buffer_ptr)(plSpan*, hsMatrix44*, int, const uint8_t *, uint8_t , uint32_t, uint8_t *, uint32_t, uint32_t, uint16_t);
|
||||
static hsFunctionDispatcher<blend_vert_buffer_ptr> blend_vert_buffer;
|
||||
typedef void(*blend_vert_buffer_ptr)(plSpan*, hsMatrix44*, int, const uint8_t *,
|
||||
uint8_t , uint32_t, uint8_t *, uint32_t,
|
||||
uint32_t, uint16_t);
|
||||
static hsCpuFunctionDispatcher<blend_vert_buffer_ptr> blend_vert_buffer;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user