File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,8 @@ namespace IGC
120120
121121 void CVertexShader::PackVFInput (unsigned int index, unsigned int & offset)
122122 {
123- bool dontPackPartialElement = IGC_IS_FLAG_ENABLED (VFPackingDisablePartialElements);
123+ bool dontPackPartialElement = m_ModuleMetadata->compOpt .disablePartialVertexComponentPacking ||
124+ IGC_IS_FLAG_ENABLED (VFPackingDisablePartialElements);
124125 if (dontPackPartialElement)
125126 {
126127 if (m_ElementComponentEnableMask[index / 4 ] == 0 )
Original file line number Diff line number Diff line change @@ -214,6 +214,7 @@ namespace IGC
214214 bool pixelShaderDoNotAbortOnSpill = false ;
215215 bool UniformWGS = false ;
216216 bool disableVertexComponentPacking = false ;
217+ bool disablePartialVertexComponentPacking = false ;
217218 bool PreferBindlessImages = false ;
218219 bool disableMathRefactoring = false ;
219220 bool EnableTakeGlobalAddress = false ;
You can’t perform that action at this time.
0 commit comments