shaderProgram: correct array index in shaderProgramSetGshInputPermutation()

This commit is contained in:
Lioncash 2017-12-28 15:34:04 -05:00
parent 6f64dee330
commit b421b3991b
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7

View File

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