TShaderPermutationSparseInt::ToDimensionValueId

Converts dimension's integer value to dimension's value id, bu in this case fail because the dimension value was wrong.