Lines Matching defs:value
729 VkClearDepthStencilValue value)
731 uint32_t max_zval = 0x3fff; /* maximum 14-bit value. */
736 /* Convert the depth value to 14-bit zmin/zmax values. */
737 zmin = lroundf(value.depth * max_zval);
799 radv_is_fast_clear_depth_allowed(VkClearDepthStencilValue value)
801 return value.depth == 1.0f || value.depth == 0.0f;
805 radv_is_fast_clear_stencil_allowed(VkClearDepthStencilValue value)
807 return value.stencil == 0;
999 /* Clear DCC using comp-to-single by storing the clear value at the beginning of every 256B block.
1245 uint32_t value = 0; /* Default value when no DCC. */
1247 /* The fast-clear value is different for images that have both DCC and
1255 return value;
1260 const VkImageSubresourceRange *range, uint32_t value)
1276 radv_buffer_get_va(image->bindings[0].bo) + offset, size, value);
1281 const VkImageSubresourceRange *range, uint32_t value)
1294 radv_buffer_get_va(image->bindings[0].bo) + offset, size, value);
1299 const VkImageSubresourceRange *range, uint32_t value)
1343 size, value);
1395 /* Do not write the clear color value for levels without DCC. */
1464 const VkImageSubresourceRange *range, uint32_t value)
1490 size, value);
1494 clear_htile_mask(cmd_buffer, image, image->bindings[0].bo, offset, size, value, htile_mask);
1507 size, value);
1511 clear_htile_mask(cmd_buffer, image, image->bindings[0].bo, offset, size, value, htile_mask);
1580 /* Use the maximum value for clamping the clear color. */
1588 /* Use the maximum value for clamping the clear color. */