mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-12-14 19:36:59 +00:00
misc: chore: Use explicit types in Shader project
This commit is contained in:
parent
68bbb29be6
commit
f2aa6b3a5b
39 changed files with 726 additions and 725 deletions
|
|
@ -267,7 +267,7 @@ namespace Ryujinx.Graphics.Shader.Translation.Optimizations
|
|||
{
|
||||
Operand value = operation.GetSource(operation.SourcesCount - 1);
|
||||
|
||||
var result = FindUniqueBaseAddressCb(gtsContext, block, value, needsOffset: false);
|
||||
SearchResult result = FindUniqueBaseAddressCb(gtsContext, block, value, needsOffset: false);
|
||||
if (result.Found)
|
||||
{
|
||||
uint targetCb = PackCbSlotAndOffset(result.SbCbSlot, result.SbCbOffset);
|
||||
|
|
@ -1018,7 +1018,7 @@ namespace Ryujinx.Graphics.Shader.Translation.Optimizations
|
|||
offset = src1;
|
||||
}
|
||||
|
||||
var result = GetBaseAddressCbWithOffset(baseAddr, offset, 0);
|
||||
SearchResult result = GetBaseAddressCbWithOffset(baseAddr, offset, 0);
|
||||
if (result.Found)
|
||||
{
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue