summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Park <jpark37@lagfreegames.com>2020-12-14 10:33:22 -0800
committerMarge Bot <eric+marge@anholt.net>2021-01-26 09:16:15 +0000
commitcbcb9e7e1b52b49902f8144961f6f375c65a9ce1 (patch)
tree99c21f94fee4ffc45d69d1f69f64118861b3b51e
parent28c4960ca57e3988e44cdf03df999210d5f16c60 (diff)
radv: Fix struct initialization for MSVC
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7793>
-rw-r--r--src/amd/vulkan/radv_cmd_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
index 34468909989..6e7cef3213a 100644
--- a/src/amd/vulkan/radv_cmd_buffer.c
+++ b/src/amd/vulkan/radv_cmd_buffer.c
@@ -100,7 +100,7 @@ const struct radv_dynamic_state default_dynamic_state = {
.front_face = 0u,
.primitive_topology = 0u,
.fragment_shading_rate = {
- .size = (VkExtent2D) { 1u, 1u },
+ .size = { 1u, 1u },
.combiner_ops = { VK_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR,
VK_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_KHR
},