Home
last modified time | relevance | path

Searched refs:vp_as_scissor (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_viewport.c141 struct si_signed_scissor *vp_as_scissor) in si_emit_guardband() argument
149 vp.translate[0] = (vp_as_scissor->minx + vp_as_scissor->maxx) / 2.0; in si_emit_guardband()
150 vp.translate[1] = (vp_as_scissor->miny + vp_as_scissor->maxy) / 2.0; in si_emit_guardband()
151 vp.scale[0] = vp_as_scissor->maxx - vp.translate[0]; in si_emit_guardband()
152 vp.scale[1] = vp_as_scissor->maxy - vp.translate[1]; in si_emit_guardband()
155 if (vp_as_scissor->minx == vp_as_scissor->maxx) in si_emit_guardband()
157 if (vp_as_scissor->miny == vp_as_scissor->maxy) in si_emit_guardband()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_viewport.c186 struct r600_signed_scissor *vp_as_scissor) in r600_emit_guardband() argument
193 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()