Lioncash
d9e316e353
common_funcs: Remove ARRAY_SIZE macro
C++17 has non-member size() which we can just call where necessary.
8 years ago
Lioncash
902fc61ef8
common_funcs: Remove check for VS versions that we don't even support
We don't support any VS versions that don't already have snprintf in the
standard library implementation.
8 years ago
Lioncash
16ffecd8fb
common_types: Convert typedefs to using aliases
May as well while we're making changes to this file.
8 years ago
Lioncash
e8e5041955
common_types: Remove unnecessary check for whether or not__func__ is defined
VS has supported this for quite a while.
8 years ago
Lioncash
ccca5e7c28
service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
8 years ago
Lioncash
3990da488b
vi: Remove redundant initializers in the constructors
8 years ago
Lioncash
80982748c8
disk_filesystem: Remove unused total_entries_in_directory member from Disk_Directory
8 years ago
Lioncash
e61a4dd485
disk_filesystem: Remove redundant initializer in Disk_Directory's constructor
8 years ago
Lioncash
b05f8ea5b5
disk_filesystem: Make constructors explicit where applicable
8 years ago
Lioncash
3841ec4200
renderer_opengl: Add missing header guards
8 years ago
Lioncash
e3b6f6c016
glsl_shader_decompiler: Use std::string_view instead of std::string for AddLine()
This function doesn't need to take ownership of the string data being
given to it, considering all we do is append the characters to the
internal string instance.
Instead, use a string view to simply reference the string data without
any potential heap allocation.
Now anything that is a raw const char* won't need to be converted to a
std::string before appending.
8 years ago
Lioncash
412b31ad72
glsl_shader_decompiler: Add AddNewLine() function to ShaderWriter
Avoids constructing a std::string just to append a newline character
8 years ago
Lioncash
aa26baa3db
glsl_shader_decompiler: Add char overload for ShaderWriter's AddLine()
Avoids constructing a std::string just to append a character.
8 years ago
Lioncash
4ef392906b
glsl_shader_decompiler: Append indentation without constructing a separate std::string
The interface of std::string already lets us append N copies of a
character to an existing string.
8 years ago
Subv
fe84842137
ShaderGen: Implemented the fmul32i shader instruction.
8 years ago
Subv
5367935d35
ShaderGen: Fixed a case where the TEXS instruction would use the same registers for the input and the output.
It will now save the coords before writing the outputs in a subscope.
8 years ago
N00byKing
8a47e7e493
Implement Pull #3528 from citra: use nvidia graphics automatically on laptops with optimus (with AMD support) ( #271 )
* Port 3528: use nvidia graphics automatically on laptops with optimus
* Force dedicated AMD Card for switchable Graphics
* Ran clang-format
8 years ago
Subv
057170928c
GPU: Add support for the DXT23 and DXT45 compressed texture formats.
8 years ago
bunnei
de18592179
nvflinger: Call MicroProfileFlip on NVFlinger::Compose.
8 years ago
Subv
2985056340
GPU: Implemented the B5G6R5 format.
8 years ago
bunnei
ce4f159b1c
gl_shader_gen: Support vertical/horizontal viewport flipping. ( #347 )
* gl_shader_gen: Support vertical/horizontal viewport flipping.
* fixup! gl_shader_gen: Support vertical/horizontal viewport flipping.
8 years ago
Subv
43d98ca8fe
GLCache: Added boilerplate code to make supporting configurable texture component types.
For now only the UNORM type is supported.
8 years ago
Subv
5b3fab6766
GLCache: Unify texture and framebuffer formats when converting to OpenGL.
8 years ago
Subv
b2c1672e10
GPU: Texture format 8 and framebuffer format 0xD5 are actually ABGR8.
8 years ago
Subv
48d4efbd69
GPU: Pitch textures are now supported, don't assert when encountering them.
8 years ago
Subv
a3e82e8e1f
GLCache: Take into account the texture's block height when caching and unswizzling.
8 years ago
Subv
ac09b5a2e9
GLCache: Added a function to convert cached PixelFormats back to texture formats.
TODO: The way we handle cached formats must change, framebuffer and texture formats are too different to keep them in the same place.
8 years ago
Subv
6b63aaa5b4
GPU: Allow using a configurable block height when unswizzling textures.
8 years ago
Subv
db5f2bfa7e
GPU/TIC: Added the pitch and block height fields to the TIC structure.
8 years ago
bunnei
7222d9a4c3
gl_rasterizer_cache: Add missing LOG statements.
8 years ago
bunnei
9df8e924fb
texture: Add missing formats.
8 years ago
bunnei
3ed8a1cac7
gpu: Add several framebuffer formats to RenderTargetFormat.
8 years ago
bunnei
4a8eb6745e
maxwell3d: Allow Texture2DNoMipmap as Texture2D.
8 years ago
bunnei
531c25386e
shader_bytecode: Make ctor's constexpr and explicit.
8 years ago
bunnei
174cba5c58
renderer_opengl: Implement BlendEquation and BlendFunc.
8 years ago
bunnei
e59126809c
bit_field: Remove is_pod check, add is_trivially_copyable_v.
8 years ago
bunnei
1f6fe062ca
gl_shader_decompiler: Fix warnings with MarkAsUsed.
8 years ago
bunnei
ed542a7309
gl_shader_decompiler: Cleanup logging, updating to NGLOG_*.
8 years ago
bunnei
ef2d5ab0c1
gl_shader_decompiler: Implement several MUFU subops and abs_d.
8 years ago
bunnei
59f4ff4659
gl_shader_decompiler: Fix swizzle in GetRegister.
8 years ago
bunnei
5a28dce9eb
gl_shader_decompiler: Implement FMUL/FADD/FFMA immediate instructions.
8 years ago
bunnei
8d4899d6ea
gl_shader_decompiler: Allow vertex position to be used in fragment shader.
8 years ago
bunnei
95144cc39c
gl_shader_decompiler: Implement IPA instruction.
8 years ago
bunnei
8b4443c966
gl_shader_decompiler: Add support for TEXS instruction.
8 years ago
bunnei
5ba71369ac
gl_shader_decompiler: Use fragment output color for GPR 0-3.
8 years ago
bunnei
5d529698c9
gl_shader_decompiler: Partially implement MUFU.
8 years ago
mailwl
5922f2c46d
Service/VI: stub SetLayerVisibility, fix GetDisplayResolution output
both SetLayerVisibility() functions used in Lego games, GetDisplayResolution()
fixed according switchbrew.org
8 years ago
shinyquagsire23
de580ccdd5
file_sys: Use NGLOG
8 years ago
Hexagon12
e52a87b98a
Various service name fixes - part 2 (rebased) ( #322 )
* Updated ACC with more service names
* Updated SVC with more service names
* Updated set with more service names
* Updated sockets with more service names
* Updated SPL with more service names
* Updated time with more service names
* Updated vi with more service names
8 years ago
Subv
636ad34707
MaxwellToGL: Implemented tex wrap mode 1 (Wrap, GL_REPEAT).
8 years ago