projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58bcebd
)
anv: Count surfaces for non-YCbCr images in GetDescriptorSetLayoutSupport
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 1 Mar 2019 20:01:08 +0000
(14:01 -0600)
committer
Jason Ekstrand
<jason@jlekstrand.net>
Mon, 4 Mar 2019 23:56:39 +0000
(23:56 +0000)
We were accidentally not counting those surfaces
Fixes: ddc4069122 "anv: Implement VK_KHR_maintenance3"
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_descriptor_set.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_descriptor_set.c
b/src/intel/vulkan/anv_descriptor_set.c
index a4e466cf3dd63185831d8a43a396f88b6ba71167..0df0c3825e5a412c7e7c56eee31b2c2185479dc9 100644
(file)
--- a/
src/intel/vulkan/anv_descriptor_set.c
+++ b/
src/intel/vulkan/anv_descriptor_set.c
@@
-58,6
+58,9
@@
void anv_GetDescriptorSetLayoutSupport(
anv_foreach_stage(s, binding->stageFlags)
surface_count[s] += sampler->n_planes;
}
+ } else {
+ anv_foreach_stage(s, binding->stageFlags)
+ surface_count[s] += binding->descriptorCount;
}
break;