Module: wine Branch: master Commit: 7b5e05a99d23057c3adc5504afa5cf40eb38e8b6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7b5e05a99d23057c3adc5504af...
Author: Rico Schüller kgbricola@web.de Date: Tue Oct 12 19:24:52 2010 +0200
d3dcompiler: Add D3D_BLOB_ALL_SIGNATURE_BLOB to D3DGetBlobPart().
---
dlls/d3dcompiler_43/blob.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/dlls/d3dcompiler_43/blob.c b/dlls/d3dcompiler_43/blob.c index 3b0513d..747697c 100644 --- a/dlls/d3dcompiler_43/blob.c +++ b/dlls/d3dcompiler_43/blob.c @@ -141,6 +141,10 @@ static BOOL check_blob_part(DWORD tag, D3D_BLOB_PART part) if (tag == TAG_PCSG) add = TRUE; break;
+ case D3D_BLOB_ALL_SIGNATURE_BLOB: + if (tag == TAG_ISGN || tag == TAG_OSGN || tag == TAG_PCSG) add = TRUE; + break; + case D3D_BLOB_DEBUG_INFO: if (tag == TAG_SDBG) add = TRUE; break; @@ -221,6 +225,10 @@ HRESULT d3dcompiler_get_blob_part(const void *data, SIZE_T data_size, D3D_BLOB_P if (count != 2) count = 0; break;
+ case D3D_BLOB_ALL_SIGNATURE_BLOB: + if (count != 3) count = 0; + break; + default: FIXME("Unhandled D3D_BLOB_PART %s.\n", debug_d3dcompiler_d3d_blob_part(part)); break;