/third_party/skia/third_party/externals/imgui/examples/example_emscripten_wgpu/ |
D | main.cpp | 205 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() 208 …color_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/ |
D | panvk_pass.c | 134 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()
|
D | panvk_cmd_buffer.c | 364 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()
|
D | panvk_private.h | 972 struct panvk_subpass_attachment *color_attachments; member
|
D | panvk_vX_meta_clear.c | 642 attachment = subpass->color_attachments[rt].idx; in panvk_per_arch()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_pass.c | 81 &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()
|
D | lvp_private.h | 275 struct lvp_subpass_attachment * color_attachments; member
|
D | lvp_execute.c | 1371 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/ |
D | radv_pass.c | 234 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()
|
D | radv_meta_resolve.c | 683 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()
|
D | radv_meta_clear.c | 380 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()
|
D | radv_meta_resolve_fs.c | 1090 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()
|
D | radv_pipeline.c | 481 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()
|
D | radv_cmd_buffer.c | 1138 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/ |
D | v3dv_pass.c | 62 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()
|
D | v3dvx_device.c | 251 uint32_t att_idx = subpass->color_attachments[i].attachment; in v3dX()
|
D | v3dvx_cmd_buffer.c | 195 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()
|
D | v3dv_cmd_buffer.c | 424 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()
|
D | v3dvx_pipeline.c | 102 pipeline->subpass->color_attachments[i].attachment; in pack_blend()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pass.c | 398 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/ |
D | anv_pass.c | 126 &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()
|
D | anv_pipeline.c | 538 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/ |
D | helpers.cpp | 614 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/ |
D | gl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp | 1576 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/ |
D | gstvkfullscreenquad.c | 281 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()
|