Lines Matching refs:vc4
29 struct vc4_context *vc4 = vc4_context(pctx);
30 struct vc4_job *job = vc4->job;
32 if (vc4->dirty & (VC4_DIRTY_SCISSOR | VC4_DIRTY_VIEWPORT |
34 float *vpscale = vc4->viewport.scale;
35 float *vptranslate = vc4->viewport.translate;
50 if (!vc4->rasterizer->base.scissor) {
56 minx = MAX2(vp_minx, vc4->scissor.minx);
57 miny = MAX2(vp_miny, vc4->scissor.miny);
58 maxx = MAX2(MIN2(vp_maxx, vc4->scissor.maxx), minx);
59 maxy = MAX2(MIN2(vp_maxy, vc4->scissor.maxy), miny);
75 if (vc4->dirty & (VC4_DIRTY_RASTERIZER |
91 if (job->msaa || vc4->prog.fs->disable_early_z)
96 * the samples == 1 case, where vc4 doesn't do any
106 (vc4->rasterizer->config_bits[0] |
107 vc4->zsa->config_bits[0]) & rasosm_mask_out);
109 vc4->rasterizer->config_bits[1] |
110 vc4->zsa->config_bits[1]);
112 (vc4->rasterizer->config_bits[2] |
113 vc4->zsa->config_bits[2]) & ez_enable_mask_out);
117 if (vc4->dirty & VC4_DIRTY_RASTERIZER) {
118 cl_emit_prepacked(&job->bcl, &vc4->rasterizer->packed);
121 if (vc4->dirty & VC4_DIRTY_VIEWPORT) {
124 vc4->viewport.scale[0] * 16.0f;
126 vc4->viewport.scale[1] * 16.0f;
131 vc4->viewport.translate[2];
133 vc4->viewport.scale[2];
138 vc4->viewport.translate[0];
140 vc4->viewport.translate[1];
144 if (vc4->dirty & VC4_DIRTY_FLAT_SHADE_FLAGS) {
146 if (vc4->rasterizer->base.flatshade)
148 vc4->prog.fs->color_inputs;