Skip to content

Commit

Permalink
Add duplicate pragma (microsoft#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.

(cherry picked from commit 49d1ae9)
  • Loading branch information
hekota authored and pow2clk committed Jul 16, 2024
1 parent 7809c0b commit 9ca52f4
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 9ca52f4

Please sign in to comment.