- hook up enough of renderstate to enable all of main.vp and main.fp
This commit is contained in:
parent
c2e0eba270
commit
2e0b34ca72
5 changed files with 120 additions and 17 deletions
|
|
@ -94,9 +94,9 @@ void VulkanFrameBuffer::InitializeState()
|
|||
MatricesUBO = (VKDataBuffer*)CreateDataBuffer(1234, false);
|
||||
ColorsUBO = (VKDataBuffer*)CreateDataBuffer(1234, false);
|
||||
GlowingWallsUBO = (VKDataBuffer*)CreateDataBuffer(1234, false);
|
||||
MatricesUBO->SetData(sizeof(MatricesUBO) * 128, nullptr, false);
|
||||
ColorsUBO->SetData(sizeof(ColorsUBO) * 128, nullptr, false);
|
||||
GlowingWallsUBO->SetData(sizeof(GlowingWallsUBO) * 128, nullptr, false);
|
||||
MatricesUBO->SetData(UniformBufferAlignment<::MatricesUBO>() * 50000, nullptr, false);
|
||||
ColorsUBO->SetData(UniformBufferAlignment<::ColorsUBO>() * 50000, nullptr, false);
|
||||
GlowingWallsUBO->SetData(UniformBufferAlignment<::GlowingWallsUBO>() * 50000, nullptr, false);
|
||||
|
||||
mShaderManager.reset(new VkShaderManager(device));
|
||||
mSamplerManager.reset(new VkSamplerManager(device));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue