mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
rsx: Apply Clang-Tidy fix "modernize-use-bool-literals"
This commit is contained in:
parent
349e7c8708
commit
b91bcdbbca
4 changed files with 12 additions and 12 deletions
|
@ -75,7 +75,7 @@ vertex_program_utils::vertex_program_metadata vertex_program_utils::analyse_vert
|
|||
d3.HEX = instruction->word[3];
|
||||
|
||||
// Touch current instruction
|
||||
result.instruction_mask[current_instrution] = 1;
|
||||
result.instruction_mask[current_instrution] = true;
|
||||
instruction_range.first = std::min(current_instrution, instruction_range.first);
|
||||
instruction_range.second = std::max(current_instrution, instruction_range.second);
|
||||
|
||||
|
|
|
@ -400,7 +400,7 @@ void GLGSRender::end()
|
|||
std::chrono::time_point<steady_clock> draw_start = textures_end;
|
||||
|
||||
// Optionally do memory synchronization if the texture stage has not yet triggered this
|
||||
if (1)//g_cfg.video.strict_rendering_mode)
|
||||
if (true)//g_cfg.video.strict_rendering_mode)
|
||||
{
|
||||
gl_state.enable(GL_FALSE, GL_SCISSOR_TEST);
|
||||
|
||||
|
|
|
@ -94,15 +94,15 @@ namespace vk
|
|||
rsc.maxCombinedClipAndCullDistances = 8;
|
||||
rsc.maxSamples = 4;
|
||||
|
||||
rsc.limits.nonInductiveForLoops = 1;
|
||||
rsc.limits.whileLoops = 1;
|
||||
rsc.limits.doWhileLoops = 1;
|
||||
rsc.limits.generalUniformIndexing = 1;
|
||||
rsc.limits.generalAttributeMatrixVectorIndexing = 1;
|
||||
rsc.limits.generalVaryingIndexing = 1;
|
||||
rsc.limits.generalSamplerIndexing = 1;
|
||||
rsc.limits.generalVariableIndexing = 1;
|
||||
rsc.limits.generalConstantMatrixVectorIndexing = 1;
|
||||
rsc.limits.nonInductiveForLoops = true;
|
||||
rsc.limits.whileLoops = true;
|
||||
rsc.limits.doWhileLoops = true;
|
||||
rsc.limits.generalUniformIndexing = true;
|
||||
rsc.limits.generalAttributeMatrixVectorIndexing = true;
|
||||
rsc.limits.generalVaryingIndexing = true;
|
||||
rsc.limits.generalSamplerIndexing = true;
|
||||
rsc.limits.generalVariableIndexing = true;
|
||||
rsc.limits.generalConstantMatrixVectorIndexing = true;
|
||||
}
|
||||
|
||||
static constexpr std::array<std::pair<std::string_view, int>, 18> varying_registers =
|
||||
|
|
|
@ -1634,7 +1634,7 @@ void VKGSRender::end()
|
|||
update_draw_state();
|
||||
|
||||
// Apply write memory barriers
|
||||
if (1)//g_cfg.video.strict_rendering_mode)
|
||||
if (true)//g_cfg.video.strict_rendering_mode)
|
||||
{
|
||||
if (ds) ds->write_barrier(*m_current_command_buffer);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue