mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
nvk: Use 4 bits per value for the anti alias values
They should always fit in 3 bits but the masks we use set 4 bits at a time so it's probably good to be consistent. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30914>
This commit is contained in:
parent
6e63a79267
commit
5b69215ec2
1 changed files with 2 additions and 2 deletions
|
|
@ -2203,9 +2203,9 @@ nvk_mme_set_anti_alias(struct mme_builder *b)
|
|||
nvk_mme_store_scratch(b, ANTI_ALIAS, anti_alias);
|
||||
|
||||
struct mme_value rcp_mss_log2 =
|
||||
mme_merge(b, mme_zero(), anti_alias, 0, 3, 0);
|
||||
mme_merge(b, mme_zero(), anti_alias, 0, 4, 0);
|
||||
struct mme_value samples_log2 =
|
||||
mme_merge(b, mme_zero(), anti_alias, 0, 3, 4);
|
||||
mme_merge(b, mme_zero(), anti_alias, 0, 4, 4);
|
||||
mme_free_reg(b, anti_alias);
|
||||
|
||||
/* We've already done all the hard work on the CPU in
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue