mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-07 07:25:26 +00:00
[amdgpu] Minor UInt8 fix
This commit is contained in:
parent
e0a43d8960
commit
a96269938e
2 changed files with 6 additions and 0 deletions
|
|
@ -5312,6 +5312,9 @@ spirv::Value Fragment::createBitcast(spirv::Type to, spirv::Type from,
|
|||
return value;
|
||||
}
|
||||
|
||||
if (from == context->getUInt8Type())
|
||||
value = builder.createUConvert(to, spirv::cast<spirv::UIntValue>(value));
|
||||
|
||||
if (from == context->getFloat32Type()) {
|
||||
if (auto origValue = context->findFloat32Value(value)) {
|
||||
if (to == context->getUInt32Type()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue