summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #367 from lioncash/clampGravatar bunnei2018-04-205-24/+22
|\ | | | | math_util: Remove the Clamp() function
| * math_util: Remove the Clamp() functionGravatar Lioncash2018-04-205-24/+22
| | | | | | | | | | C++17 adds clamp() to the standard library, so we can remove ours in favor of it.
* | Merge pull request #361 from lioncash/commonGravatar bunnei2018-04-201-18/+12
|\ \ | | | | | | common_types: Minor changes
| * | common_types: Convert typedefs to using aliasesGravatar Lioncash2018-04-191-12/+12
| | | | | | | | | | | | May as well while we're making changes to this file.
| * | common_types: Remove unnecessary check for whether or not__func__ is definedGravatar Lioncash2018-04-191-6/+0
| |/ | | | | | | VS has supported this for quite a while.
* | Merge pull request #360 from lioncash/namespacesGravatar bunnei2018-04-20136-570/+273
|\ \ | | | | | | service: Use nested namespace specifiers where applicable
| * | service: Use nested namespace specifiers where applicableGravatar Lioncash2018-04-19136-570/+273
| |/ | | | | | | Tidies up namespace declarations
* | Merge pull request #364 from lioncash/thread-localGravatar bunnei2018-04-201-19/+0
|\ \ | | | | | | common/thread: Remove unnecessary feature checking for thread_local
| * | common/thread: Remove unnecessary feature checking for thread_localGravatar Lioncash2018-04-191-19/+0
| |/ | | | | | | Every compiler we require already supports it.
* | Merge pull request #362 from lioncash/snprintfGravatar bunnei2018-04-201-5/+0
|\ \ | | | | | | common_funcs: Remove check for VS versions that we don't even support
| * | common_funcs: Remove check for VS versions that we don't even supportGravatar Lioncash2018-04-191-5/+0
| |/ | | | | | | | | We don't support any VS versions that don't already have snprintf in the standard library implementation.
* | Merge pull request #363 from lioncash/array-sizeGravatar bunnei2018-04-203-5/+4
|\ \ | | | | | | common_funcs: Remove ARRAY_SIZE macro
| * | common_funcs: Remove ARRAY_SIZE macroGravatar Lioncash2018-04-193-5/+4
| |/ | | | | | | C++17 has non-member size() which we can just call where necessary.
* | Merge pull request #366 from lioncash/vecGravatar bunnei2018-04-201-30/+0
|\ \ | | | | | | vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]
| * | vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]Gravatar Lioncash2018-04-191-30/+0
| | | | | | | | | | | | 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).
* | | Merge pull request #365 from lioncash/codeblockGravatar bunnei2018-04-202-86/+0
|\ \ \ | | | | | | | | common: Remove code_block.h
| * | | common: Remove code_block.hGravatar Lioncash2018-04-192-86/+0
| | |/ | |/| | | | | | | | | | We use dynarmic, so this is unued. Anything else we need will likely use Xbyak, so this header isn't necessary any more.
* | | Merge pull request #357 from lioncash/guardGravatar bunnei2018-04-192-0/+4
|\ \ \ | | | | | | | | renderer_opengl: Add missing header guards
| * | | renderer_opengl: Add missing header guardsGravatar Lioncash2018-04-192-0/+4
| |/ /
* | | Merge pull request #358 from lioncash/explicitGravatar bunnei2018-04-192-4/+3
|\ \ \ | | | | | | | | disk_filesystem: Minor changes
| * | | disk_filesystem: Remove unused total_entries_in_directory member from ↵Gravatar Lioncash2018-04-191-1/+0
| | | | | | | | | | | | | | | | Disk_Directory
| * | | disk_filesystem: Remove redundant initializer in Disk_Directory's constructorGravatar Lioncash2018-04-191-1/+1
| | | |
| * | | disk_filesystem: Make constructors explicit where applicableGravatar Lioncash2018-04-191-2/+2
| |/ /
* / / vi: Remove redundant initializers in the constructorsGravatar Lioncash2018-04-191-9/+5
|/ /
* | Merge pull request #356 from lioncash/shaderGravatar bunnei2018-04-191-12/+30
|\ \ | |/ |/| glsl_shader_decompiler: Minor API changes to ShaderWriter
| * glsl_shader_decompiler: Use std::string_view instead of std::string for ↵Gravatar Lioncash2018-04-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * glsl_shader_decompiler: Add AddNewLine() function to ShaderWriterGravatar Lioncash2018-04-191-6/+12
| | | | | | | | Avoids constructing a std::string just to append a newline character
| * glsl_shader_decompiler: Add char overload for ShaderWriter's AddLine()Gravatar Lioncash2018-04-191-4/+11
| | | | | | | | Avoids constructing a std::string just to append a character.
| * glsl_shader_decompiler: Append indentation without constructing a separate ↵Gravatar Lioncash2018-04-191-1/+5
| | | | | | | | | | | | | | std::string The interface of std::string already lets us append N copies of a character to an existing string.
* | Merge pull request #355 from Subv/shader_instrGravatar bunnei2018-04-192-11/+39
|\ \ | |/ |/| ShaderGen: Fixed TEXS overriding its own texcoords and implemented fmul32i
| * ShaderGen: Implemented the fmul32i shader instruction.Gravatar Subv2018-04-192-9/+30
| |
| * ShaderGen: Fixed a case where the TEXS instruction would use the same ↵Gravatar Subv2018-04-191-2/+9
| | | | | | | | | | | | registers for the input and the output. It will now save the coords before writing the outputs in a subscope.
* | Implement Pull #3528 from citra: use nvidia graphics automatically on ↵Gravatar N00byKing2018-04-192-0/+18
| | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #352 from bunnei/fix-microprofileGravatar James Rowe2018-04-191-0/+3
|\ \ | |/ |/| nvflinger: Call MicroProfileFlip on NVFlinger::Compose.
| * nvflinger: Call MicroProfileFlip on NVFlinger::Compose.Gravatar bunnei2018-04-181-0/+3
| |
* | GPU: Add support for the DXT23 and DXT45 compressed texture formats.Gravatar Subv2018-04-183-28/+35
| |
* | Merge pull request #351 from Subv/tex_formatsGravatar bunnei2018-04-184-8/+28
|\ \ | | | | | | GPU: Implemented the B5G6R5 format.
| * | GPU: Implemented the B5G6R5 format.Gravatar Subv2018-04-184-8/+28
| | |
* | | gl_shader_gen: Support vertical/horizontal viewport flipping. (#347)Gravatar bunnei2018-04-184-5/+29
|/ / | | | | | | | | | | * gl_shader_gen: Support vertical/horizontal viewport flipping. * fixup! gl_shader_gen: Support vertical/horizontal viewport flipping.
* | GLCache: Added boilerplate code to make supporting configurable texture ↵Gravatar Subv2018-04-183-9/+69
| | | | | | | | | | | | component types. For now only the UNORM type is supported.
* | GLCache: Unify texture and framebuffer formats when converting to OpenGL.Gravatar Subv2018-04-182-26/+13
| |
* | GPU: Texture format 8 and framebuffer format 0xD5 are actually ABGR8.Gravatar Subv2018-04-182-10/+10
| |
* | GPU: Pitch textures are now supported, don't assert when encountering them.Gravatar Subv2018-04-181-2/+3
| |
* | GLCache: Take into account the texture's block height when caching and ↵Gravatar Subv2018-04-183-43/+43
| | | | | | | | unswizzling.
* | GLCache: Added a function to convert cached PixelFormats back to texture ↵Gravatar Subv2018-04-181-0/+12
| | | | | | | | | | | | formats. TODO: The way we handle cached formats must change, framebuffer and texture formats are too different to keep them in the same place.
* | GPU: Allow using a configurable block height when unswizzling textures.Gravatar Subv2018-04-184-7/+23
| |
* | GPU/TIC: Added the pitch and block height fields to the TIC structure.Gravatar Subv2018-04-181-1/+16
|/
* Merge pull request #346 from bunnei/misc-gpu-improvementsGravatar bunnei2018-04-174-2/+11
|\ | | | | Misc gpu improvements
| * gl_rasterizer_cache: Add missing LOG statements.Gravatar bunnei2018-04-171-0/+3
| |
| * texture: Add missing formats.Gravatar bunnei2018-04-171-1/+3
| |