Home
last modified time | relevance | path

Searched refs:att_state (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/intel/vulkan/
DgenX_cmd_buffer.c229 struct anv_attachment_state *att_state = &cmd_state->attachments[att]; in color_attachment_compute_aux_usage() local
240 att_state->aux_usage = ISL_AUX_USAGE_NONE; in color_attachment_compute_aux_usage()
241 att_state->input_aux_usage = ISL_AUX_USAGE_NONE; in color_attachment_compute_aux_usage()
242 att_state->fast_clear = false; in color_attachment_compute_aux_usage()
245 att_state->aux_usage = ISL_AUX_USAGE_MCS; in color_attachment_compute_aux_usage()
246 att_state->input_aux_usage = ISL_AUX_USAGE_MCS; in color_attachment_compute_aux_usage()
247 att_state->fast_clear = false; in color_attachment_compute_aux_usage()
250 att_state->aux_usage = ISL_AUX_USAGE_CCS_E; in color_attachment_compute_aux_usage()
251 att_state->input_aux_usage = ISL_AUX_USAGE_CCS_E; in color_attachment_compute_aux_usage()
253 att_state->aux_usage = ISL_AUX_USAGE_CCS_D; in color_attachment_compute_aux_usage()
[all …]
Danv_blorp.c957 struct anv_attachment_state *att_state = in clear_color_attachment() local
962 binding_table_for_surface_state(cmd_buffer, att_state->color.state, in clear_color_attachment()
1171 struct anv_attachment_state *att_state = &cmd_state->attachments[a]; in anv_cmd_buffer_clear_subpass() local
1173 if (!att_state->pending_clear_aspects) in anv_cmd_buffer_clear_subpass()
1176 assert(att_state->pending_clear_aspects == VK_IMAGE_ASPECT_COLOR_BIT); in anv_cmd_buffer_clear_subpass()
1183 att_state->aux_usage, &surf); in anv_cmd_buffer_clear_subpass()
1185 if (att_state->fast_clear) { in anv_cmd_buffer_clear_subpass()
1186 surf.clear_color = vk_to_isl_color(att_state->clear_value.color); in anv_cmd_buffer_clear_subpass()
1226 vk_to_isl_color(att_state->clear_value.color), NULL); in anv_cmd_buffer_clear_subpass()
1229 att_state->pending_clear_aspects = 0; in anv_cmd_buffer_clear_subpass()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp615 VkPipelineColorBlendAttachmentState att_state = {}; in VKTriangleTest() local
616 att_state.dstAlphaBlendFactor = VK_BLEND_FACTOR_CONSTANT_COLOR; in VKTriangleTest()
617 att_state.blendEnable = VK_TRUE; in VKTriangleTest()
618 pipelineobj.AddColorAttachment(0, att_state); in VKTriangleTest()