hk: assume largePoints always set

doesn't matter. this came from a Mesa audit around Vulkan features.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37240>
This commit is contained in:
Alyssa Rosenzweig 2025-09-08 15:29:31 -04:00 committed by Marge Bot
parent 6eac1cefd9
commit 162f07f80c

View file

@ -111,15 +111,6 @@ asahi_fill_vdm_command(struct hk_device *dev, struct hk_cs *cs,
c->vdm_ctrl_stream_base = cs->addr; c->vdm_ctrl_stream_base = cs->addr;
agx_pack(&c->ppp_ctrl, CR_PPP_CONTROL, cfg) { agx_pack(&c->ppp_ctrl, CR_PPP_CONTROL, cfg) {
/* If largePoints is not enabled, we optimize out point size writes so
* need to force points to have size 1.0 with this bit.
*
* If largePoints is enabled, we can't set this bit since our point size
* writes will get ignored.
*
* Yes, the hardware engineers messed this up. Dates back to IMG days.
*/
cfg.default_point_size = !dev->vk.enabled_features.largePoints;
cfg.enable_w_clamp = true; cfg.enable_w_clamp = true;
cfg.fixed_point_format = 1; cfg.fixed_point_format = 1;
} }