mirror of
https://github.com/rrika/cdcEngineDXHR.git
synced 2024-11-27 15:30:27 +00:00
minor fixes (whitespace, comments, names)
This commit is contained in:
parent
844a781478
commit
702402b4f7
@ -79,9 +79,9 @@ struct RenderLightData {
|
||||
void render2(void*, void*);
|
||||
};
|
||||
|
||||
// PCDX11LightSet
|
||||
struct LightReceiverData {
|
||||
uint8_t byte0;
|
||||
uint8_t pad[3];
|
||||
LightReceiverData *nextMaybe;
|
||||
uint16_t word4;
|
||||
uint16_t word6;
|
||||
RenderLightData *dword8[16];
|
||||
|
@ -364,13 +364,13 @@ void PCDX11ModelDrawable::buildAndAssignLightBuffer(
|
||||
PCDX11StateManager *stateManager)
|
||||
{
|
||||
auto lightManager = static_cast<PCDX11LightManager*>(renderModel->renderDevice->lightManager);
|
||||
// if (lightManager->lightDataX_E10 != lightReceiverData)
|
||||
lightManager->fillLightBuffer(lightReceiverData);
|
||||
// if (lightManager->lightDataX_E10 != lightReceiverData)
|
||||
lightManager->fillLightBuffer(lightReceiverData);
|
||||
|
||||
if (lightConstantBufferData) {
|
||||
// if (lightManager->mostRecentAssignmentToCommonCB5 != lightConstantBufferData)
|
||||
lightManager->assignCommonCB5((char*)lightConstantBufferData);
|
||||
}
|
||||
if (lightConstantBufferData) {
|
||||
// if (lightManager->mostRecentAssignmentToCommonCB5 != lightConstantBufferData)
|
||||
lightManager->assignCommonCB5((char*)lightConstantBufferData);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ struct RenderPasses { // = cdc::RenderPassData
|
||||
uint32_t requestedPassesScene[33]; // = m_sceneExecutionList
|
||||
uint32_t requestedPassesShadow[33]; // = m_shadowExecutionList
|
||||
uint32_t dword408[3]; // = m_bitMasks
|
||||
uint32_t depthSortedPasses;
|
||||
uint32_t depthSortedPasses; // 414
|
||||
uint32_t activeFuncBitfield; // 418 = m_drawableTypes
|
||||
CompareFunctionSet comparators[20]; // 41C
|
||||
RenderFunctionSet drawers[20]; // 91C
|
||||
|
Loading…
Reference in New Issue
Block a user