d3dcompiler: Handle TAG_OSG5 in D3DGetBlobPart().
This commit is contained in:
parent
47bb0de4bc
commit
cc6699f09d
|
@ -130,11 +130,11 @@ static BOOL check_blob_part(DWORD tag, D3D_BLOB_PART part)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case D3D_BLOB_OUTPUT_SIGNATURE_BLOB:
|
case D3D_BLOB_OUTPUT_SIGNATURE_BLOB:
|
||||||
if (tag == TAG_OSGN) add = TRUE;
|
if (tag == TAG_OSGN || tag == TAG_OSG5) add = TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case D3D_BLOB_INPUT_AND_OUTPUT_SIGNATURE_BLOB:
|
case D3D_BLOB_INPUT_AND_OUTPUT_SIGNATURE_BLOB:
|
||||||
if (tag == TAG_ISGN || tag == TAG_OSGN) add = TRUE;
|
if (tag == TAG_ISGN || tag == TAG_OSGN || tag == TAG_OSG5) add = TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case D3D_BLOB_PATCH_CONSTANT_SIGNATURE_BLOB:
|
case D3D_BLOB_PATCH_CONSTANT_SIGNATURE_BLOB:
|
||||||
|
@ -142,7 +142,7 @@ static BOOL check_blob_part(DWORD tag, D3D_BLOB_PART part)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case D3D_BLOB_ALL_SIGNATURE_BLOB:
|
case D3D_BLOB_ALL_SIGNATURE_BLOB:
|
||||||
if (tag == TAG_ISGN || tag == TAG_OSGN || tag == TAG_PCSG) add = TRUE;
|
if (tag == TAG_ISGN || tag == TAG_OSGN || tag == TAG_OSG5 || tag == TAG_PCSG) add = TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case D3D_BLOB_DEBUG_INFO:
|
case D3D_BLOB_DEBUG_INFO:
|
||||||
|
|
|
@ -583,6 +583,7 @@ void SlDeleteShader(struct bwriter_shader *shader) DECLSPEC_HIDDEN;
|
||||||
#define TAG_DXBC MAKE_TAG('D', 'X', 'B', 'C')
|
#define TAG_DXBC MAKE_TAG('D', 'X', 'B', 'C')
|
||||||
#define TAG_ISGN MAKE_TAG('I', 'S', 'G', 'N')
|
#define TAG_ISGN MAKE_TAG('I', 'S', 'G', 'N')
|
||||||
#define TAG_OSGN MAKE_TAG('O', 'S', 'G', 'N')
|
#define TAG_OSGN MAKE_TAG('O', 'S', 'G', 'N')
|
||||||
|
#define TAG_OSG5 MAKE_TAG('O', 'S', 'G', '5')
|
||||||
#define TAG_PCSG MAKE_TAG('P', 'C', 'S', 'G')
|
#define TAG_PCSG MAKE_TAG('P', 'C', 'S', 'G')
|
||||||
#define TAG_RDEF MAKE_TAG('R', 'D', 'E', 'F')
|
#define TAG_RDEF MAKE_TAG('R', 'D', 'E', 'F')
|
||||||
#define TAG_SDBG MAKE_TAG('S', 'D', 'B', 'G')
|
#define TAG_SDBG MAKE_TAG('S', 'D', 'B', 'G')
|
||||||
|
|
Loading…
Reference in New Issue