[SPIR-V] Fix cubemap X axis

This commit is contained in:
Triang3l 2022-06-25 16:25:29 +03:00
parent fdcbf67623
commit d8b0227cbd
1 changed files with 1 additions and 1 deletions

View File

@ -653,7 +653,7 @@ spv::Id SpirvShaderTranslator::ProcessVectorAluOperation(
// tc = -y
ma_x_result[0] = operand_neg[1];
// ma/2 = x
ma_x_result[2] = operand[2];
ma_x_result[2] = operand[0];
if (used_result_components & 0b1010) {
spv::Id x_is_neg = builder_->createBinOp(
spv::OpFOrdLessThan, type_bool_, operand[0], const_float_0_);