[PATCH vkd3d 1/6] vkd3d: Change strip cut value FIXMEs to FIXME_ONCE.

Conor McCarthy cmccarthy at codeweavers.com
Thu Dec 9 23:07:09 CST 2021


These can generate many messages per frame in some games, e.g.
Control.

Signed-off-by: Conor McCarthy <cmccarthy at codeweavers.com>
---
 libs/vkd3d/command.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c
index 1db624e0..37159a7f 100644
--- a/libs/vkd3d/command.c
+++ b/libs/vkd3d/command.c
@@ -3070,7 +3070,7 @@ static void d3d12_command_list_check_index_buffer_strip_cut_value(struct d3d12_c
         case D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_0xFFFF:
             if (list->index_buffer_format != DXGI_FORMAT_R16_UINT)
             {
-                FIXME("Strip cut value 0xffff is not supported with index buffer format %#x.\n",
+                FIXME_ONCE("Strip cut value 0xffff is not supported with index buffer format %#x.\n",
                         list->index_buffer_format);
             }
             break;
@@ -3078,7 +3078,7 @@ static void d3d12_command_list_check_index_buffer_strip_cut_value(struct d3d12_c
         case D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_0xFFFFFFFF:
             if (list->index_buffer_format != DXGI_FORMAT_R32_UINT)
             {
-                FIXME("Strip cut value 0xffffffff is not supported with index buffer format %#x.\n",
+                FIXME_ONCE("Strip cut value 0xffffffff is not supported with index buffer format %#x.\n",
                         list->index_buffer_format);
             }
             break;
-- 
2.33.0




More information about the wine-devel mailing list