This passes glsl-fs-pointcoord_gles2 from piglit.
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
spirv_builder_emit_builtin(&ctx->builder, var_id, SpvBuiltInFragCoord);
break;
+ case VARYING_SLOT_PNTC:
+ spirv_builder_emit_builtin(&ctx->builder, var_id, SpvBuiltInPointCoord);
+ break;
+
default:
spirv_builder_emit_location(&ctx->builder, var_id,
var->data.driver_location);
case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS:
return screen->props.limits.maxFragmentDualSrcAttachments;
+ case PIPE_CAP_POINT_SPRITE:
+ return 1;
+
case PIPE_CAP_MAX_RENDER_TARGETS:
return screen->props.limits.maxColorAttachments;