Fix fragment uniform buffer block calculation
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
parent
10cbac3fc3
commit
b0bd383f2e
|
@ -1192,7 +1192,7 @@ static Refresh_GraphicsPipeline* D3D11_CreateGraphicsPipeline(
|
|||
pipeline->fragmentShader = (ID3D11PixelShader*) fragShaderModule->shader;
|
||||
pipeline->numFragmentSamplers = pipelineCreateInfo->fragmentShaderInfo.samplerBindingCount;
|
||||
pipeline->fragmentUniformBlockSize = D3D11_INTERNAL_NextHighestAlignment(
|
||||
(uint32_t) pipelineCreateInfo->vertexShaderInfo.uniformBufferSize,
|
||||
(uint32_t) pipelineCreateInfo->fragmentShaderInfo.uniformBufferSize,
|
||||
256
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue