"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gallium/frontends/lavapipe/lvp_pass.c" between
mesa-21.2.0-rc1.tar.xz and mesa-21.2.0-rc2.tar.xz

About: Mesa is an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics (main library code). Release candidate.

lvp_pass.c  (mesa-21.2.0-rc1.tar.xz):lvp_pass.c  (mesa-21.2.0-rc2.tar.xz)
skipping to change at line 189 skipping to change at line 189
for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) { for (uint32_t i = 0; i < pCreateInfo->attachmentCount; i++) {
struct lvp_render_pass_attachment *att = &pass->attachments[i]; struct lvp_render_pass_attachment *att = &pass->attachments[i];
att->format = pCreateInfo->pAttachments[i].format; att->format = pCreateInfo->pAttachments[i].format;
att->samples = pCreateInfo->pAttachments[i].samples; att->samples = pCreateInfo->pAttachments[i].samples;
att->load_op = pCreateInfo->pAttachments[i].loadOp; att->load_op = pCreateInfo->pAttachments[i].loadOp;
att->stencil_load_op = pCreateInfo->pAttachments[i].stencilLoadOp; att->stencil_load_op = pCreateInfo->pAttachments[i].stencilLoadOp;
att->final_layout = pCreateInfo->pAttachments[i].finalLayout; att->final_layout = pCreateInfo->pAttachments[i].finalLayout;
att->first_subpass_idx = UINT32_MAX; att->first_subpass_idx = UINT32_MAX;
bool is_zs = util_format_is_depth_or_stencil(vk_format_to_pipe(att->format )); bool is_zs = util_format_is_depth_or_stencil(lvp_vk_format_to_pipe_format( att->format));
pass->has_zs_attachment |= is_zs; pass->has_zs_attachment |= is_zs;
pass->has_color_attachment |= !is_zs; pass->has_color_attachment |= !is_zs;
} }
uint32_t subpass_attachment_count = 0; uint32_t subpass_attachment_count = 0;
for (uint32_t i = 0; i < pCreateInfo->subpassCount; i++) { for (uint32_t i = 0; i < pCreateInfo->subpassCount; i++) {
subpass_attachment_count += lvp_num_subpass_attachments2(&pCreateInfo->pSu bpasses[i]); subpass_attachment_count += lvp_num_subpass_attachments2(&pCreateInfo->pSu bpasses[i]);
} }
if (subpass_attachment_count) { if (subpass_attachment_count) {
pass->subpass_attachments = pass->subpass_attachments =
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)