mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 22:11:26 +12:00
rsx: Apply Clang-Tidy fix "readability-simplify-subscript-expr"
This commit is contained in:
parent
0b97d12a7b
commit
370dcd9d6e
2 changed files with 2 additions and 2 deletions
|
@ -127,7 +127,7 @@ void GLFragmentDecompilerThread::insertConstants(std::stringstream & OS)
|
||||||
for (const ParamItem& PI : PT.items)
|
for (const ParamItem& PI : PT.items)
|
||||||
{
|
{
|
||||||
std::string samplerType = PT.type;
|
std::string samplerType = PT.type;
|
||||||
int index = atoi(&PI.name.data()[3]);
|
int index = atoi(&PI.name[3]);
|
||||||
|
|
||||||
const auto mask = (1 << index);
|
const auto mask = (1 << index);
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,7 @@ void VKFragmentDecompilerThread::insertConstants(std::stringstream & OS)
|
||||||
for (const ParamItem& PI : PT.items)
|
for (const ParamItem& PI : PT.items)
|
||||||
{
|
{
|
||||||
std::string samplerType = PT.type;
|
std::string samplerType = PT.type;
|
||||||
int index = atoi(&PI.name.data()[3]);
|
int index = atoi(&PI.name[3]);
|
||||||
|
|
||||||
const auto mask = (1 << index);
|
const auto mask = (1 << index);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue