• Home
  • Raw
  • Download

Lines Matching refs:dinfo

1673 …f, 255, "%s = %s(%s((%s %s %s))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype…
1674 …f(buf, 255, "%s = %s(%s(%s(%s))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype…
1675 …s = %s(%s((%s(%s(%s), %s(%s))))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype…
1677 …ring(dinfo.dstconv), get_string(dinfo.udstconv), op, get_string(sinfo.svec4), srcs[0], get_string(…
2056 struct dest_info *dinfo, in translate_tex() argument
2077 if (dinfo->dstconv != INT) in translate_tex()
2082 if (dinfo->dstconv != INT) in translate_tex()
2260 …string(dinfo->dstconv), get_string(dtypeprefix), tex_ext, srcs[sampler_index], get_string(txfi), s… in translate_tex()
2270 …%s, %s%s%s%s)) * %sshadmask%d + %sshadadd%d)%s));\n", dsts[0], get_string(dinfo->dstconv), get_str… in translate_tex()
2276 … dsts[0], get_string(dinfo->dstconv), get_string(dtypeprefix), srcs[sampler_index], srcs[0], get_w… in translate_tex()
2278 …[0], get_string(dinfo->dstconv), get_string(dtypeprefix), tex_ext, srcs[sampler_index], srcs[0], g… in translate_tex()
2434 struct dest_info *dinfo, in translate_load() argument
2449 const char *wm = dinfo->dst_override_no_wm[0] ? "" : writemask; in translate_load()
2657 struct dest_info *dinfo, in get_destination_info() argument
2674 dinfo->dtypeprefix = INT_BITS_TO_FLOAT; in get_destination_info()
2678 dinfo->dtypeprefix = UINT_BITS_TO_FLOAT; in get_destination_info()
2681 dinfo->dtypeprefix = INT_BITS_TO_FLOAT; in get_destination_info()
2691 dinfo->dst_override_no_wm[i] = false; in get_destination_info()
2715 dinfo->dstconv = DOUBLE; in get_destination_info()
2717 dinfo->dstconv = DVEC2; in get_destination_info()
2719 dinfo->dstconv = FLOAT + wm_idx - 2; in get_destination_info()
2720 dinfo->udstconv = UINT + wm_idx - 2; in get_destination_info()
2721 dinfo->idstconv = INT + wm_idx - 2; in get_destination_info()
2725 dinfo->dstconv = DVEC2; in get_destination_info()
2727 dinfo->dstconv = VEC4; in get_destination_info()
2728 dinfo->udstconv = UVEC4; in get_destination_info()
2729 dinfo->idstconv = IVEC4; in get_destination_info()
2760 dinfo->dtypeprefix = FLOAT_BITS_TO_INT; in get_destination_info()
2761 dinfo->dstconv = INT; in get_destination_info()
2783 dinfo->dst_override_no_wm[i] = ctx->outputs[j].override_no_wm; in get_destination_info()
2789 dinfo->dst_override_no_wm[i] = ctx->outputs[j].override_no_wm; in get_destination_info()
2792 dinfo->dst_override_no_wm[i] = ctx->outputs[j].override_no_wm; in get_destination_info()
2795 if (dinfo->dtypeprefix == TYPE_CONVERSION_NONE) in get_destination_info()
2796 dinfo->dtypeprefix = FLOAT_BITS_TO_INT; in get_destination_info()
2797 dinfo->dstconv = INT; in get_destination_info()
2800 dinfo->dstconv = FLOAT; in get_destination_info()
3291 struct dest_info dinfo = { 0 }; in iter_instruction() local
3319 ret = get_destination_info(ctx, inst, &dinfo, dsts, fp64_dsts, writemask); in iter_instruction()
3338 …snprintf(buf, 255, "%s = %s(dot(vec2(%s), vec2(%s)));\n", dsts[0], get_string(dinfo.dstconv), srcs… in iter_instruction()
3342 …snprintf(buf, 255, "%s = %s(dot(vec3(%s), vec3(%s)));\n", dsts[0], get_string(dinfo.dstconv), srcs… in iter_instruction()
3346 …snprintf(buf, 255, "%s = %s(dot(vec4(%s), vec4(%s)));\n", dsts[0], get_string(dinfo.dstconv), srcs… in iter_instruction()
3350 …55, "%s = %s(dot(vec4(vec3(%s), 1.0), vec4(%s)));\n", dsts[0], get_string(dinfo.dstconv), srcs[0],… in iter_instruction()
3357 …uf, 255, "%s = %s(%s(max(%s, %s)));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3364 …uf, 255, "%s = %s(%s(min(%s, %s)));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3404 …0.0, %s.y), clamp(%s.w, -128.0, 128.0)), 1.0)%s);\n", dsts[0], get_string(dinfo.dstconv), srcs[0],… in iter_instruction()
3416 …(%s.x)), %s.x - floor(%s.x), exp2(%s.x), 1.0)%s);\n", dsts[0], get_string(dinfo.dstconv), srcs[0],… in iter_instruction()
3420 …pow(2.0, floor(log2(%s.x))), log2(%s.x), 1.0)%s);\n", dsts[0], get_string(dinfo.dstconv), srcs[0],… in iter_instruction()
3432 …ntf(buf, 255, "%s = %s(vec4(cos(%s.x), sin(%s.x), 0, 1)%s);\n", dsts[0], get_string(dinfo.dstconv), in iter_instruction()
3455 snprintf(buf, 255, "%s = %s(1.0/(%s));\n", dsts[0], get_string(dinfo.dstconv), srcs[0]); in iter_instruction()
3459 snprintf(buf, 255, "%s = %s(1.0LF/(%s));\n", dsts[0], get_string(dinfo.dstconv), srcs[0]); in iter_instruction()
3493 … snprintf(buf, 255, "%s = %s(inversesqrt(%s.x));\n", dsts[0], get_string(dinfo.dstconv), srcs[0]); in iter_instruction()
3498 …rintf(buf, 255, "%s = %s(%s(%s%s));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3507 …ivec4((uvec4(%s) + uvec4(%s))))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3525 … %s(%s((uvec4(%s) * uvec4(%s)))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3529 …%s(%s((uvec4(%s) %% uvec4(%s)))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3533 … %s(%s((ivec4(%s) / ivec4(%s)))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3537 … %s(%s((uvec4(%s) / uvec4(%s)))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3550 …snprintf(buf, 255, "%s = %s((%s * %s + %s)%s);\n", dsts[0], get_string(dinfo.dstconv), srcs[0], sr… in iter_instruction()
3555 …12, "%s = %s(%s((%s * %s + %s)%s));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3585 ret = translate_tex(ctx, inst, &sinfo, &dinfo, srcs, dsts, writemask); in iter_instruction()
3600 …snprintf(buf, 255, "%s = %s(ivec4(%s)%s);\n", dsts[0], get_string(dinfo.dstconv), srcs[0], writema… in iter_instruction()
3604 snprintf(buf, 255, "%s = %s(ivec4(%s));\n", dsts[0], get_string(dinfo.dstconv), srcs[0]); in iter_instruction()
3608 snprintf(buf, 255, "%s = %s(%s);\n", dsts[0], get_string(dinfo.dstconv), srcs[0]); in iter_instruction()
3612 …snprintf(buf, 255, "%s = %s(uvec4(%s)%s);\n", dsts[0], get_string(dinfo.dstconv), srcs[0], writema… in iter_instruction()
3616 snprintf(buf, 255, "%s = %s(uvec4(%s));\n", dsts[0], get_string(dinfo.dstconv), srcs[0]); in iter_instruction()
3620 …uf, 255, "%s = %s(%s(ivec4(%s))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3624 …%s = %s(%s(%s(%s)));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtypeprefix), get_st… in iter_instruction()
3628 …uf, 255, "%s = %s(%s(uvec4(%s))%s);\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3632 …%s = %s(%s(%s(%s)));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtypeprefix), get_st… in iter_instruction()
3636 …snprintf(buf, 255, "%s = %s(%s(%s));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtyp… in iter_instruction()
3640 …snprintf(buf, 255, "%s = %s(uintBitsToFloat(~(uvec4(%s))));\n", dsts[0], get_string(dinfo.dstconv)… in iter_instruction()
3644 …snprintf(buf, 255, "%s = %s(intBitsToFloat(-(ivec4(%s))));\n", dsts[0], get_string(dinfo.dstconv),… in iter_instruction()
3648 snprintf(buf, 255, "%s = %s(-%s);\n", dsts[0], get_string(dinfo.dstconv), srcs[0]); in iter_instruction()
3702 …snprintf(buf, 255, "%s = %s(pow(%s, %s));\n", dsts[0], get_string(dinfo.dstconv), srcs[0], srcs[1]… in iter_instruction()
3760 …snprintf(buf, 255, "%s = %s(cross(vec3(%s), vec3(%s)));\n", dsts[0], get_string(dinfo.dstconv), sr… in iter_instruction()
3807 …ec4(interpolateAtCentroid(%s))%s));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3812 …interpolateAtSample(%s, %s.x))%s));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3817 …nterpolateAtOffset(%s, %s.xy))%s));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3824 …(buf, 255, "%s = %s(%s(umul_temp));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3832 …(buf, 255, "%s = %s(%s(imul_temp));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3839 …xtract(%s, int(%s.x), int(%s.x))));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3844 …xtract(%s, int(%s.x), int(%s.x))));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3849 …Float(bitfieldInsert(%s, %s, int(%s), int(%s))));\n", dsts[0], get_string(dinfo.dstconv), srcs[0],… in iter_instruction()
3854 … "%s = %s(%s(bitfieldReverse(%s)));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3859 …f, 255, "%s = %s(%s(bitCount(%s)));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3864 …uf, 255, "%s = %s(%s(findLSB(%s)));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3870 …uf, 255, "%s = %s(%s(findMSB(%s)));\n", dsts[0], get_string(dinfo.dstconv), get_string(dinfo.dtype… in iter_instruction()
3920 ret = translate_load(ctx, inst, &sinfo, &dinfo, srcs, dsts, writemask); in iter_instruction()