[virglrenderer-devel] [PATCH 3/4] vrend_shader: move destination register translation

Dave Airlie airlied at gmail.com
Fri Jun 1 00:20:11 UTC 2018


One regression in this as well:


> +                 }
> +              } else {
> +                 snprintf(dsts[i], 255, "%s%s", ctx->outputs[j].glsl_name, ctx->outputs[j].override_no_wm ? "" : writemask);
> +                 dst_override_no_wm[i] = ctx->outputs[j].override_no_wm;
> +                 if (ctx->outputs[j].is_int) {
> +                    if (dtypeprefix == TYPE_CONVERSION_NONE)
> +                       *dtypeprefix = FLOAT_BITS_TO_INT;
The if statement should be *dtypeprefix as well.

Dave.


More information about the virglrenderer-devel mailing list