shaderProgram: correct array index in shaderProgramSetGshInputPermutation()

This commit is contained in:
Lioncash 2017-12-28 15:34:04 -05:00 committed by fincs
parent 6f64dee330
commit 3a1a501867

View File

@ -177,7 +177,7 @@ Result shaderProgramSetGshInputPermutation(shaderProgram_s* sp, u64 permutation)
if(!sp || !sp->geometryShader)return -1;
sp->geoShaderInputPermutation[0] = permutation & 0xFFFFFFFF;
sp->geoShaderInputPermutation[0] = permutation>>32;
sp->geoShaderInputPermutation[1] = permutation>>32;
return 0;
}