|
|
|
@ -333,7 +333,6 @@ iter_declaration(struct tgsi_iterate_context *iter, |
|
|
|
|
case TGSI_SEMANTIC_GENERIC: |
|
|
|
|
if (iter->processor.Processor == TGSI_PROCESSOR_FRAGMENT) { |
|
|
|
|
if (ctx->key->coord_replace & (1 << ctx->inputs[i].sid)) { |
|
|
|
|
fprintf(stderr,"replacing generic %d with coord\n", ctx->inputs[i].sid); |
|
|
|
|
name_prefix = "vec4(gl_PointCoord, 0.0, 1.0)"; |
|
|
|
|
ctx->inputs[i].glsl_predefined_no_emit = TRUE; |
|
|
|
|
ctx->inputs[i].glsl_no_index = TRUE; |
|
|
|
|