mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2025-01-18 10:52:14 +01:00
fixed pipeline depth setup
This commit is contained in:
parent
7728412282
commit
eb81806cee
@ -81,9 +81,9 @@ static uint32_t drawCommon(VkCommandBuffer commandBuffer)
|
|||||||
//Configuration Bits
|
//Configuration Bits
|
||||||
clFit(commandBuffer, &commandBuffer->binCl, V3D21_CONFIGURATION_BITS_length);
|
clFit(commandBuffer, &commandBuffer->binCl, V3D21_CONFIGURATION_BITS_length);
|
||||||
clInsertConfigurationBits(&commandBuffer->binCl,
|
clInsertConfigurationBits(&commandBuffer->binCl,
|
||||||
cb->graphicsPipeline->depthWriteEnable, //earlyz updates enable
|
1, //earlyz updates enable
|
||||||
cb->graphicsPipeline->depthTestEnable, //earlyz enable
|
cb->graphicsPipeline->depthTestEnable, //earlyz enable
|
||||||
cb->graphicsPipeline->depthWriteEnable, //z updates enable
|
cb->graphicsPipeline->depthWriteEnable && cb->graphicsPipeline->depthTestEnable, //z updates enable
|
||||||
cb->graphicsPipeline->depthTestEnable ? getCompareOp(cb->graphicsPipeline->depthCompareOp) : V3D_COMPARE_FUNC_ALWAYS, //depth compare func
|
cb->graphicsPipeline->depthTestEnable ? getCompareOp(cb->graphicsPipeline->depthCompareOp) : V3D_COMPARE_FUNC_ALWAYS, //depth compare func
|
||||||
0, //coverage read mode
|
0, //coverage read mode
|
||||||
0, //coverage pipe select
|
0, //coverage pipe select
|
||||||
|
Loading…
x
Reference in New Issue
Block a user