mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 01:38:37 +12:00
rsx: Code cleanup. Fixes several dozen warnings
- Wrap unused parameters as comments to prevent C1400 - Fix sized variable conversions with explicit casts
This commit is contained in:
parent
11317acdbe
commit
b2e906f4cc
32 changed files with 121 additions and 99 deletions
|
@ -214,12 +214,14 @@ namespace
|
|||
case rsx::texture_dimension_extended::texture_dimension_3d:
|
||||
case rsx::texture_dimension_extended::texture_dimension_cubemap: return "texture(" + tex_name + ", (" + coord_name + ".xyz * " + tex_name + "_coord_scale))";
|
||||
}
|
||||
|
||||
fmt::throw_exception("Invalid texture dimension %d" HERE, (u32)prog.get_texture_dimension(index));
|
||||
}
|
||||
}
|
||||
|
||||
void GLFragmentDecompilerThread::insertMainStart(std::stringstream & OS)
|
||||
{
|
||||
insert_glsl_legacy_function(OS);
|
||||
insert_glsl_legacy_function(OS, gl::glsl::glsl_fragment_program);
|
||||
|
||||
const std::set<std::string> output_values =
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue