mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-11 15:40:51 +00:00
rsx: Apply Clang-Tidy fix "readability-simplify-subscript-expr"
This commit is contained in:
parent
0b97d12a7b
commit
370dcd9d6e
@ -127,7 +127,7 @@ void GLFragmentDecompilerThread::insertConstants(std::stringstream & OS)
|
||||
for (const ParamItem& PI : PT.items)
|
||||
{
|
||||
std::string samplerType = PT.type;
|
||||
int index = atoi(&PI.name.data()[3]);
|
||||
int index = atoi(&PI.name[3]);
|
||||
|
||||
const auto mask = (1 << index);
|
||||
|
||||
|
@ -126,7 +126,7 @@ void VKFragmentDecompilerThread::insertConstants(std::stringstream & OS)
|
||||
for (const ParamItem& PI : PT.items)
|
||||
{
|
||||
std::string samplerType = PT.type;
|
||||
int index = atoi(&PI.name.data()[3]);
|
||||
int index = atoi(&PI.name[3]);
|
||||
|
||||
const auto mask = (1 << index);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user