v3dv: fix comment for point_sprite_mask filed in shader key

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17486>
This commit is contained in:
Iago Toral Quiroga 2022-07-12 12:30:00 +02:00 committed by Marge Bot
parent 3a8ad28524
commit 1442861141
1 changed files with 2 additions and 5 deletions

View File

@ -1234,11 +1234,8 @@ pipeline_populate_v3d_fs_key(struct v3d_fs_key *key,
}
if (key->is_points) {
/* FIXME: The mask would need to be computed based on the shader
* inputs. On gallium it is done at st_atom_rasterizer
* (sprite_coord_enable). anv seems (need to confirm) to do that on
* genX_pipeline (PointSpriteTextureCoordinateEnable). Would be also
* better to have tests to guide filling the mask.
/* This mask represents state for GL_ARB_point_sprite which is not
* relevant to Vulkan.
*/
key->point_sprite_mask = 0;