Commit Graph

6664 Commits (94fecef137eb8452cfb82caa38a9593eab3d46ea)
 

Author SHA1 Message Date
bunnei 79c1ed80e9
Merge pull request #366 from lioncash/vec
vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]
7 years ago
bunnei cb267093bb
Merge pull request #365 from lioncash/codeblock
common: Remove code_block.h
7 years ago
Lioncash b2febaff2f
externals: Update dynarmic to HEAD 7 years ago
Lioncash 956e200f12 vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]
These are all unused and the Write() ones should arguably not even be in the interface. There are better ways to provide this if we ever need it (like iterators).
7 years ago
Lioncash 0eba5911f2 common: Remove code_block.h
We use dynarmic, so this is unued. Anything else we need will likely use Xbyak, so
this header isn't necessary any more.
7 years ago
Lioncash b134e6afcf common/thread: Remove unnecessary feature checking for thread_local
Every compiler we require already supports it.
7 years ago
Lioncash d9e316e353 common_funcs: Remove ARRAY_SIZE macro
C++17 has non-member size() which we can just call where necessary.
7 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.
7 years ago
Lioncash 16ffecd8fb common_types: Convert typedefs to using aliases
May as well while we're making changes to this file.
7 years ago
Lioncash e8e5041955 common_types: Remove unnecessary check for whether or not__func__ is defined
VS has supported this for quite a while.
7 years ago
Lioncash ccca5e7c28 service: Use nested namespace specifiers where applicable
Tidies up namespace declarations
7 years ago
bunnei 2c8afe1140
Merge pull request #357 from lioncash/guard
renderer_opengl: Add missing header guards
7 years ago
bunnei 2ef04f69b2
Merge pull request #358 from lioncash/explicit
disk_filesystem: Minor changes
7 years ago
bunnei 14bf88a777
Merge pull request #359 from lioncash/redundant
vi: Remove redundant initializers in the constructors
7 years ago
Lioncash 3990da488b vi: Remove redundant initializers in the constructors 7 years ago
Lioncash 80982748c8 disk_filesystem: Remove unused total_entries_in_directory member from Disk_Directory 7 years ago
Lioncash e61a4dd485 disk_filesystem: Remove redundant initializer in Disk_Directory's constructor 7 years ago
Lioncash b05f8ea5b5 disk_filesystem: Make constructors explicit where applicable 7 years ago
Lioncash 3841ec4200 renderer_opengl: Add missing header guards 7 years ago
bunnei 17ad56c1dc
Merge pull request #356 from lioncash/shader
glsl_shader_decompiler: Minor API changes to ShaderWriter
7 years ago
bunnei f633b0c875
Merge pull request #355 from Subv/shader_instr
ShaderGen: Fixed TEXS overriding its own texcoords and implemented fmul32i
7 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.
7 years ago
Lioncash 412b31ad72 glsl_shader_decompiler: Add AddNewLine() function to ShaderWriter
Avoids constructing a std::string just to append a newline character
7 years ago
Lioncash aa26baa3db glsl_shader_decompiler: Add char overload for ShaderWriter's AddLine()
Avoids constructing a std::string just to append a character.
7 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.
7 years ago
James Rowe 3f49210234
Merge pull request #348 from jlachniet/patch-1
Technically, yuzu can boot commercial games
7 years ago
Subv fe84842137 ShaderGen: Implemented the fmul32i shader instruction. 7 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.
7 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
7 years ago
James Rowe e90a12f80c
Merge pull request #352 from bunnei/fix-microprofile
nvflinger: Call MicroProfileFlip on NVFlinger::Compose.
7 years ago
bunnei d019bb16f6
Merge pull request #353 from Subv/compressed_formats
GPU: Add support for the DXT23 and DXT45 compressed texture formats.
7 years ago
Subv 057170928c GPU: Add support for the DXT23 and DXT45 compressed texture formats. 7 years ago
bunnei de18592179 nvflinger: Call MicroProfileFlip on NVFlinger::Compose. 7 years ago
bunnei 60e6e8953e
Merge pull request #351 from Subv/tex_formats
GPU: Implemented the B5G6R5 format.
7 years ago
Subv 2985056340 GPU: Implemented the B5G6R5 format. 7 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.
7 years ago
bunnei 6a999cf800
Merge pull request #350 from Subv/tex_components
GPU: Fixed the incorrect component order in ABGR8 textures.
7 years ago
Subv 43d98ca8fe GLCache: Added boilerplate code to make supporting configurable texture component types.
For now only the UNORM type is supported.
7 years ago
Subv 5b3fab6766 GLCache: Unify texture and framebuffer formats when converting to OpenGL. 7 years ago
Subv b2c1672e10 GPU: Texture format 8 and framebuffer format 0xD5 are actually ABGR8. 7 years ago
bunnei d3f9ea90e7
Merge pull request #349 from Subv/texturing
GPU: Support non-tiled textures and configurable block height.
7 years ago
Subv 48d4efbd69 GPU: Pitch textures are now supported, don't assert when encountering them. 7 years ago
Subv a3e82e8e1f GLCache: Take into account the texture's block height when caching and unswizzling. 7 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.
7 years ago
Subv 6b63aaa5b4 GPU: Allow using a configurable block height when unswizzling textures. 7 years ago
Subv db5f2bfa7e GPU/TIC: Added the pitch and block height fields to the TIC structure. 7 years ago
jlachniet f600f6eebd
Technically, yuzu can boot commercial games
Clarifies the yuzu cannot play commercial games to any reasonable extent, rather than not at all.
7 years ago
bunnei c93ea96366
Merge pull request #346 from bunnei/misc-gpu-improvements
Misc gpu improvements
7 years ago
bunnei 71b4a3b9f6
Merge pull request #344 from bunnei/shader-decompiler-p2
Shader decompiler changes part 2
7 years ago
bunnei 9dc0d13ba5
Merge pull request #345 from bunnei/blending
renderer_opengl: Implement BlendEquation and BlendFunc.
7 years ago