Skip to content

Commit

Permalink
Add duplicate pragma (#6732)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hekota committed Jun 27, 2024
1 parent 206133c commit 49d1ae9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/dxilconv/include/ShaderBinary/ShaderBinary.h
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ class COperandBase {
struct {
D3D10_SB_OPERAND_INDEX_REPRESENTATION m_IndexType[3];
D3D10_SB_OPERAND_INDEX_DIMENSION m_IndexDimension;
#pragma warning(suppress : 4201) // Warning about nameless structure.
};

friend class CShaderAsm;
Expand Down

0 comments on commit 49d1ae9

Please sign in to comment.