winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
July 2019
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
2 participants
228 discussions
Start a n
N
ew thread
Nikolay Sivov : winegstreamer: Add stub Video Processor MFT.
by Alexandre Julliard
05 Jul '19
05 Jul '19
Module: wine Branch: master Commit: 787ed808587bdae39b734a5673dbc8a0247b78ca URL:
https://source.winehq.org/git/wine.git/?a=commit;h=787ed808587bdae39b734a56…
Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Fri Jul 5 16:23:21 2019 +0300 winegstreamer: Add stub Video Processor MFT. Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mf/tests/mf.c | 30 ++- dlls/winegstreamer/Makefile.in | 7 +- dlls/winegstreamer/gst_private.h | 3 + dlls/winegstreamer/main.c | 14 +- dlls/winegstreamer/mfplat.c | 444 +++++++++++++++++++++++++++++++++++++++ dlls/winegstreamer/mfplat.idl | 26 +++ 6 files changed, 516 insertions(+), 8 deletions(-) Diff:
https://source.winehq.org/git/wine.git/?a=commitdiff;h=787ed808587bdae39b73…
1
0
0
0
Alexandre Julliard : mscoree: Build with msvcrt.
by Alexandre Julliard
05 Jul '19
05 Jul '19
Module: wine Branch: master Commit: f89ab56ef69097d00ff75eb3991dde8c0e8b54ed URL:
https://source.winehq.org/git/wine.git/?a=commit;h=f89ab56ef69097d00ff75eb3…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Jul 5 12:55:54 2019 +0200 mscoree: Build with msvcrt. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/mscoree/Makefile.in | 2 + dlls/mscoree/assembly.c | 1 - dlls/mscoree/config.c | 12 ++-- dlls/mscoree/corruntimehost.c | 25 ++++----- dlls/mscoree/metadata.c | 1 - dlls/mscoree/metahost.c | 124 +++++++++++++++++++++++------------------- dlls/mscoree/mscoree_main.c | 14 ++--- 7 files changed, 93 insertions(+), 86 deletions(-) Diff:
https://source.winehq.org/git/wine.git/?a=commitdiff;h=f89ab56ef69097d00ff7…
1
0
0
0
Alexandre Julliard : appwiz.cpl: Build with msvcrt.
by Alexandre Julliard
05 Jul '19
05 Jul '19
Module: wine Branch: master Commit: ed435371893605b2423e46d513480aec877b05df URL:
https://source.winehq.org/git/wine.git/?a=commit;h=ed435371893605b2423e46d5…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Jul 5 11:12:36 2019 +0200 appwiz.cpl: Build with msvcrt. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/appwiz.cpl/Makefile.in | 2 + dlls/appwiz.cpl/addons.c | 210 ++++++++++++++++++++------------------------ dlls/appwiz.cpl/appwiz.c | 14 ++- dlls/appwiz.cpl/appwiz.h | 4 +- 4 files changed, 106 insertions(+), 124 deletions(-) Diff:
https://source.winehq.org/git/wine.git/?a=commitdiff;h=ed435371893605b2423e…
1
0
0
0
Alexandre Julliard : setupapi: Build with msvcrt.
by Alexandre Julliard
05 Jul '19
05 Jul '19
Module: wine Branch: master Commit: 72d6759f3a86c24e2db0b6190f4d2fae642e487f URL:
https://source.winehq.org/git/wine.git/?a=commit;h=72d6759f3a86c24e2db0b619…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Jul 4 15:41:03 2019 +0200 setupapi: Build with msvcrt. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/setupapi/Makefile.in | 2 + dlls/setupapi/devinst.c | 148 ++++++++++++----------- dlls/setupapi/dialog.c | 10 +- dlls/setupapi/dirid.c | 25 ++-- dlls/setupapi/diskspace.c | 2 +- dlls/setupapi/fakedll.c | 279 ++++++++++++++++++++------------------------ dlls/setupapi/install.c | 99 ++++++++-------- dlls/setupapi/misc.c | 37 +++--- dlls/setupapi/parser.c | 66 +++++------ dlls/setupapi/query.c | 12 +- dlls/setupapi/queue.c | 97 ++++++++------- dlls/setupapi/setupcab.c | 11 +- dlls/setupapi/stringtable.c | 19 ++- 13 files changed, 386 insertions(+), 421 deletions(-) Diff:
https://source.winehq.org/git/wine.git/?a=commitdiff;h=72d6759f3a86c24e2db0…
1
0
0
0
Alexandre Julliard : wineboot: Build with msvcrt.
by Alexandre Julliard
05 Jul '19
05 Jul '19
Module: wine Branch: master Commit: 4a8483044ea346e09b4f2769fd1f869a6e4533f6 URL:
https://source.winehq.org/git/wine.git/?a=commit;h=4a8483044ea346e09b4f2769…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Jul 4 15:40:46 2019 +0200 wineboot: Build with msvcrt. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- programs/wineboot/Makefile.in | 2 + programs/wineboot/shutdown.c | 2 +- programs/wineboot/wineboot.c | 183 ++++++++++++++++++++++++------------------ 3 files changed, 107 insertions(+), 80 deletions(-) Diff:
https://source.winehq.org/git/wine.git/?a=commitdiff;h=4a8483044ea346e09b4f…
1
0
0
0
Alexandre Julliard : wineps.drv: Build with msvcrt.
by Alexandre Julliard
05 Jul '19
05 Jul '19
Module: wine Branch: master Commit: 6887af4f2bf8a863889f7110e9be78bbfc4fa3f3 URL:
https://source.winehq.org/git/wine.git/?a=commit;h=6887af4f2bf8a863889f7110…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Jul 5 09:24:14 2019 +0200 wineps.drv: Build with msvcrt. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wineps.drv/Makefile.in | 2 ++ dlls/wineps.drv/afm.c | 2 -- dlls/wineps.drv/builtin.c | 2 +- dlls/wineps.drv/driver.c | 8 ++--- dlls/wineps.drv/escape.c | 6 ---- dlls/wineps.drv/graphics.c | 13 ++----- dlls/wineps.drv/init.c | 12 +++---- dlls/wineps.drv/ppd.c | 3 -- dlls/wineps.drv/ps.c | 1 + dlls/wineps.drv/psdrv.h | 3 +- dlls/wineps.drv/type1.c | 3 -- dlls/wineps.drv/type1afm.c | 85 +++++++++++++++++++++------------------------ dlls/wineps.drv/type42.c | 3 -- 13 files changed, 54 insertions(+), 89 deletions(-) Diff:
https://source.winehq.org/git/wine.git/?a=commitdiff;h=6887af4f2bf8a863889f…
1
0
0
0
Alexandre Julliard : kernel32: Set environment variables for the various Wine paths.
by Alexandre Julliard
05 Jul '19
05 Jul '19
Module: wine Branch: master Commit: d5400af7825581b7cf174f65d951b527154e2987 URL:
https://source.winehq.org/git/wine.git/?a=commit;h=d5400af7825581b7cf174f65…
Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Jul 4 15:40:11 2019 +0200 kernel32: Set environment variables for the various Wine paths. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/kernel32/process.c | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c index 3e33fa7..7c40c34 100644 --- a/dlls/kernel32/process.c +++ b/dlls/kernel32/process.c @@ -676,6 +676,23 @@ static WCHAR *get_reg_value( HKEY hkey, const WCHAR *name ) return ret; } +/* set an environment variable for one of the wine path variables */ +static void set_wine_path_variable( const WCHAR *name, const char *unix_path ) +{ + UNICODE_STRING nt_name, var_name; + ANSI_STRING unix_name; + + RtlInitUnicodeString( &var_name, name ); + if (unix_path) + { + RtlInitAnsiString( &unix_name, unix_path ); + if (wine_unix_to_nt_file_name( &unix_name, &nt_name )) return; + RtlSetEnvironmentVariable( NULL, &var_name, &nt_name ); + RtlFreeUnicodeString( &nt_name ); + } + else RtlSetEnvironmentVariable( NULL, &var_name, NULL ); +} + /*********************************************************************** * set_additional_environment @@ -697,12 +714,31 @@ static void set_additional_environment(void) static const WCHAR allusersW[] = {'A','L','L','U','S','E','R','S','P','R','O','F','I','L','E',0}; static const WCHAR programdataW[] = {'P','r','o','g','r','a','m','D','a','t','a',0}; static const WCHAR publicW[] = {'P','U','B','L','I','C',0}; + static const WCHAR winedlldirW[] = {'W','I','N','E','D','L','L','D','I','R','%','u',0}; + static const WCHAR winehomedirW[] = {'W','I','N','E','H','O','M','E','D','I','R',0}; + static const WCHAR winedatadirW[] = {'W','I','N','E','D','A','T','A','D','I','R',0}; + static const WCHAR winebuilddirW[] = {'W','I','N','E','B','U','I','L','D','D','I','R',0}; + static const WCHAR wineconfigdirW[] = {'W','I','N','E','C','O','N','F','I','G','D','I','R',0}; OBJECT_ATTRIBUTES attr; UNICODE_STRING nameW; + const char *path; WCHAR *profile_dir = NULL, *program_data_dir = NULL, *public_dir = NULL; - WCHAR buf[MAX_COMPUTERNAME_LENGTH+1]; + WCHAR buf[32]; HANDLE hkey; - DWORD len; + DWORD len, i; + + /* wine paths */ + set_wine_path_variable( winedatadirW, wine_get_data_dir() ); + set_wine_path_variable( winehomedirW, getenv("HOME") ); + set_wine_path_variable( winebuilddirW, wine_get_build_dir() ); + set_wine_path_variable( wineconfigdirW, wine_get_config_dir() ); + for (i = 0; (path = wine_dll_enum_load_path( i )); i++) + { + sprintfW( buf, winedlldirW, i ); + set_wine_path_variable( buf, path ); + } + sprintfW( buf, winedlldirW, i ); + set_wine_path_variable( buf, NULL ); /* ComputerName */ len = ARRAY_SIZE( buf );
1
0
0
0
Józef Kucia : vkd3d: Add support for VK_EXT_texel_buffer_alignment.
by Alexandre Julliard
05 Jul '19
05 Jul '19
Module: vkd3d Branch: master Commit: 46ff2c276476698198ca319abe2f56f4bb1db529 URL:
https://source.winehq.org/git/vkd3d.git/?a=commit;h=46ff2c276476698198ca319…
Author: Józef Kucia <jkucia(a)codeweavers.com> Date: Thu Jul 4 16:41:10 2019 +0200 vkd3d: Add support for VK_EXT_texel_buffer_alignment. Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- README | 2 +- configure.ac | 2 +- libs/vkd3d/device.c | 42 ++++++++++++++++++++++++++++++++++++++---- libs/vkd3d/resource.c | 37 +++++++++++++++++++++++++++++++------ libs/vkd3d/vkd3d_private.h | 3 +++ 5 files changed, 74 insertions(+), 12 deletions(-) Diff:
https://source.winehq.org/git/vkd3d.git/?a=commitdiff;h=46ff2c276476698198c…
1
0
0
0
Józef Kucia : vkd3d-common: Move vkd3d_write_mask_is_contiguous() from vkd3d-shader.
by Alexandre Julliard
05 Jul '19
05 Jul '19
Module: vkd3d Branch: master Commit: eb340126b615b764254cc230a95575c563976221 URL:
https://source.winehq.org/git/vkd3d.git/?a=commit;h=eb340126b615b764254cc23…
Author: Józef Kucia <jkucia(a)codeweavers.com> Date: Thu Jul 4 16:41:09 2019 +0200 vkd3d-common: Move vkd3d_write_mask_is_contiguous() from vkd3d-shader. Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- include/private/vkd3d_common.h | 17 ++++++++++ libs/vkd3d-shader/spirv.c | 18 +---------- tests/vkd3d_common.c | 71 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+), 17 deletions(-) diff --git a/include/private/vkd3d_common.h b/include/private/vkd3d_common.h index c696f88..1ac8a63 100644 --- a/include/private/vkd3d_common.h +++ b/include/private/vkd3d_common.h @@ -23,6 +23,8 @@ #include "vkd3d_windows.h" #include <ctype.h> +#include <limits.h> +#include <stdbool.h> #ifndef ARRAY_SIZE # define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) @@ -58,6 +60,21 @@ static inline unsigned int vkd3d_popcount(unsigned int v) #endif } +static inline bool vkd3d_bitmask_is_contiguous(unsigned int mask) +{ + unsigned int i, j; + + for (i = 0, j = 0; i < sizeof(mask) * CHAR_BIT; ++i) + { + if (mask & (1u << i)) + ++j; + else if (j) + break; + } + + return vkd3d_popcount(mask) == j; +} + /* Undefined for x == 0. */ static inline unsigned int vkd3d_log2i(unsigned int x) { diff --git a/libs/vkd3d-shader/spirv.c b/libs/vkd3d-shader/spirv.c index ee40953..f17c7fa 100644 --- a/libs/vkd3d-shader/spirv.c +++ b/libs/vkd3d-shader/spirv.c @@ -3807,22 +3807,6 @@ static uint32_t vkd3d_dxbc_compiler_emit_builtin_variable(struct vkd3d_dxbc_comp return id; } -static bool vkd3d_write_mask_is_contiguous(unsigned int mask) -{ - unsigned int i, j; - - assert(mask); - for (i = 0, j = 0; i < VKD3D_VEC4_SIZE; ++i) - { - if (mask & (1u << i)) - ++j; - else if (j) - break; - } - - return vkd3d_write_mask_component_count(mask) == j; -} - static bool needs_private_io_variable(const struct vkd3d_shader_signature *signature, unsigned int reg_idx, const struct vkd3d_spirv_builtin *builtin, unsigned int *component_count, unsigned int *out_write_mask) @@ -3854,7 +3838,7 @@ static bool needs_private_io_variable(const struct vkd3d_shader_signature *signa if (builtin || have_sysval) return true; - if (!vkd3d_write_mask_is_contiguous(write_mask)) + if (!vkd3d_bitmask_is_contiguous(write_mask)) { FIXME("Write mask %#x is non-contiguous.\n", write_mask); return true; diff --git a/tests/vkd3d_common.c b/tests/vkd3d_common.c index 379c8b0..85f1716 100644 --- a/tests/vkd3d_common.c +++ b/tests/vkd3d_common.c @@ -43,7 +43,78 @@ static void test_parse_version(void) check_version("2.3.0", 2, 3); } +static void check_contiguous(uint32_t mask, bool expected_result) +{ + bool r = vkd3d_bitmask_is_contiguous(mask); + ok(r == expected_result, "Got %#x for bitmask %#"PRIx32".\n", r, mask); +} + +static void test_bitmask_is_contiguous(void) +{ + check_contiguous(0x00000000, true); + + check_contiguous(0x00000001, true); + check_contiguous(0x00000002, true); + check_contiguous(0x00000003, true); + check_contiguous(0x00000004, true); + check_contiguous(0x00000005, false); + check_contiguous(0x00000006, true); + check_contiguous(0x00000007, true); + check_contiguous(0x00000008, true); + check_contiguous(0x00000009, false); + check_contiguous(0x0000000a, false); + check_contiguous(0x0000000b, false); + check_contiguous(0x0000000c, true); + check_contiguous(0x0000000d, false); + check_contiguous(0x0000000e, true); + check_contiguous(0x0000000f, true); + + check_contiguous(0x10000000, true); + check_contiguous(0x20000000, true); + check_contiguous(0x30000000, true); + check_contiguous(0x40000000, true); + check_contiguous(0x50000000, false); + check_contiguous(0x60000000, true); + check_contiguous(0x70000000, true); + check_contiguous(0x80000000, true); + check_contiguous(0x90000000, false); + check_contiguous(0xa0000000, false); + check_contiguous(0xb0000000, false); + check_contiguous(0xc0000000, true); + check_contiguous(0xd0000000, false); + check_contiguous(0xe0000000, true); + check_contiguous(0xf0000000, true); + + check_contiguous(0xf000000f, false); + check_contiguous(0x0f0000f0, false); + check_contiguous(0x00f00f00, false); + + check_contiguous(0x000000ff, true); + check_contiguous(0x00000ff0, true); + check_contiguous(0x0000ff00, true); + check_contiguous(0x000ff000, true); + check_contiguous(0x00ff0000, true); + check_contiguous(0xff000000, true); + + check_contiguous(0xfff00000, true); + check_contiguous(0xffff0000, true); + check_contiguous(0xffff0000, true); + check_contiguous(0xfffff000, true); + check_contiguous(0xffffff00, true); + check_contiguous(0xfffffff0, true); + check_contiguous(0xffffffff, true); + + check_contiguous(0x0000001c, true); + check_contiguous(0x000001c0, true); + check_contiguous(0x00001c00, true); + check_contiguous(0x0001c000, true); + check_contiguous(0x001c0000, true); + check_contiguous(0x01c00000, true); + check_contiguous(0x1c000000, true); +} + START_TEST(vkd3d_common) { run_test(test_parse_version); + run_test(test_bitmask_is_contiguous); }
1
0
0
0
Józef Kucia : vkd3d: Set VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT for upload buffers.
by Alexandre Julliard
05 Jul '19
05 Jul '19
Module: vkd3d Branch: master Commit: 8589935420b4934046911cb1928f0ee89d89912c URL:
https://source.winehq.org/git/vkd3d.git/?a=commit;h=8589935420b4934046911cb…
Author: Józef Kucia <jkucia(a)codeweavers.com> Date: Thu Jul 4 16:41:08 2019 +0200 vkd3d: Set VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT for upload buffers. Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- libs/vkd3d/resource.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/libs/vkd3d/resource.c b/libs/vkd3d/resource.c index f0864ab..9d56330 100644 --- a/libs/vkd3d/resource.c +++ b/libs/vkd3d/resource.c @@ -723,16 +723,13 @@ HRESULT vkd3d_create_buffer(struct d3d12_device *device, | VK_BUFFER_USAGE_VERTEX_BUFFER_BIT | VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT; - if (heap_type == D3D12_HEAP_TYPE_DEFAULT) - { - if (device->vk_info.EXT_conditional_rendering) - buffer_info.usage |= VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT; + if (device->vk_info.EXT_conditional_rendering) + buffer_info.usage |= VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT; - if (device->vk_info.EXT_transform_feedback) - { - buffer_info.usage |= VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT - | VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT; - } + if (heap_type == D3D12_HEAP_TYPE_DEFAULT && device->vk_info.EXT_transform_feedback) + { + buffer_info.usage |= VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT + | VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT; } if (heap_type == D3D12_HEAP_TYPE_UPLOAD)
1
0
0
0
← Newer
1
...
8
9
10
11
12
13
14
...
23
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Results per page:
10
25
50
100
200