/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderBarrier.cpp | 914 const unsigned int invocation_id = n_patch_vertex; in verifyXFBBuffer() local 916 tcs_patch_result[invocation_id] = 0; in verifyXFBBuffer() 918 if ((invocation_id % 4) == 0) in verifyXFBBuffer() 920 tcs_patch_result[invocation_id] += tcs_data[invocation_id]; in verifyXFBBuffer() 921 tcs_patch_result[invocation_id] += tcs_data[invocation_id + 1]; in verifyXFBBuffer() 922 tcs_patch_result[invocation_id] += tcs_data[invocation_id + 2]; in verifyXFBBuffer() 923 tcs_patch_result[invocation_id] += tcs_data[invocation_id + 3]; in verifyXFBBuffer()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_tess.c | 284 LLVMValueRef rel_patch_id, LLVMValueRef invocation_id, in si_write_tess_factors() argument 309 LLVMBuildICmp(ctx->ac.builder, LLVMIntEQ, invocation_id, ctx->ac.i32_0, ""), 6503); in si_write_tess_factors() 447 LLVMValueRef rel_patch_id, invocation_id, tf_lds_offset; in si_llvm_tcs_build_end() local 450 invocation_id = si_unpack_param(ctx, ctx->args.tcs_rel_ids, 8, 5); in si_llvm_tcs_build_end() 467 values[0] = invocation_id; in si_llvm_tcs_build_end() 469 invocation_id = ac_build_phi(&ctx->ac, ctx->ac.i32, 2, values, blocks); in si_llvm_tcs_build_end() 495 invocation_id = ac_to_float(&ctx->ac, invocation_id); in si_llvm_tcs_build_end() 505 ret = LLVMBuildInsertValue(builder, ret, invocation_id, vgpr++, ""); in si_llvm_tcs_build_end() 644 struct ac_arg invocation_id; /* invocation ID within the patch */ in si_llvm_build_tcs_epilog() local 645 ac_add_arg(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_INT, &invocation_id); in si_llvm_build_tcs_epilog() [all …]
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_vec4_tcs.cpp | 77 invocation_id = src_reg(this, glsl_type::uint_type); in emit_prolog() 78 emit(TCS_OPCODE_GET_INSTANCE_ID, dst_reg(invocation_id)); in emit_prolog() 86 emit(CMP(dst_null_d(), invocation_id, in emit_prolog() 129 invocation_id)); in emit_thread_end() 245 invocation_id)); in nir_emit_intrinsic()
|
D | brw_vec4_tcs.h | 77 src_reg invocation_id; variable
|
D | brw_fs.h | 422 fs_reg invocation_id; variable
|
D | brw_fs.cpp | 6677 invocation_id = bld.vgrf(BRW_REGISTER_TYPE_UD); in set_tcs_invocation_id() 6681 bld.SHR(invocation_id, t, brw_imm_ud(instance_id_shift)); in set_tcs_invocation_id() 6693 invocation_id = channels_ud; in set_tcs_invocation_id() 6697 bld.ADD(invocation_id, instance_times_8, channels_ud); in set_tcs_invocation_id() 6735 bld.CMP(bld.null_reg_ud(), invocation_id, in run_tcs()
|
D | brw_fs_nir.cpp | 2858 bld.MOV(retype(dst, invocation_id.type), invocation_id); in nir_emit_tcs_intrinsic()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_tcs_variant.cpp | 82 nir_ssa_def *invocation_id = nir_load_invocation_id(&b); in create_tess_ctrl_shader_variant() local 104 nir_if *start_block = nir_push_if(&b, nir_ieq(&b, invocation_id, nir_imm_int(&b, i))); in create_tess_ctrl_shader_variant() 105 …_deref_instr *in_array_var = nir_build_deref_array(&b, nir_build_deref_var(&b, in), invocation_id); in create_tess_ctrl_shader_variant()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_lower_tess_io.cpp | 500 auto invocation_id = nir_intrinsic_instr_create(b->shader, nir_intrinsic_load_invocation_id); in r600_append_tcs_TF_emission() local 501 nir_ssa_dest_init(&invocation_id->instr, &invocation_id->dest, in r600_append_tcs_TF_emission() 503 nir_builder_instr_insert(b, &invocation_id->instr); in r600_append_tcs_TF_emission() 505 nir_push_if(b, nir_ieq_imm(b, &invocation_id->dest.ssa, 0)); in r600_append_tcs_TF_emission()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_gs.h | 99 unsigned invocation_id; member
|
D | draw_gs.c | 216 machine->SystemValue[i].xyzw[0].i[j] = shader->invocation_id; in tgsi_gs_run() 402 shader->invocation_id, in llvm_gs_run() 426 shader->invocation_id = invocation; in gs_flush()
|
D | draw_llvm.h | 474 unsigned invocation_id,
|
D | draw_llvm.c | 2806 system_values.invocation_id = LLVMGetParam(variant_func, 6); in draw_gs_llvm_generate() 2815 lp_build_name(system_values.invocation_id, "invocation_id"); in draw_gs_llvm_generate() 3511 system_values.invocation_id = invocvec; in draw_tcs_llvm_generate()
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
D | engine_vulkan_debugger.cc | 990 auto invocation_id = key.data.global_invocation_id; in OnBreakpointHit() local 992 if (FindGlobalInvocationId(thread_id, invocation_id, &lane)) { in OnBreakpointHit() 994 invocation_id.x, invocation_id.y, invocation_id.z); in OnBreakpointHit()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_nir_lower_tess_io_to_mem.c | 562 nir_ssa_def *invocation_id = nir_load_invocation_id(b); in hs_emit_write_tess_factors() local 565 nir_if *invocation_id_zero = nir_push_if(b, nir_ieq_imm(b, invocation_id, 0)); in hs_emit_write_tess_factors()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi.h | 173 LLVMValueRef invocation_id; member
|
D | lp_bld_nir_soa.c | 1793 result[0] = bld->system_values.invocation_id; in emit_sysval_intrin() 1795 … result[0] = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.invocation_id); in emit_sysval_intrin()
|
D | lp_bld_tgsi_soa.c | 1520 res = bld->system_values.invocation_id; in emit_fetch_system_value() 1522 res = lp_build_broadcast_scalar(&bld_base->uint_bld, bld->system_values.invocation_id); in emit_fetch_system_value()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_compiler.c | 3339 nir_ssa_def *invocation_id = nir_load_invocation_id(&b); in zink_shader_tcs_create() local 3363 …_deref_instr *in_array_var = nir_build_deref_array(&b, nir_build_deref_var(&b, in), invocation_id); in zink_shader_tcs_create() 3365 …eref_instr *out_array_var = nir_build_deref_array(&b, nir_build_deref_var(&b, out), invocation_id); in zink_shader_tcs_create()
|
/third_party/skia/third_party/externals/spirv-cross/ |
D | spirv_glsl.cpp | 3672 uint32_t invocation_id = 0; in emit_output_variable_initializer() local 3683 invocation_id = ids + 1; in emit_output_variable_initializer() 3701 uint32_t indices[2] = { invocation_id, member_index_id }; in emit_output_variable_initializer()
|