mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-23 15:22:45 +01:00
vk_shader_decompiler: Fix implicit type conversion
Co-Authored-By: Mat M. <mathew1800@gmail.com>
This commit is contained in:
parent
2fae1e6205
commit
47459f6a36
1 changed files with 1 additions and 1 deletions
|
@ -839,7 +839,7 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
std::optional<VaryingTFB> GetTransformFeedbackInfo(Attribute::Index index, u8 element = 0) {
|
std::optional<VaryingTFB> GetTransformFeedbackInfo(Attribute::Index index, u8 element = 0) {
|
||||||
const u8 location = static_cast<u8>(index) * 4 + element;
|
const u8 location = static_cast<u8>(static_cast<u32>(index) * 4 + element);
|
||||||
const auto it = transform_feedback.find(location);
|
const auto it = transform_feedback.find(location);
|
||||||
if (it == transform_feedback.end()) {
|
if (it == transform_feedback.end()) {
|
||||||
return {};
|
return {};
|
||||||
|
|
Loading…
Reference in a new issue