From 108bcbb78a9a7b7d22ff93182c9ddb0a26590b33 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Mon, 21 Mar 2016 18:28:59 +0100 Subject: [PATCH] Added patch to silence noisy FIXME in wined3d_texture_add_dirty_region. --- patches/patchinstall.sh | 4 ++- ...extremely-noisy-FIXME-in-wined3d_tex.patch | 26 +++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 patches/wined3d-Silence_FIXMEs/0006-wined3d-Silence-extremely-noisy-FIXME-in-wined3d_tex.patch diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index 0ca91211..bcf7beb7 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -7182,7 +7182,7 @@ fi # Patchset wined3d-Silence_FIXMEs # | # | Modified files: -# | * dlls/wined3d/resource.c, dlls/wined3d/state.c, dlls/wined3d/surface.c, dlls/wined3d/swapchain.c +# | * dlls/wined3d/resource.c, dlls/wined3d/state.c, dlls/wined3d/surface.c, dlls/wined3d/swapchain.c, dlls/wined3d/texture.c # | if test "$enable_wined3d_Silence_FIXMEs" -eq 1; then patch_apply wined3d-Silence_FIXMEs/0001-wined3d-Silence-repeated-Unhandled-blend-factor-0-me.patch @@ -7190,12 +7190,14 @@ if test "$enable_wined3d_Silence_FIXMEs" -eq 1; then patch_apply wined3d-Silence_FIXMEs/0003-wined3d-Silence-repeated-resource_check_usage-FIXME.patch patch_apply wined3d-Silence_FIXMEs/0004-wined3d-Print-FIXME-only-once-in-surface_cpu_blt.patch patch_apply wined3d-Silence_FIXMEs/0005-wined3d-Silence-repeated-wined3d_swapchain_present-F.patch + patch_apply wined3d-Silence_FIXMEs/0006-wined3d-Silence-extremely-noisy-FIXME-in-wined3d_tex.patch ( echo '+ { "Sebastian Lackner", "wined3d: Silence repeated '\''Unhandled blend factor 0'\'' messages.", 1 },'; echo '+ { "Christian Costa", "wined3d: Display FIXME for cmp function 0 only once.", 1 },'; echo '+ { "Erich E. Hoover", "wined3d: Silence repeated resource_check_usage FIXME.", 2 },'; echo '+ { "Christian Costa", "wined3d: Print FIXME only once in surface_cpu_blt.", 1 },'; echo '+ { "Sebastian Lackner", "wined3d: Silence repeated wined3d_swapchain_present FIXME.", 1 },'; + echo '+ { "Sebastian Lackner", "wined3d: Silence extremely noisy FIXME in wined3d_texture_add_dirty_region.", 1 },'; ) >> "$patchlist" fi diff --git a/patches/wined3d-Silence_FIXMEs/0006-wined3d-Silence-extremely-noisy-FIXME-in-wined3d_tex.patch b/patches/wined3d-Silence_FIXMEs/0006-wined3d-Silence-extremely-noisy-FIXME-in-wined3d_tex.patch new file mode 100644 index 00000000..52e50fb3 --- /dev/null +++ b/patches/wined3d-Silence_FIXMEs/0006-wined3d-Silence-extremely-noisy-FIXME-in-wined3d_tex.patch @@ -0,0 +1,26 @@ +From 8ab4cc3db3686130a15d6698675c836cebf5f78f Mon Sep 17 00:00:00 2001 +From: Sebastian Lackner +Date: Mon, 21 Mar 2016 18:27:59 +0100 +Subject: wined3d: Silence extremely noisy FIXME in + wined3d_texture_add_dirty_region. + +--- + dlls/wined3d/texture.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c +index 4d2a94f..853564e 100644 +--- a/dlls/wined3d/texture.c ++++ b/dlls/wined3d/texture.c +@@ -898,7 +898,7 @@ HRESULT CDECL wined3d_texture_add_dirty_region(struct wined3d_texture *texture, + } + + if (dirty_region) +- FIXME("Ignoring dirty_region %s.\n", debug_box(dirty_region)); ++ WARN("Ignoring dirty_region %s.\n", debug_box(dirty_region)); + + context = context_acquire(texture->resource.device, NULL); + if (!texture->texture_ops->texture_load_location(texture, sub_resource_idx, context, sub_resource->map_binding)) +-- +2.7.1 +