mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 07:38:10 +02:00
v3d: Don't handle PIPE_SPRITE_COORD_UPPER_LEFT twice
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12524>
This commit is contained in:
parent
53ae5c3aae
commit
7bf707f6d6
1 changed files with 2 additions and 3 deletions
|
|
@ -600,9 +600,8 @@ v3d_update_compiled_fs(struct v3d_context *v3d, uint8_t prim_mode)
|
|||
if (key->is_points) {
|
||||
key->point_sprite_mask =
|
||||
v3d->rasterizer->base.sprite_coord_enable;
|
||||
key->point_coord_upper_left =
|
||||
(v3d->rasterizer->base.sprite_coord_mode ==
|
||||
PIPE_SPRITE_COORD_UPPER_LEFT);
|
||||
/* this is handled by lower_wpos_pntc */
|
||||
key->point_coord_upper_left = false;
|
||||
}
|
||||
|
||||
struct v3d_compiled_shader *old_fs = v3d->prog.fs;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue