diff --git a/0001-Add-missing-D3D_CS_-variables.patch b/0001-Add-missing-D3D_CS_-variables.patch deleted file mode 100644 index 0de620c..0000000 --- a/0001-Add-missing-D3D_CS_-variables.patch +++ /dev/null @@ -1,193 +0,0 @@ -From cd61f9067b342c8fcf418d724dff4bccbebfaa78 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?=C4=B0smail=20D=C3=B6nmez?= -Date: Thu, 12 Jan 2017 08:46:53 +0100 -Subject: [PATCH] Add missing D3D_CS_* variables. -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: İsmail Dönmez ---- - mingw-w64-headers/direct-x/include/d3d11.h | 102 +++++++++++++++++++++++++++ - mingw-w64-headers/direct-x/include/d3d11.idl | 52 ++++++++++++++ - 2 files changed, 154 insertions(+) - -diff --git a/mingw-w64-headers/direct-x/include/d3d11.h b/mingw-w64-headers/direct-x/include/d3d11.h -index 52610b96..68ce51b1 100644 ---- a/mingw-w64-headers/direct-x/include/d3d11.h -+++ b/mingw-w64-headers/direct-x/include/d3d11.h -@@ -327,6 +327,108 @@ typedef interface ID3D11VideoProcessorInputView ID3D11VideoProcessorInputView; - - #define D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE (7) - -+#define D3D11_CS_4_X_BUCKET00_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (256) -+ -+#define D3D11_CS_4_X_BUCKET00_MAX_NUM_THREADS_PER_GROUP (64) -+ -+#define D3D11_CS_4_X_BUCKET01_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (240) -+ -+#define D3D11_CS_4_X_BUCKET01_MAX_NUM_THREADS_PER_GROUP (68) -+ -+#define D3D11_CS_4_X_BUCKET02_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (224) -+ -+#define D3D11_CS_4_X_BUCKET02_MAX_NUM_THREADS_PER_GROUP (72) -+ -+#define D3D11_CS_4_X_BUCKET03_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (208) -+ -+#define D3D11_CS_4_X_BUCKET03_MAX_NUM_THREADS_PER_GROUP (76) -+ -+#define D3D11_CS_4_X_BUCKET04_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (192) -+ -+#define D3D11_CS_4_X_BUCKET04_MAX_NUM_THREADS_PER_GROUP (84) -+ -+#define D3D11_CS_4_X_BUCKET05_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (176) -+ -+#define D3D11_CS_4_X_BUCKET05_MAX_NUM_THREADS_PER_GROUP (92) -+ -+#define D3D11_CS_4_X_BUCKET06_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (160) -+ -+#define D3D11_CS_4_X_BUCKET06_MAX_NUM_THREADS_PER_GROUP (100) -+ -+#define D3D11_CS_4_X_BUCKET07_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (144) -+ -+#define D3D11_CS_4_X_BUCKET07_MAX_NUM_THREADS_PER_GROUP (112) -+ -+#define D3D11_CS_4_X_BUCKET08_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (128) -+ -+#define D3D11_CS_4_X_BUCKET08_MAX_NUM_THREADS_PER_GROUP (128) -+ -+#define D3D11_CS_4_X_BUCKET09_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (112) -+ -+#define D3D11_CS_4_X_BUCKET09_MAX_NUM_THREADS_PER_GROUP (144) -+ -+#define D3D11_CS_4_X_BUCKET10_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (96) -+ -+#define D3D11_CS_4_X_BUCKET10_MAX_NUM_THREADS_PER_GROUP (168) -+ -+#define D3D11_CS_4_X_BUCKET11_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (80) -+ -+#define D3D11_CS_4_X_BUCKET11_MAX_NUM_THREADS_PER_GROUP (204) -+ -+#define D3D11_CS_4_X_BUCKET12_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (64) -+ -+#define D3D11_CS_4_X_BUCKET12_MAX_NUM_THREADS_PER_GROUP (256) -+ -+#define D3D11_CS_4_X_BUCKET13_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (48) -+ -+#define D3D11_CS_4_X_BUCKET13_MAX_NUM_THREADS_PER_GROUP (340) -+ -+#define D3D11_CS_4_X_BUCKET14_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (32) -+ -+#define D3D11_CS_4_X_BUCKET14_MAX_NUM_THREADS_PER_GROUP (512) -+ -+#define D3D11_CS_4_X_BUCKET15_MAX_BYTES_TGSM_WRITABLE_PER_THREAD (16) -+ -+#define D3D11_CS_4_X_BUCKET15_MAX_NUM_THREADS_PER_GROUP (768) -+ -+#define D3D11_CS_4_X_DISPATCH_MAX_THREAD_GROUPS_IN_Z_DIMENSION (1) -+ -+#define D3D11_CS_4_X_RAW_UAV_BYTE_ALIGNMENT (256) -+ -+#define D3D11_CS_4_X_THREAD_GROUP_MAX_THREADS_PER_GROUP (768) -+ -+#define D3D11_CS_4_X_THREAD_GROUP_MAX_X (768) -+ -+#define D3D11_CS_4_X_THREAD_GROUP_MAX_Y (768) -+ -+#define D3D11_CS_4_X_UAV_REGISTER_COUNT (1) -+ -+#define D3D11_CS_DISPATCH_MAX_THREAD_GROUPS_PER_DIMENSION (65535) -+ -+#define D3D11_CS_TGSM_REGISTER_COUNT (8192) -+ -+#define D3D11_CS_TGSM_REGISTER_READS_PER_INST (1) -+ -+#define D3D11_CS_TGSM_RESOURCE_REGISTER_COMPONENTS (1) -+ -+#define D3D11_CS_TGSM_RESOURCE_REGISTER_READ_PORTS (1) -+ -+#define D3D11_CS_THREAD_GROUP_MAX_THREADS_PER_GROUP (1024) -+ -+#define D3D11_CS_THREAD_GROUP_MAX_X (1024) -+ -+#define D3D11_CS_THREAD_GROUP_MAX_Y (1024) -+ -+#define D3D11_CS_THREAD_GROUP_MAX_Z (64) -+ -+#define D3D11_CS_THREAD_GROUP_MIN_X (1) -+ -+#define D3D11_CS_THREAD_GROUP_MIN_Y (1) -+ -+#define D3D11_CS_THREAD_GROUP_MIN_Z (1) -+ -+#define D3D11_CS_THREAD_LOCAL_TEMP_REGISTER_POOL (16384) -+ - #define D3D11_DEFAULT_DEPTH_BIAS (0) - - #define D3D11_DEFAULT_DEPTH_BIAS_CLAMP 0.0f -diff --git a/mingw-w64-headers/direct-x/include/d3d11.idl b/mingw-w64-headers/direct-x/include/d3d11.idl -index 3c39f041..68d6c717 100644 ---- a/mingw-w64-headers/direct-x/include/d3d11.idl -+++ b/mingw-w64-headers/direct-x/include/d3d11.idl -@@ -68,6 +68,58 @@ const INT D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN = -10; - const INT D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE = -8; - const UINT D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE = 7; - -+const UINT D3D11_CS_4_X_BUCKET00_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 256; -+const UINT D3D11_CS_4_X_BUCKET00_MAX_NUM_THREADS_PER_GROUP = 64; -+const UINT D3D11_CS_4_X_BUCKET01_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 240; -+const UINT D3D11_CS_4_X_BUCKET01_MAX_NUM_THREADS_PER_GROUP = 68; -+const UINT D3D11_CS_4_X_BUCKET02_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 224; -+const UINT D3D11_CS_4_X_BUCKET02_MAX_NUM_THREADS_PER_GROUP = 72; -+const UINT D3D11_CS_4_X_BUCKET03_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 208; -+const UINT D3D11_CS_4_X_BUCKET03_MAX_NUM_THREADS_PER_GROUP = 76; -+const UINT D3D11_CS_4_X_BUCKET04_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 192; -+const UINT D3D11_CS_4_X_BUCKET04_MAX_NUM_THREADS_PER_GROUP = 84; -+const UINT D3D11_CS_4_X_BUCKET05_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 176; -+const UINT D3D11_CS_4_X_BUCKET05_MAX_NUM_THREADS_PER_GROUP = 92; -+const UINT D3D11_CS_4_X_BUCKET06_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 160; -+const UINT D3D11_CS_4_X_BUCKET06_MAX_NUM_THREADS_PER_GROUP = 100; -+const UINT D3D11_CS_4_X_BUCKET07_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 144; -+const UINT D3D11_CS_4_X_BUCKET07_MAX_NUM_THREADS_PER_GROUP = 112; -+const UINT D3D11_CS_4_X_BUCKET08_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 128; -+const UINT D3D11_CS_4_X_BUCKET08_MAX_NUM_THREADS_PER_GROUP = 128; -+const UINT D3D11_CS_4_X_BUCKET09_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 112; -+const UINT D3D11_CS_4_X_BUCKET09_MAX_NUM_THREADS_PER_GROUP = 144; -+const UINT D3D11_CS_4_X_BUCKET10_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 96; -+const UINT D3D11_CS_4_X_BUCKET10_MAX_NUM_THREADS_PER_GROUP = 168; -+const UINT D3D11_CS_4_X_BUCKET11_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 80; -+const UINT D3D11_CS_4_X_BUCKET11_MAX_NUM_THREADS_PER_GROUP = 204; -+const UINT D3D11_CS_4_X_BUCKET12_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 64; -+const UINT D3D11_CS_4_X_BUCKET12_MAX_NUM_THREADS_PER_GROUP = 256; -+const UINT D3D11_CS_4_X_BUCKET13_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 48; -+const UINT D3D11_CS_4_X_BUCKET13_MAX_NUM_THREADS_PER_GROUP = 340; -+const UINT D3D11_CS_4_X_BUCKET14_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 32; -+const UINT D3D11_CS_4_X_BUCKET14_MAX_NUM_THREADS_PER_GROUP = 512; -+const UINT D3D11_CS_4_X_BUCKET15_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 16; -+const UINT D3D11_CS_4_X_BUCKET15_MAX_NUM_THREADS_PER_GROUP = 768; -+const UINT D3D11_CS_4_X_DISPATCH_MAX_THREAD_GROUPS_IN_Z_DIMENSION = 1; -+const UINT D3D11_CS_4_X_RAW_UAV_BYTE_ALIGNMENT = 256; -+const UINT D3D11_CS_4_X_THREAD_GROUP_MAX_THREADS_PER_GROUP = 768; -+const UINT D3D11_CS_4_X_THREAD_GROUP_MAX_X = 768; -+const UINT D3D11_CS_4_X_THREAD_GROUP_MAX_Y = 768; -+const UINT D3D11_CS_4_X_UAV_REGISTER_COUNT = 1; -+const UINT D3D11_CS_DISPATCH_MAX_THREAD_GROUPS_PER_DIMENSION = 65535; -+const UINT D3D11_CS_TGSM_REGISTER_COUNT = 8192; -+const UINT D3D11_CS_TGSM_REGISTER_READS_PER_INST = 1; -+const UINT D3D11_CS_TGSM_RESOURCE_REGISTER_COMPONENTS = 1; -+const UINT D3D11_CS_TGSM_RESOURCE_REGISTER_READ_PORTS = 1; -+const UINT D3D11_CS_THREAD_GROUP_MAX_THREADS_PER_GROUP = 1024; -+const UINT D3D11_CS_THREAD_GROUP_MAX_X = 1024; -+const UINT D3D11_CS_THREAD_GROUP_MAX_Y = 1024; -+const UINT D3D11_CS_THREAD_GROUP_MAX_Z = 64; -+const UINT D3D11_CS_THREAD_GROUP_MIN_X = 1; -+const UINT D3D11_CS_THREAD_GROUP_MIN_Y = 1; -+const UINT D3D11_CS_THREAD_GROUP_MIN_Z = 1; -+const UINT D3D11_CS_THREAD_LOCAL_TEMP_REGISTER_POOL = 16384; -+ - const UINT D3D11_DEFAULT_DEPTH_BIAS = 0; - cpp_quote("#define D3D11_DEFAULT_DEPTH_BIAS_CLAMP 0.0f") - const UINT D3D11_DEFAULT_MAX_ANISOTROPY = 16; --- -2.11.0 - diff --git a/mingw-w64-headers-5.0.1.tar.xz b/mingw-w64-headers-5.0.1.tar.xz deleted file mode 100644 index 7ca6182..0000000 --- a/mingw-w64-headers-5.0.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:75d9a674210811261423aae0c158d613df8c767d2db3a0eeded5d631726978d0 -size 5244552 diff --git a/mingw-w64-headers-5.0.2.tar.xz b/mingw-w64-headers-5.0.2.tar.xz new file mode 100644 index 0000000..9ab143d --- /dev/null +++ b/mingw-w64-headers-5.0.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6c2d1b1b9e152201053ebfcd4c983d276dd8e92298d63492f1d489b0b361f2a +size 5670255 diff --git a/mingw64-headers.changes b/mingw64-headers.changes index 2433389..bae34a6 100644 --- a/mingw64-headers.changes +++ b/mingw64-headers.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 28 11:40:03 UTC 2017 - idonmez@suse.com + +- Update to version 5.0.2 + * RegSetKeyValueW now has proper wide arguments. + * Fix pdh.h function calls to have proper stdcall decorators. + ------------------------------------------------------------------- Sat Jan 14 20:48:23 UTC 2017 - idonmez@suse.com diff --git a/mingw64-headers.spec b/mingw64-headers.spec index 83eee12..9dd0bb9 100644 --- a/mingw64-headers.spec +++ b/mingw64-headers.spec @@ -17,7 +17,7 @@ Name: mingw64-headers -Version: 5.0.1 +Version: 5.0.2 Release: 0 Summary: MinGW-w64 headers for Win32 and Win64 License: SUSE-Public-Domain @@ -27,7 +27,6 @@ Url: http://mingw-w64.sf.net/ #DL-URL: http://downloads.sf.net/mingw-w64/mingw-w64-%version.tar.bz2 Source: mingw-w64-headers-%version.tar.xz Source1000: %name-rpmlintrc -Patch1: 0001-Add-missing-D3D_CS_-variables.patch BuildRequires: mingw64-filesystem BuildRequires: xz #!BuildIgnore: post-build-checks @@ -54,7 +53,6 @@ an actual pthread implementation (like winpthreads) is installed. %prep %setup -q -n mingw-w64-headers -%patch1 -p2 %build %{_mingw64_configure} \