Home
last modified time | relevance | path

Searched refs:view_index (Results 1 – 25 of 31) sorted by relevance

12

/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_multiview.c46 nir_ssa_def *view_index; member
74 if (state->view_index == NULL) { in build_view_index()
82 state->view_index = nir_imm_int(b, ffs(state->view_mask) - 1); in build_view_index()
97 state->view_index = compacted; in build_view_index()
127 state->view_index = nir_iand(b, shifted, nir_imm_int(b, 0xf)); in build_view_index()
146 state->view_index = nir_load_deref(b, deref); in build_view_index()
150 return state->view_index; in build_view_index()
253 nir_ssa_def *view_index = build_view_index(&state); in anv_nir_lower_multiview() local
257 assert(view_index->parent_instr->block == nir_start_block(entrypoint)); in anv_nir_lower_multiview()
258 b->cursor = nir_after_instr(view_index->parent_instr); in anv_nir_lower_multiview()
[all …]
DgenX_pipeline.c2460 u_foreach_bit(view_index, view_mask) {
2461 pr.RTAIOffset[i] = view_index;
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_multiview.c258 uint32_t view_index = u_bit_scan(&view_mask_temp); in nir_lower_multiview() local
260 nir_imm_int(&b, view_index), 1); in nir_lower_multiview()
290 nir_ssa_def *view_index = in nir_lower_multiview() local
312 nir_ssa_def_rewrite_uses(&intrin->dest.ssa, view_index); in nir_lower_multiview()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_priv.h250 inputs->layer + inputs->view_index); in lp_rast_shade_quads_all()
260 depth = lp_rast_get_depth_block_pointer(task, x, y, inputs->layer + inputs->view_index); in lp_rast_shade_quads_all()
276 task->thread_data.raster_state.view_index = inputs->view_index; in lp_rast_shade_quads_all()
Dlp_rast.c345 … tile_y + y, inputs->layer + inputs->view_index); in lp_rast_shade_tile()
357 tile_y + y, inputs->layer + inputs->view_index); in lp_rast_shade_tile()
368 task->thread_data.raster_state.view_index = inputs->view_index; in lp_rast_shade_tile()
452 inputs->layer + inputs->view_index); in lp_rast_shade_quads_mask_sample()
465 depth = lp_rast_get_depth_block_pointer(task, x, y, inputs->layer + inputs->view_index); in lp_rast_shade_quads_mask_sample()
477 task->thread_data.raster_state.view_index = inputs->view_index; in lp_rast_shade_quads_mask_sample()
Dlp_setup_point.c515 point->inputs.view_index = setup->view_index; in try_setup_point()
594 point->inputs.view_index = setup->view_index; in try_setup_point()
Dlp_setup_vbuf.c131 lp_setup_set_view_index(struct vbuf_render *vbr, unsigned view_index) in lp_setup_set_view_index() argument
133 lp_setup_context(vbr)->view_index = view_index; in lp_setup_set_view_index()
Dlp_setup_context.h78 uint view_index; member
Dlp_rast.h116 unsigned view_index:16; member
Dlp_setup_line.c666 line->inputs.view_index = setup->view_index; in try_setup_line()
Dlp_setup_rect.c359 rect->inputs.view_index = setup->view_index; in try_rect_cw()
Dlp_jit.h258 uint32_t view_index; member
Dlp_setup_tri.c462 tri->inputs.view_index = setup->view_index; in do_triangle_ccw()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_args.c580 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.view_index); in radv_declare_shader_args()
613 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.view_index); in radv_declare_shader_args()
624 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.view_index); in radv_declare_shader_args()
643 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.view_index); in radv_declare_shader_args()
681 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.view_index); in radv_declare_shader_args()
703 ac_add_arg(&args->ac, AC_ARG_SGPR, 1, AC_ARG_INT, &args->ac.view_index); in radv_declare_shader_args()
767 if (args->ac.view_index.used) in radv_declare_shader_args()
771 if (args->ac.view_index.used) in radv_declare_shader_args()
775 if (args->ac.view_index.used) in radv_declare_shader_args()
779 if (args->ac.view_index.used) in radv_declare_shader_args()
Dradv_nir_to_llvm.c1367 LLVMValueRef view_index = ac_get_arg(&ctx->ac, ctx->args->ac.view_index); in handle_vs_outputs_post() local
1368 LLVMBuildStore(ctx->ac.builder, ac_to_float(&ctx->ac, view_index), *tmp_out); in handle_vs_outputs_post()
1992 ac_to_float(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->ac.view_index)); in gfx10_ngg_gs_emit_epilogue_2()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pass.c76 uint32_t view_index = u_bit_scan(&view_mask); in pass_find_subpass_range_for_attachments() local
77 if (i < att->views[view_index].first_subpass) in pass_find_subpass_range_for_attachments()
78 att->views[view_index].first_subpass = i; in pass_find_subpass_range_for_attachments()
79 if (i > att->views[view_index].last_subpass) in pass_find_subpass_range_for_attachments()
80 att->views[view_index].last_subpass = i; in pass_find_subpass_range_for_attachments()
Dv3dv_uniforms.c542 cl_aligned_u32(&uniforms, job->cmd_buffer->state.view_index); in v3dv_write_uniforms_wg_offsets()
Dv3dv_cmd_buffer.c2573 uint32_t view_index) in cmd_buffer_set_view_index() argument
2575 cmd_buffer->state.view_index = view_index; in cmd_buffer_set_view_index()
Dv3dv_private.h1155 uint32_t view_index; member
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vbuf.h105 void (*set_view_index)( struct vbuf_render *, unsigned view_index );
Ddraw_llvm.c2026 system_values.view_index = LLVMGetParam(variant_func, 12); in draw_llvm_generate()
2823 system_values.view_index = LLVMGetParam(variant_func, 7); in draw_gs_llvm_generate()
2832 lp_build_name(system_values.view_index, "view_index"); in draw_gs_llvm_generate()
3355 LLVMValueRef view_index; in draw_tcs_llvm_generate() local
3414 view_index = LLVMGetParam(variant_func, 5); in draw_tcs_llvm_generate()
3421 lp_build_name(view_index, "view_index"); in draw_tcs_llvm_generate()
3459 args[5] = view_index; in draw_tcs_llvm_generate()
3502 view_index = LLVMGetParam(variant_coro, 5); in draw_tcs_llvm_generate()
3524 system_values.view_index = view_index; in draw_tcs_llvm_generate()
3922 LLVMValueRef view_index; in draw_tes_llvm_generate() local
[all …]
/third_party/mesa3d/src/amd/common/
Dac_shader_args.h143 struct ac_arg view_index; member
/third_party/mesa3d/src/freedreno/ir3/
Dir3_context.h88 *draw_id, *view_index; member
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi.h190 LLVMValueRef view_index; member
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_state.c1529 unsigned i, real_num_views = 0, view_index = 0; in r300_set_sampler_views() local
1577 r300_assign_texture_cache_region(view_index, real_num_views); in r300_set_sampler_views()
1578 view_index++; in r300_set_sampler_views()

12