projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2af3281
)
anv: Fix comment for anv_meta_state arrays
author
Chad Versace
<chad.versace@intel.com>
Thu, 28 Jan 2016 01:22:20 +0000
(17:22 -0800)
committer
Chad Versace
<chad.versace@intel.com>
Thu, 28 Jan 2016 02:32:05 +0000
(18:32 -0800)
Array element i is for 2^i samples, not log2(i) samples.
src/vulkan/anv_private.h
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_private.h
b/src/vulkan/anv_private.h
index 43d4781dc205b2416e7d6f11a5d90d5f64a53621..e328d3dcd714c2c49b328f83af5a6b054bf25134 100644
(file)
--- a/
src/vulkan/anv_private.h
+++ b/
src/vulkan/anv_private.h
@@
-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];