Home
last modified time | relevance | path

Searched refs:color_attachments (Results 1 – 25 of 38) sorted by relevance

12

/third_party/skia/third_party/externals/imgui/examples/example_emscripten_wgpu/
Dmain.cpp205 WGPURenderPassColorAttachment color_attachments = {}; in main_loop() local
206 color_attachments.loadOp = WGPULoadOp_Clear; in main_loop()
207 color_attachments.storeOp = WGPUStoreOp_Store; in main_loop()
208color_attachments.clearColor = { clear_color.x * clear_color.w, clear_color.y * clear_color.w, cle… in main_loop()
209 color_attachments.view = wgpuSwapChainGetCurrentTextureView(wgpu_swap_chain); in main_loop()
212 render_pass_desc.colorAttachments = &color_attachments; in main_loop()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_pass.c134 subpass->color_attachments = p; in panvk_CreateRenderPass2()
140 subpass->color_attachments[j] = (struct panvk_subpass_attachment) { in panvk_CreateRenderPass2()
150 subpass->color_attachments[j].clear = true; in panvk_CreateRenderPass2()
152 subpass->color_attachments[j].preload = true; in panvk_CreateRenderPass2()
154 subpass->color_attachments[j].preload = true; in panvk_CreateRenderPass2()
Dpanvk_cmd_buffer.c364 int idx = subpass->color_attachments[cb].idx; in panvk_cmd_fb_info_set_subpass()
370 fbinfo->rts[cb].clear = subpass->color_attachments[cb].clear; in panvk_cmd_fb_info_set_subpass()
371 fbinfo->rts[cb].preload = subpass->color_attachments[cb].preload; in panvk_cmd_fb_info_set_subpass()
Dpanvk_private.h972 struct panvk_subpass_attachment *color_attachments; member
Dpanvk_vX_meta_clear.c642 attachment = subpass->color_attachments[rt].idx; in panvk_per_arch()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pass.c81 &subpass->color_attachments[j]; in lvp_render_pass_compile()
123 … if (subpass->color_attachments[k].attachment == subpass->input_attachments[j].attachment) { in lvp_render_pass_compile()
125 subpass->color_attachments[k].in_render_loop = true; in lvp_render_pass_compile()
238 subpass->color_attachments = p; in lvp_CreateRenderPass2()
242 subpass->color_attachments[j] = (struct lvp_subpass_attachment) { in lvp_CreateRenderPass2()
Dlvp_private.h275 struct lvp_subpass_attachment * color_attachments; member
Dlvp_execute.c1371 a = subpass->color_attachments[i].attachment; in subpass_needs_clear()
1432 uint32_t a = subpass->color_attachments[i].attachment; in render_subpass_clear()
1541 uint32_t a = subpass->color_attachments[i].attachment; in render_subpass_clear_fast()
1556 uint32_t a = subpass->color_attachments[i].attachment; in render_subpass_clear_fast()
1656 struct lvp_subpass_attachment src_att = subpass->color_attachments[i]; in render_pass_resolve()
1698 struct lvp_subpass_attachment *color_att = &subpass->color_attachments[i]; in begin_render_subpass()
2962 … struct lvp_subpass_attachment *color_att = &subpass->color_attachments[att->colorAttachment]; in handle_clear_attachments()
/third_party/mesa3d/src/amd/vulkan/
Dradv_pass.c234 struct radv_subpass_attachment *subpass_att = &subpass->color_attachments[j]; in radv_render_pass_compile()
273 if (subpass->color_attachments[k].attachment == in radv_render_pass_compile()
276 subpass->color_attachments[k].in_render_loop = true; in radv_render_pass_compile()
462 subpass->color_attachments = p; in radv_CreateRenderPass2()
466 subpass->color_attachments[j] = (struct radv_subpass_attachment){ in radv_CreateRenderPass2()
Dradv_meta_resolve.c683 struct radv_subpass_attachment src_att = subpass->color_attachments[i]; in radv_cmd_buffer_resolve_subpass_hw()
716 .color_attachments = (struct radv_subpass_attachment[]){src_att, dest_att}, in radv_cmd_buffer_resolve_subpass_hw()
812 struct radv_subpass_attachment src_att = subpass->color_attachments[i]; in radv_cmd_buffer_resolve_subpass()
870 struct radv_subpass_attachment src_att = subpass->color_attachments[i]; in radv_decompress_resolve_subpass_src()
Dradv_meta_clear.c380 const uint32_t pass_att = subpass->color_attachments[subpass_att].attachment; in emit_color_clear()
439 .color_attachments = in emit_color_clear()
440 (struct radv_subpass_attachment[]){subpass->color_attachments[clear_att->colorAttachment]}, in emit_color_clear()
785 .color_attachments = NULL, in emit_depthstencil_clear()
1935 const uint32_t pass_att = subpass->color_attachments[subpass_att].attachment; in emit_clear()
1939 VkImageLayout image_layout = subpass->color_attachments[subpass_att].layout; in emit_clear()
1940 bool in_render_loop = subpass->color_attachments[subpass_att].in_render_loop; in emit_clear()
1995 a = cmd_state->subpass->color_attachments[i].attachment; in radv_subpass_needs_clear()
2061 uint32_t a = cmd_state->subpass->color_attachments[i].attachment; in radv_cmd_buffer_clear_subpass()
Dradv_meta_resolve_fs.c1090 struct radv_subpass_attachment src_att = subpass->color_attachments[i]; in radv_cmd_buffer_resolve_subpass_fs()
1101 .color_attachments = (struct radv_subpass_attachment[]){dest_att}, in radv_cmd_buffer_resolve_subpass_fs()
1157 .color_attachments = NULL, in radv_depth_stencil_resolve_subpass_fs()
Dradv_pipeline.c481 if (subpass->color_attachments[i].attachment == VK_ATTACHMENT_UNUSED || in radv_pipeline_compute_spi_color_formats()
486 pass->attachments + subpass->color_attachments[i].attachment; in radv_pipeline_compute_spi_color_formats()
3992 if (subpass->color_attachments[i].attachment == VK_ATTACHMENT_UNUSED) in radv_gfx9_compute_bin_size()
3995 VkFormat format = pass->attachments[subpass->color_attachments[i].attachment].format; in radv_gfx9_compute_bin_size()
4070 if (subpass->color_attachments[i].attachment == VK_ATTACHMENT_UNUSED) in radv_gfx10_compute_bin_size()
4073 VkFormat format = pass->attachments[subpass->color_attachments[i].attachment].format; in radv_gfx10_compute_bin_size()
4145 if (subpass->color_attachments[i].attachment == VK_ATTACHMENT_UNUSED) in radv_pipeline_init_disabled_binning_state()
4148 VkFormat format = pass->attachments[subpass->color_attachments[i].attachment].format; in radv_pipeline_init_disabled_binning_state()
Dradv_cmd_buffer.c1138 if (subpass->color_attachments[i].attachment == VK_ATTACHMENT_UNUSED) { in radv_emit_rbplus_state()
1145 int idx = subpass->color_attachments[i].attachment; in radv_emit_rbplus_state()
2252 att_idx = subpass->color_attachments[cb_idx].attachment; in radv_update_bound_fast_clear_color()
2393 int idx = subpass->color_attachments[i].attachment; in radv_emit_fb_mip_change_flush()
2473 subpass->color_attachments[i].attachment == VK_ATTACHMENT_UNUSED) { in radv_emit_framebuffer_state()
2479 int idx = subpass->color_attachments[i].attachment; in radv_emit_framebuffer_state()
2481 VkImageLayout layout = subpass->color_attachments[i].layout; in radv_emit_framebuffer_state()
2482 bool in_render_loop = subpass->color_attachments[i].in_render_loop; in radv_emit_framebuffer_state()
5816 const uint32_t a = subpass->color_attachments[i].attachment; in radv_mark_noncoherent_rb()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pass.c62 uint32_t attachment_idx = subpass->color_attachments[j].attachment; in pass_find_subpass_range_for_attachments()
200 subpass->color_attachments = p; in v3dv_CreateRenderPass()
204 subpass->color_attachments[j] = (struct v3dv_subpass_attachment) { in v3dv_CreateRenderPass()
302 uint32_t attachment_idx = subpass->color_attachments[i].attachment; in subpass_get_granularity()
Dv3dvx_device.c251 uint32_t att_idx = subpass->color_attachments[i].attachment; in v3dX()
Dv3dvx_cmd_buffer.c195 uint32_t attachment_idx = subpass->color_attachments[i].attachment; in cmd_buffer_render_pass_emit_loads()
509 uint32_t attachment_idx = subpass->color_attachments[i].attachment; in cmd_buffer_render_pass_emit_stores()
841 uint32_t attachment_idx = subpass->color_attachments[i].attachment; in v3dX()
2263 struct v3dv_subpass_attachment *attachment = &subpass->color_attachments[rt]; in v3dX()
Dv3dv_cmd_buffer.c424 attachment_list_is_subset(prev_subpass->color_attachments, in cmd_buffer_can_merge_subpass()
426 subpass->color_attachments, in cmd_buffer_can_merge_subpass()
432 attachment_list_is_subset(subpass->color_attachments, in cmd_buffer_can_merge_subpass()
434 prev_subpass->color_attachments, in cmd_buffer_can_merge_subpass()
1010 subpass->color_attachments[i].attachment; in cmd_buffer_subpass_handle_pending_resolves()
1405 const uint32_t att_idx = subpass->color_attachments[i].attachment; in cmd_buffer_emit_subpass_clears()
Dv3dvx_pipeline.c102 pipeline->subpass->color_attachments[i].attachment; in pack_blend()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pass.c398 uint32_t a = subpass->color_attachments[j].attachment; in tu_render_pass_patch_input_gmem()
446 uint32_t a = subpass->color_attachments[j].attachment; in tu_render_pass_check_feedback_loop()
727 subpass->color_attachments = p; in tu_CreateRenderPass2()
732 subpass->color_attachments[j].attachment = a; in tu_CreateRenderPass2()
845 return subpass->color_attachments[index].attachment; in tu_subpass_get_attachment_to_resolve()
/third_party/mesa3d/src/intel/vulkan/
Danv_pass.c126 &subpass->color_attachments[j]; in anv_render_pass_compile()
399 subpass->color_attachments = subpass_attachments; in anv_CreateRenderPass2()
403 subpass->color_attachments[j] = (struct anv_subpass_attachment) { in anv_CreateRenderPass2()
Danv_pipeline.c538 if (subpass->color_attachments[i].attachment != VK_ATTACHMENT_UNUSED) in populate_wm_prog_key()
2083 if (subpass->color_attachments[i].attachment != VK_ATTACHMENT_UNUSED) { in copy_non_dynamic_state()
2285 if (subpass->color_attachments[i].attachment != VK_ATTACHMENT_UNUSED) in anv_pipeline_validate_create_info()
/third_party/mesa3d/src/amd/compiler/tests/
Dhelpers.cpp614 VkAttachmentReference color_attachments[16]; in create_graphics_pipeline() local
631 VkAttachmentReference *ref = &color_attachments[num_color_attachments]; in create_graphics_pipeline()
783 subpass.pColorAttachments = color_attachments; in create_graphics_pipeline()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp1576 std::vector<glw::GLuint> color_attachments(max_color_attachments); in iterate() local
1581 color_attachments[i] = GL_COLOR_ATTACHMENT0 + i; in iterate()
1619 gl.namedFramebufferDrawBuffers(framebuffer, max_color_attachments, &(color_attachments[0])); in iterate()
1776 std::vector<glw::GLuint> color_attachments(max_color_attachments); in iterate() local
1783 color_attachments[i] = GL_COLOR_ATTACHMENT0 + i; in iterate()
1830 gl.invalidateNamedFramebufferData(framebuffer, max_color_attachments, &(color_attachments[0])); in iterate()
1831 is_ok &= CheckErrorAndLog(&(color_attachments[0]), max_color_attachments); in iterate()
1835 gl.invalidateNamedFramebufferData(framebuffer, 1, &(color_attachments[i])); in iterate()
1836 is_ok &= CheckErrorAndLog(color_attachments[i]); in iterate()
1995 std::vector<glw::GLuint> color_attachments(max_color_attachments); in iterate() local
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkfullscreenquad.c281 VkAttachmentDescription color_attachments[GST_VIDEO_MAX_PLANES]; in create_render_pass() local
291 color_attachments[i] = (VkAttachmentDescription) { in create_render_pass()
321 .pAttachments = color_attachments, in create_render_pass()

12