Lines Matching refs:pstipple
102 pipe_resource_reference(&ctx->pstipple.texture, nullptr);
103 pipe_sampler_view_reference(&ctx->pstipple.sampler_view, nullptr);
105 FREE(ctx->pstipple.sampler_cso);
1235 ctx->pstipple.texture = util_pstipple_create_stipple_texture(pctx, NULL);
1236 if (!ctx->pstipple.texture)
1239 ctx->pstipple.sampler_view = util_pstipple_create_sampler_view(pctx, ctx->pstipple.texture);
1240 if (!ctx->pstipple.sampler_view)
1243 ctx->pstipple.sampler_cso = (struct d3d12_sampler_state *)util_pstipple_create_sampler(pctx);
1244 if (!ctx->pstipple.sampler_cso)
1262 if (!memcmp(ctx->pstipple.pattern, ps->stipple, sizeof(ps->stipple)))
1265 memcpy(ctx->pstipple.pattern, ps->stipple, sizeof(ps->stipple));
1266 ctx->pstipple.enabled = !!memcmp(ps->stipple, undef, sizeof(ps->stipple)) &&
1268 if (ctx->pstipple.enabled)
1269 util_pstipple_update_stipple_texture(pctx, ctx->pstipple.texture, ps->stipple);