FShaderPermutationBool::ToDimensionValueId

Converts dimension boolean value to dimension's value id.