Home
last modified time | relevance | path

Searched refs:gfx_stages (Results 1 – 15 of 15) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_compiler.cpp256 struct d3d12_shader_selector *fs = ctx->gfx_stages[PIPE_SHADER_FRAGMENT]; in missing_dual_src_outputs()
296 struct d3d12_shader_selector *fs = ctx->gfx_stages[PIPE_SHADER_FRAGMENT]; in frag_result_color_lowering()
331 struct d3d12_shader_selector *fs = ctx->gfx_stages[PIPE_SHADER_FRAGMENT]; in manual_depth_range()
346 struct d3d12_shader_selector *vs = ctx->gfx_stages[PIPE_SHADER_VERTEX]; in fill_mode_lowered()
348 if ((ctx->gfx_stages[PIPE_SHADER_GEOMETRY] != NULL && in fill_mode_lowered()
349 !ctx->gfx_stages[PIPE_SHADER_GEOMETRY]->is_variant) || in fill_mode_lowered()
373 unsigned mask = ctx->gfx_stages[PIPE_SHADER_GEOMETRY]->initial->info.gs.active_stream_mask & ~1; in has_stream_out_for_streams()
386 struct d3d12_shader_selector *vs = ctx->gfx_stages[PIPE_SHADER_VERTEX]; in needs_point_sprite_lowering()
387 struct d3d12_shader_selector *gs = ctx->gfx_stages[PIPE_SHADER_GEOMETRY]; in needs_point_sprite_lowering()
411 if ((ctx->gfx_stages[PIPE_SHADER_GEOMETRY] != NULL && in cull_mode_lowered()
[all …]
Dd3d12_draw.cpp458 struct d3d12_shader_selector *shader = compute ? ctx->compute_state : ctx->gfx_stages[i]; in check_descriptors_left()
474 struct d3d12_shader_selector *shader = compute ? ctx->compute_state : ctx->gfx_stages[i]; in check_descriptors_left()
556 struct d3d12_shader_selector *shader_sel = ctx->gfx_stages[i]; in update_graphics_root_parameters()
735 struct d3d12_shader_selector *sel = ctx->gfx_stages[PIPE_SHADER_GEOMETRY]; in d3d12_last_vertex_stage()
737 sel = ctx->gfx_stages[PIPE_SHADER_TESS_EVAL]; in d3d12_last_vertex_stage()
739 sel = ctx->gfx_stages[PIPE_SHADER_VERTEX]; in d3d12_last_vertex_stage()
751 ctx->gfx_stages[PIPE_SHADER_VERTEX] == nullptr) in update_draw_indirect_with_sysvals()
763 …any |= (BITSET_TEST(ctx->gfx_stages[PIPE_SHADER_VERTEX]->initial->info.system_values_read, sysval)… in update_draw_indirect_with_sysvals()
835 ctx->gfx_stages[PIPE_SHADER_VERTEX] == nullptr) in update_draw_auto()
968 struct d3d12_shader *shader = ctx->gfx_stages[i] ? ctx->gfx_stages[i]->current : NULL; in d3d12_draw_vbo()
Dd3d12_blit.cpp545 util_blitter_save_fragment_shader(ctx->blitter, ctx->gfx_stages[PIPE_SHADER_FRAGMENT]); in util_blit_save_state()
546 util_blitter_save_vertex_shader(ctx->blitter, ctx->gfx_stages[PIPE_SHADER_VERTEX]); in util_blit_save_state()
547 util_blitter_save_geometry_shader(ctx->blitter, ctx->gfx_stages[PIPE_SHADER_GEOMETRY]); in util_blit_save_state()
548 util_blitter_save_tessctrl_shader(ctx->blitter, ctx->gfx_stages[PIPE_SHADER_TESS_CTRL]); in util_blit_save_state()
549 util_blitter_save_tesseval_shader(ctx->blitter, ctx->gfx_stages[PIPE_SHADER_TESS_EVAL]); in util_blit_save_state()
Dd3d12_context.h234 struct d3d12_shader_selector *gfx_stages[D3D12_GFX_SHADER_STAGES]; member
Dd3d12_root_signature.cpp249 if (!compute && ctx->gfx_stages[i]->so_info.num_outputs > 0) in fill_key()
Dd3d12_query.cpp345 struct d3d12_shader_selector *gs = ctx->gfx_stages[PIPE_SHADER_GEOMETRY]; in subquery_should_be_active()
Dd3d12_context.cpp1085 ctx->gfx_stages[stage] = shader; in bind_stage()
2605 struct d3d12_shader_selector *fs = ctx->gfx_stages[PIPE_SHADER_FRAGMENT]; in d3d12_need_zero_one_depth_range()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_program.c591 zs = ctx->gfx_stages[stage]; in zink_program_get_descriptor_usage()
627 zs = ctx->gfx_stages[stage]; in zink_program_descriptor_is_buffer()
966 if (ctx->gfx_stages[stage]) in bind_stage()
967 ctx->gfx_hash ^= ctx->gfx_stages[stage]->hash; in bind_stage()
968 ctx->gfx_stages[stage] = shader; in bind_stage()
969 ctx->gfx_dirty = ctx->gfx_stages[PIPE_SHADER_FRAGMENT] && ctx->gfx_stages[PIPE_SHADER_VERTEX]; in bind_stage()
973 ctx->gfx_hash ^= ctx->gfx_stages[stage]->hash; in bind_stage()
988 if (ctx->gfx_stages[PIPE_SHADER_GEOMETRY]) in bind_last_vertex_stage()
989 ctx->last_vertex_stage = ctx->gfx_stages[PIPE_SHADER_GEOMETRY]; in bind_last_vertex_stage()
990 else if (ctx->gfx_stages[PIPE_SHADER_TESS_EVAL]) in bind_last_vertex_stage()
[all …]
Dzink_blit.c393 util_blitter_save_vertex_shader(ctx->blitter, ctx->gfx_stages[PIPE_SHADER_VERTEX]); in zink_blit_begin()
394 util_blitter_save_tessctrl_shader(ctx->blitter, ctx->gfx_stages[PIPE_SHADER_TESS_CTRL]); in zink_blit_begin()
395 util_blitter_save_tesseval_shader(ctx->blitter, ctx->gfx_stages[PIPE_SHADER_TESS_EVAL]); in zink_blit_begin()
396 util_blitter_save_geometry_shader(ctx->blitter, ctx->gfx_stages[PIPE_SHADER_GEOMETRY]); in zink_blit_begin()
409 util_blitter_save_fragment_shader(ctx->blitter, ctx->gfx_stages[PIPE_SHADER_FRAGMENT]); in zink_blit_begin()
Dzink_descriptors.c1292 stages = &ctx->gfx_stages[0]; in update_push_ubo_descriptors()
1378 stages = &ctx->gfx_stages[0]; in update_descriptors_internal()
1686 …struct zink_shader *zs = shader == PIPE_SHADER_COMPUTE ? ctx->compute_stage : ctx->gfx_stages[shad… in update_descriptor_stage_state()
1738 if (ctx->gfx_stages[i]) { in update_descriptor_state()
1774 …ctx->dd->gfx_push_state[stage] = calc_descriptor_state_hash_ubo(ctx, ctx->gfx_stages[stage], stage… in zink_context_update_descriptor_states()
Dzink_context.h244 struct zink_shader *gfx_stages[ZINK_SHADER_COUNT]; member
Dzink_render_pass.c339 const uint64_t outputs_written = ctx->gfx_stages[PIPE_SHADER_FRAGMENT] ? in zink_init_zs_attachment()
340 … ctx->gfx_stages[PIPE_SHADER_FRAGMENT]->nir->info.outputs_written : 0; in zink_init_zs_attachment()
Dzink_draw.cpp196 struct hash_entry *entry = _mesa_hash_table_search_pre_hashed(ht, hash, ctx->gfx_stages); in update_gfx_program()
205 …prog = zink_create_gfx_program(ctx, ctx->gfx_stages, ctx->gfx_pipeline_state.dyn_state2.vertices_p… in update_gfx_program()
Dzink_query.c1071 bool have_gs = !!ctx->gfx_stages[PIPE_SHADER_GEOMETRY]; in zink_query_update_gs_states()
Dzink_context.c2134 if (!ctx->gfx_stages[PIPE_SHADER_FRAGMENT] || in zink_update_fbfetch()
2135 !ctx->gfx_stages[PIPE_SHADER_FRAGMENT]->nir->info.fs.uses_fbfetch_output) { in zink_update_fbfetch()