Skip to content

Commit 9ca52f4

Browse files
hekotaGreg Roth
authored andcommitted
Add duplicate pragma (#6732)
Internal build that has DXC as a submodule and that is built with a different VC toolset version started failing after the pragma got moved up in commit 0b9acdb. Adding a duplicate pragma back at the original location makes both compiler versions happy. (cherry picked from commit 49d1ae9)
1 parent 7809c0b commit 9ca52f4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

projects/dxilconv/include/ShaderBinary/ShaderBinary.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ class COperandBase {
383383
struct {
384384
D3D10_SB_OPERAND_INDEX_REPRESENTATION m_IndexType[3];
385385
D3D10_SB_OPERAND_INDEX_DIMENSION m_IndexDimension;
386+
#pragma warning(suppress : 4201) // Warning about nameless structure.
386387
};
387388

388389
friend class CShaderAsm;

0 commit comments

Comments
 (0)