mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Pass the right MeshDataStage to HasAlignedPostVSData()
This commit is contained in:
@@ -1265,7 +1265,8 @@ static void ConfigureColumnsForShader(ICaptureContext &ctx, const ShaderReflecti
|
||||
uint numComps = sig.format.compCount;
|
||||
uint elemSize = sig.format.compType == CompType::Double ? 8U : 4U;
|
||||
|
||||
if(ctx.CurPipelineState().HasAlignedPostVSData(MeshDataStage::VSOut))
|
||||
if(ctx.CurPipelineState().HasAlignedPostVSData(
|
||||
shader->stage == ShaderStage::Vertex ? MeshDataStage::VSOut : MeshDataStage::GSOut))
|
||||
{
|
||||
if(numComps == 2)
|
||||
offset = AlignUp(offset, 2U * elemSize);
|
||||
|
||||
Reference in New Issue
Block a user