mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 08:20:12 +01:00
anv: Fix comment for anv_meta_state arrays
Array element i is for 2^i samples, not log2(i) samples.
This commit is contained in:
parent
2af3281fee
commit
61d3d49820
1 changed files with 2 additions and 2 deletions
|
|
@ -565,7 +565,7 @@ struct anv_meta_state {
|
|||
VkAllocationCallbacks alloc;
|
||||
|
||||
/**
|
||||
* Use array element `i` to clear an image with `log2(i)` samples.
|
||||
* Use array element `i` for images with `2^i` samples.
|
||||
*/
|
||||
struct {
|
||||
/**
|
||||
|
|
@ -601,7 +601,7 @@ struct anv_meta_state {
|
|||
|
||||
struct {
|
||||
/**
|
||||
* Use pipeline `i` to resolve an image with `log2(i)` samples.
|
||||
* Use pipeline `i` for images with `2^i` samples.
|
||||
*/
|
||||
VkPipeline pipelines[4];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue