Home
last modified time | relevance | path

Searched refs:frag_pos (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/spirv-cross/shaders-msl/vert/
Dno-disable-vertex-out.frag-output.vert10 layout (location = 1) out vec3 frag_pos;
15 frag_pos = gl_Position.xyz;
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders-msl/vert/
Dno-disable-vertex-out.frag-output.vert16 float3 frag_pos [[user(locn1)]];
25 out.frag_pos = out.gl_Position.xyz;
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-msl/vert/
Dno-disable-vertex-out.frag-output.vert16 float3 frag_pos [[user(locn1)]];
25 out.frag_pos = out.gl_Position.xyz;
/third_party/mesa3d/src/amd/common/
Dac_shader_args.h125 struct ac_arg frag_pos[4]; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_args.c422 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &args->ac.frag_pos[0]); in declare_ps_input_vgprs()
423 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &args->ac.frag_pos[1]); in declare_ps_input_vgprs()
424 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &args->ac.frag_pos[2]); in declare_ps_input_vgprs()
425 ac_add_arg(&args->ac, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &args->ac.frag_pos[3]); in declare_ps_input_vgprs()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c707 si_add_arg_checked(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &ctx->args.frag_pos[0], in si_init_shader_args()
709 si_add_arg_checked(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &ctx->args.frag_pos[1], in si_init_shader_args()
711 si_add_arg_checked(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &ctx->args.frag_pos[2], in si_init_shader_args()
713 si_add_arg_checked(&ctx->args, AC_ARG_VGPR, 1, AC_ARG_FLOAT, &ctx->args.frag_pos[3], in si_init_shader_args()
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c3281 pos[0] = ac_to_float(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->frag_pos[0])); in load_sample_pos()
3282 pos[1] = ac_to_float(&ctx->ac, ac_get_arg(&ctx->ac, ctx->args->frag_pos[1])); in load_sample_pos()
3577 ac_get_arg(&ctx->ac, ctx->args->frag_pos[0]), ac_get_arg(&ctx->ac, ctx->args->frag_pos[1]), in emit_load_frag_coord()
3578 ac_get_arg(&ctx->ac, ctx->args->frag_pos[2]), in emit_load_frag_coord()
3579 ac_build_fdiv(&ctx->ac, ctx->ac.f32_1, ac_get_arg(&ctx->ac, ctx->args->frag_pos[3]))}; in emit_load_frag_coord()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp5308 if (ctx->args->ac.frag_pos[i].used) in emit_load_frag_coord()
5309 vec->operands[i] = Operand(get_arg(ctx, ctx->args->ac.frag_pos[i])); in emit_load_frag_coord()
5316 bld.vop1(aco_opcode::v_rcp_f32, bld.def(v1), get_arg(ctx, ctx->args->ac.frag_pos[3])); in emit_load_frag_coord()
8401 Temp posx = get_arg(ctx, ctx->args->ac.frag_pos[0]); in visit_intrinsic()
8402 Temp posy = get_arg(ctx, ctx->args->ac.frag_pos[1]); in visit_intrinsic()