OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2078d2d
)
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
Dylan Baker
<dylan@pnwbakers.com>
Tue, 7 Jan 2020 17:20:49 +0000
(09:20 -0800)
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>
(cherry picked from commit
a435f002c40f5adc99d37e65cf6b8bd478dc8e71
)
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
01d59d9
..
80d945d
100644
(file)
--- a/
src/amd/vulkan/radv_device.c
+++ b/
src/amd/vulkan/radv_device.c
@@
-1215,7
+1215,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,