Searched refs:vp_as_scissor (Results 1 – 2 of 2) sorted by relevance
235 struct si_signed_scissor vp_as_scissor; in si_emit_guardband() local243 vp_as_scissor = ctx->viewports.as_scissor[0]; in si_emit_guardband()245 si_scissor_make_union(&vp_as_scissor, &ctx->viewports.as_scissor[i]); in si_emit_guardband()248 vp_as_scissor = ctx->viewports.as_scissor[0]; in si_emit_guardband()256 vp_as_scissor.quant_mode = SI_QUANT_MODE_16_8_FIXED_POINT_1_256TH; in si_emit_guardband()261 int hw_screen_offset_x = (vp_as_scissor.maxx + vp_as_scissor.minx) / 2; in si_emit_guardband()262 int hw_screen_offset_y = (vp_as_scissor.maxy + vp_as_scissor.miny) / 2; in si_emit_guardband()275 assert(vp_as_scissor.maxx <= max_viewport_size[vp_as_scissor.quant_mode] && in si_emit_guardband()276 vp_as_scissor.maxy <= max_viewport_size[vp_as_scissor.quant_mode]); in si_emit_guardband()286 vp_as_scissor.minx -= hw_screen_offset_x; in si_emit_guardband()[all …]
186 struct r600_signed_scissor *vp_as_scissor) in r600_emit_guardband() argument193 vp.translate[0] = (vp_as_scissor->minx + vp_as_scissor->maxx) / 2.0; in r600_emit_guardband()194 vp.translate[1] = (vp_as_scissor->miny + vp_as_scissor->maxy) / 2.0; in r600_emit_guardband()195 vp.scale[0] = vp_as_scissor->maxx - vp.translate[0]; in r600_emit_guardband()196 vp.scale[1] = vp_as_scissor->maxy - vp.translate[1]; in r600_emit_guardband()199 if (vp_as_scissor->minx == vp_as_scissor->maxx) in r600_emit_guardband()201 if (vp_as_scissor->miny == vp_as_scissor->maxy) in r600_emit_guardband()