Searched refs:fbfetch (Results 1 – 11 of 11) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_render_pass.c | 56 …VkImageLayout layout = rt->fbfetch ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OP… in create_render_pass() 62 if (rt->fbfetch) in create_render_pass() 164 …VkImageLayout layout = rt->fbfetch ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OP… in create_render_pass2() 173 if (rt->fbfetch) in create_render_pass2() 325 return rt->fbfetch ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in zink_render_pass_attachment_get_barrier_info()
|
D | zink_compiler.c | 470 nir_variable *fbfetch = nir_variable_clone(data, b->shader); in lower_fbfetch_instr() local 474 fbfetch->data.image.format = 0; in lower_fbfetch_instr() 475 fbfetch->data.index = 0; /* fix this if more than 1 fbfetch target is supported */ in lower_fbfetch_instr() 476 fbfetch->data.mode = nir_var_uniform; in lower_fbfetch_instr() 477 fbfetch->data.binding = ZINK_FBFETCH_BINDING; in lower_fbfetch_instr() 478 fbfetch->type = glsl_image_type(GLSL_SAMPLER_DIM_SUBPASS, false, GLSL_TYPE_FLOAT); in lower_fbfetch_instr() 479 nir_shader_add_variable(b->shader, fbfetch); in lower_fbfetch_instr() 480 nir_ssa_def *deref = &nir_build_deref_var(b, fbfetch)->dest.ssa; in lower_fbfetch_instr() 489 lower_fbfetch(nir_shader *shader, nir_variable **fbfetch) in lower_fbfetch() argument 493 *fbfetch = var; in lower_fbfetch() [all …]
|
D | zink_render_pass.h | 40 bool fbfetch; member
|
D | zink_compiler.h | 95 nir_variable *fbfetch; //for fs output member
|
D | zink_descriptors.c | 482 …_gfx_layout(struct zink_context *ctx, struct zink_descriptor_layout_key **layout_key, bool fbfetch) in create_gfx_layout() argument 490 if (fbfetch) { in create_gfx_layout() 497 …return create_layout(ctx, dsl_type, bindings, fbfetch ? ARRAY_SIZE(bindings) : ARRAY_SIZE(bindings… in create_gfx_layout() 1227 bool fbfetch = false; in update_push_ubo_descriptors() local 1274 wds[ZINK_SHADER_COUNT].pImageInfo = &ctx->di.fbfetch; in update_push_ubo_descriptors() 1275 fbfetch = true; in update_push_ubo_descriptors() 1279 VKSCR(UpdateDescriptorSets)(screen->dev, num_stages + !!fbfetch, wds, 0, NULL); in update_push_ubo_descriptors() 1420 if (pg->dd->fbfetch) { in zink_descriptors_update()
|
D | zink_descriptors.h | 149 bool fbfetch; member
|
D | zink_context.h | 325 VkDescriptorImageInfo fbfetch; member
|
D | zink_context.c | 1836 const bool had_fbfetch = ctx->di.fbfetch.imageLayout == VK_IMAGE_LAYOUT_GENERAL; in zink_update_fbfetch() 1843 ctx->di.fbfetch.imageLayout = VK_IMAGE_LAYOUT_UNDEFINED; in zink_update_fbfetch() 1844 ctx->di.fbfetch.imageView = zink_screen(ctx->base.screen)->info.rb2_feats.nullDescriptor ? in zink_update_fbfetch() 1853 VkImageView fbfetch = zink_csurface(ctx->fb_state.cbufs[0])->image_view; in zink_update_fbfetch() local 1854 changed |= fbfetch != ctx->di.fbfetch.imageView; in zink_update_fbfetch() 1855 ctx->di.fbfetch.imageView = zink_csurface(ctx->fb_state.cbufs[0])->image_view; in zink_update_fbfetch() 1857 ctx->di.fbfetch.imageLayout = VK_IMAGE_LAYOUT_GENERAL; in zink_update_fbfetch() 1912 state.rts[i].fbfetch = true; in get_render_pass() 4237 ctx->di.fbfetch.imageView = zink_csurface(ctx->dummy_surface[0])->image_view; in zink_context_create()
|
D | zink_descriptors_lazy.c | 148 pg->dd->fbfetch = true; in zink_descriptor_program_init_lazy() 726 entry->offset = offsetof(struct zink_context, di.fbfetch); in zink_descriptors_init_lazy()
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.3.0.rst | 3041 - zink: emit fbfetch variables as ntv input attachments 3042 - zink: add a compiler pass to translate fbfetch -> input attachments 3044 - zink: track fbfetch info on context, update as needed 3046 - zink: add an input attachment to the gfx push set layout to handle fbfetch 3048 - zink: add an input attachment to the gfx push set layout to handle fbfetch 3049 - zink: update push descriptor set anytime fbfetch changes 3051 - zink: enable fbfetch pipe cap 3216 - zink: remove fbfetch layout thingy from zs renderpass init 3291 - zink: flag renderpass change when toggling fbfetch 3304 - zink: set fbfetch state on lazy batch data when enabling it [all …]
|
D | 20.3.0.rst | 3473 - nir: gather information about fbfetch and dual source color
|