swr: [rasterizer jitter] unitialized component fix in fetch jit

Was trying to store an extra uninitialized component.
Only affects component packing, which isn't enabled (yet).

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
Tim Rowley 2016-06-02 15:24:34 -06:00
parent b6d2c96851
commit 42215e6116
1 changed files with 1 additions and 1 deletions

View File

@ -1073,7 +1073,7 @@ void FetchJit::JitGatherVertices(const FETCH_COMPILE_STATE &fetchState, Value* f
// if we have a partially filled vVertexElement struct, output it
if(currentVertexElement > 0){
StoreVertexElements(pVtxOut, outputElt++, currentVertexElement+1, vVertexElements);
StoreVertexElements(pVtxOut, outputElt++, currentVertexElement, vVertexElements);
}
}