mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
nvk: do not overwrite test cases
without this the second test case was just overwritten by the following
cases
Fixes: 6a84d5439d ("nvk: Move the ANTI_ALIAS_CONTROL logic to the MME")
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30719>
This commit is contained in:
parent
d3ff76d27b
commit
de0f226f84
1 changed files with 3 additions and 0 deletions
|
|
@ -2347,6 +2347,7 @@ const struct nvk_mme_test_case nvk_mme_set_anti_alias_tests[] = {{
|
|||
{ NV9097_LOAD_CONSTANT_BUFFER(3), 0x800040 },
|
||||
{ }
|
||||
},
|
||||
}, {
|
||||
/* Single sample, minSampleShading = 0.25 */
|
||||
.init = (struct nvk_mme_mthd_data[]) {
|
||||
{ NVK_SET_MME_SCRATCH(ANTI_ALIAS), 0xf },
|
||||
|
|
@ -2364,6 +2365,7 @@ const struct nvk_mme_test_case nvk_mme_set_anti_alias_tests[] = {{
|
|||
{ NV9097_LOAD_CONSTANT_BUFFER(3), 0x800040 },
|
||||
{ }
|
||||
},
|
||||
}, {
|
||||
/* 8 samples, minSampleShading = 0.5 */
|
||||
.init = (struct nvk_mme_mthd_data[]) {
|
||||
{ NVK_SET_MME_SCRATCH(ANTI_ALIAS), 0x1 },
|
||||
|
|
@ -2381,6 +2383,7 @@ const struct nvk_mme_test_case nvk_mme_set_anti_alias_tests[] = {{
|
|||
{ NV9097_LOAD_CONSTANT_BUFFER(3), 0xc000c0 },
|
||||
{ }
|
||||
},
|
||||
}, {
|
||||
/* 8 samples, minSampleShading = 0.25 */
|
||||
.init = (struct nvk_mme_mthd_data[]) {
|
||||
{ NVK_SET_MME_SCRATCH(ANTI_ALIAS), 0x30 },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue