d3dcompiler: Add D3D_BLOB_PATCH_CONSTANT_SIGNATURE_BLOB to D3DGetBlobPart().
This commit is contained in:
parent
6d20b3f96a
commit
3cbb72667b
|
@ -137,6 +137,10 @@ static BOOL check_blob_part(DWORD tag, D3D_BLOB_PART part)
|
|||
if (tag == TAG_ISGN || tag == TAG_OSGN) add = TRUE;
|
||||
break;
|
||||
|
||||
case D3D_BLOB_PATCH_CONSTANT_SIGNATURE_BLOB:
|
||||
if (tag == TAG_PCSG) add = TRUE;
|
||||
break;
|
||||
|
||||
case D3D_BLOB_DEBUG_INFO:
|
||||
if (tag == TAG_SDBG) add = TRUE;
|
||||
break;
|
||||
|
@ -208,6 +212,7 @@ HRESULT d3dcompiler_get_blob_part(const void *data, SIZE_T data_size, D3D_BLOB_P
|
|||
{
|
||||
case D3D_BLOB_INPUT_SIGNATURE_BLOB:
|
||||
case D3D_BLOB_OUTPUT_SIGNATURE_BLOB:
|
||||
case D3D_BLOB_PATCH_CONSTANT_SIGNATURE_BLOB:
|
||||
case D3D_BLOB_DEBUG_INFO:
|
||||
if (count != 1) count = 0;
|
||||
break;
|
||||
|
|
|
@ -583,6 +583,7 @@ void SlDeleteShader(struct bwriter_shader *shader);
|
|||
#define TAG_DXBC MAKE_TAG('D', 'X', 'B', 'C')
|
||||
#define TAG_ISGN MAKE_TAG('I', 'S', 'G', 'N')
|
||||
#define TAG_OSGN MAKE_TAG('O', 'S', 'G', 'N')
|
||||
#define TAG_PCSG MAKE_TAG('P', 'C', 'S', 'G')
|
||||
#define TAG_SDBG MAKE_TAG('S', 'D', 'B', 'G')
|
||||
|
||||
struct dxbc_section
|
||||
|
|
Loading…
Reference in New Issue