[D3D12] Fix a typo in HLSL sqrt
This commit is contained in:
parent
14523145a2
commit
ed7f4ec4be
|
@ -1767,7 +1767,7 @@ void HlslShaderTranslator::ProcessScalarAluInstruction(
|
||||||
EmitSourceDepth("clip(-xe_ps);\n");
|
EmitSourceDepth("clip(-xe_ps);\n");
|
||||||
break;
|
break;
|
||||||
case AluScalarOpcode::kSqrt:
|
case AluScalarOpcode::kSqrt:
|
||||||
EmitSourceDepth("xe_ps = float(xe_src0.x);\n");
|
EmitSourceDepth("xe_ps = sqrt(xe_src0.x);\n");
|
||||||
break;
|
break;
|
||||||
case AluScalarOpcode::kMulsc0:
|
case AluScalarOpcode::kMulsc0:
|
||||||
case AluScalarOpcode::kMulsc1:
|
case AluScalarOpcode::kMulsc1:
|
||||||
|
|
Loading…
Reference in New Issue