} else {
assert (cso->type == PIPE_SHADER_IR_TGSI);
//tgsi_dump(cso->tokens, 0);
- s = tgsi_to_nir(cso->tokens, &midgard_nir_options);
+ s = tgsi_to_nir(cso->tokens, ctx->base.screen);
}
s->info.stage = type == JOB_TYPE_VERTEX ? MESA_SHADER_VERTEX : MESA_SHADER_FRAGMENT;
if (type == JOB_TYPE_VERTEX)
meta->varying_count += 1;
- /* gl_FragCoord does -not- eat an extra spot; it will be included in our count if we need it */
-
+ /* Note: gl_FragCoord does -not- eat an extra spot; it will be included
+ * in our count if we need it */
meta->midgard1.unknown2 = 8; /* XXX */