projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be691ca
)
radv: Expose all sample counts for integer formats as well.
author
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Tue, 24 Dec 2019 13:44:03 +0000
(14:44 +0100)
committer
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Thu, 26 Dec 2019 09:48:29 +0000
(10:48 +0100)
Things work the same between float and integer.
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2261
CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index d56125d328e49f490d26a44007fe84010d2f8671..a1dffe90b8a0dc2d0a30627155f82a7aefaef336 100644
(file)
--- a/
src/amd/vulkan/radv_device.c
+++ b/
src/amd/vulkan/radv_device.c
@@
-1323,7
+1323,7
@@
void radv_GetPhysicalDeviceProperties(
.framebufferNoAttachmentsSampleCounts = sample_counts,
.maxColorAttachments = MAX_RTS,
.sampledImageColorSampleCounts = sample_counts,
- .sampledImageIntegerSampleCounts =
VK_SAMPLE_COUNT_1_BIT
,
+ .sampledImageIntegerSampleCounts =
sample_counts
,
.sampledImageDepthSampleCounts = sample_counts,
.sampledImageStencilSampleCounts = sample_counts,
.storageImageSampleCounts = pdevice->rad_info.chip_class >= GFX8 ? sample_counts : VK_SAMPLE_COUNT_1_BIT,