mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[SPIR-V] Fix fetch constant LOD bias signedness
This commit is contained in:
parent
d8b0227cbd
commit
5dca11a892
|
|
@ -1600,7 +1600,7 @@ void SpirvShaderTranslator::ProcessTextureFetchInstruction(
|
|||
spv::Id lod = builder_->createBinOp(
|
||||
spv::OpFMul, type_float_,
|
||||
builder_->createUnaryOp(
|
||||
spv::OpConvertUToF, type_float_,
|
||||
spv::OpConvertSToF, type_float_,
|
||||
builder_->createTriOp(spv::OpBitFieldSExtract, type_int_,
|
||||
fetch_constant_word_4_signed,
|
||||
builder_->makeUintConstant(12),
|
||||
|
|
|
|||
Loading…
Reference in a new issue