v3d: emit CLIPPER_XY_SCALING for v71
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
This commit is contained in:
parent
6561f58b0d
commit
12e968046c
1 changed files with 6 additions and 1 deletions
|
|
@ -577,7 +577,12 @@ v3dX(emit_state)(struct pipe_context *pctx)
|
|||
}
|
||||
#endif
|
||||
#if V3D_VERSION >= 71
|
||||
unreachable("HW generation 71 not supported yet.");
|
||||
cl_emit(&job->bcl, CLIPPER_XY_SCALING, clip) {
|
||||
clip.viewport_half_width_in_1_64th_of_pixel =
|
||||
v3d->viewport.scale[0] * 64.0f;
|
||||
clip.viewport_half_height_in_1_64th_of_pixel =
|
||||
v3d->viewport.scale[1] * 64.0f;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue