summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-04-21GPU: Implement the A2BGR10 texture format.Subv
2018-04-21Merge pull request #377 from adityaruplaha/sdl2-fullscreenbunnei
SDL2: Implement fullscreen. (Original PR: citra-emu/citra#3607)
2018-04-21SDL2: Implement fullscreen. (Original PR: citra-emu/citra#3607)adityaruplaha
2018-04-21Merge pull request #376 from bunnei/shader-decoderbunnei
Shader opcode decoding
2018-04-20Merge pull request #375 from lioncash/headerbunnei
opengl: Remove unnecessary header inclusions
2018-04-20gl_shader_decompiler: Skip RRO instruction.bunnei
2018-04-20gl_shader_decompiler: Cleanup error logging.bunnei
2018-04-20shader_bytecode: Add several more instruction decodings.bunnei
2018-04-20shader_bytecode: Decode instructions based on bit strings.bunnei
2018-04-20Merge pull request #369 from Subv/shader_instr2bunnei
ShaderGen: Implemented fsetp/kil and predicated instruction execution.
2018-04-20Merge pull request #374 from lioncash/noexceptbunnei
gl_resource_manager: Add missing noexcept specifiers to move constructors and assignment operators
2018-04-20Merge pull request #373 from lioncash/enum2bunnei
gl_rasterizer_cache: Make MatchFlags an enum class
2018-04-20ShaderGen: Implemented the KIL instruction, which is equivalent to 'discard'.Subv
2018-04-20ShaderGen: Implemented predicated instruction execution.Subv
Each predicated instruction will be wrapped in an `if (predicate) { instruction_body; }` in the GLSL, where `predicate` is one of the predicate boolean variables previously set by fsetp.
2018-04-20ShaderGen: Implemented the fsetp instruction.Subv
Predicate variables are now added to the generated shader code in the form of 'pX' where X is the predicate id. These predicate variables are initialized to false on shader startup and are set via the fsetp instructions. TODO: * Not all the comparison types are implemented. * Only the single-predicate version is implemented.
2018-04-20Merge pull request #372 from lioncash/enumbunnei
resource_limit: Make ResourceTypes an enum class
2018-04-20opengl: Remove unnecessary header inclusionsLioncash
2018-04-20gl_resource_manager: Add missing noexcept specifiers to move constructors ↵Lioncash
and assignment operators Standard library containers may use std::move_if_noexcept to perform move operations. If a move cannot be performed under these circumstances, then a copy is attempted. Given we only intend for these types to be move-only this can be somewhat problematic. By defining these to be noexcept we prevent cases where copies may be attempted.
2018-04-20gl_rasterizer_cache: Make MatchFlags an enum classLioncash
Prevents implicit conversions and scope pollution.
2018-04-20core: Relocate g_service_manager to the System classLioncash
Converts the service manager from a global into an instance-based variable.
2018-04-20resource_limit: Make ResourceTypes an enum classLioncash
Prevents enum identifiers from leaking into the surrounding scope.
2018-04-20Merge pull request #340 from mailwl/vi-updatebunnei
Service/VI: stub SetLayerVisibility, fix GetDisplayResolution output
2018-04-20ShaderGen: Register id 255 is special and is hardcoded to return 0 (SR_ZERO).Subv
2018-04-20ShaderGen: Ignore the 'sched' instruction when generating shaders.Subv
The 'sched' instruction has a very convoluted encoding, but fortunately it seems to only appear on a fixed interval (once every 4 instructions).
2018-04-20Merge pull request #367 from lioncash/clampbunnei
math_util: Remove the Clamp() function
2018-04-20Merge pull request #361 from lioncash/commonbunnei
common_types: Minor changes
2018-04-20math_util: Remove the Clamp() functionLioncash
C++17 adds clamp() to the standard library, so we can remove ours in favor of it.
2018-04-20Merge pull request #360 from lioncash/namespacesbunnei
service: Use nested namespace specifiers where applicable
2018-04-20Merge pull request #364 from lioncash/thread-localbunnei
common/thread: Remove unnecessary feature checking for thread_local
2018-04-20Merge pull request #362 from lioncash/snprintfbunnei
common_funcs: Remove check for VS versions that we don't even support
2018-04-20Merge pull request #363 from lioncash/array-sizebunnei
common_funcs: Remove ARRAY_SIZE macro
2018-04-20Merge pull request #366 from lioncash/vecbunnei
vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]
2018-04-20Merge pull request #365 from lioncash/codeblockbunnei
common: Remove code_block.h
2018-04-19vector_math: Remove AsArray() and Write() functions from Vec[2,3,4]Lioncash
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).
2018-04-19common: Remove code_block.hLioncash
We use dynarmic, so this is unued. Anything else we need will likely use Xbyak, so this header isn't necessary any more.
2018-04-19common/thread: Remove unnecessary feature checking for thread_localLioncash
Every compiler we require already supports it.
2018-04-19common_funcs: Remove ARRAY_SIZE macroLioncash
C++17 has non-member size() which we can just call where necessary.
2018-04-19common_funcs: Remove check for VS versions that we don't even supportLioncash
We don't support any VS versions that don't already have snprintf in the standard library implementation.
2018-04-19common_types: Convert typedefs to using aliasesLioncash
May as well while we're making changes to this file.
2018-04-19common_types: Remove unnecessary check for whether or not__func__ is definedLioncash
VS has supported this for quite a while.
2018-04-19service: Use nested namespace specifiers where applicableLioncash
Tidies up namespace declarations
2018-04-19Merge pull request #357 from lioncash/guardbunnei
renderer_opengl: Add missing header guards
2018-04-19Merge pull request #358 from lioncash/explicitbunnei
disk_filesystem: Minor changes
2018-04-19vi: Remove redundant initializers in the constructorsLioncash
2018-04-19disk_filesystem: Remove unused total_entries_in_directory member from ↵Lioncash
Disk_Directory
2018-04-19disk_filesystem: Remove redundant initializer in Disk_Directory's constructorLioncash
2018-04-19disk_filesystem: Make constructors explicit where applicableLioncash
2018-04-19renderer_opengl: Add missing header guardsLioncash
2018-04-19Merge pull request #356 from lioncash/shaderbunnei
glsl_shader_decompiler: Minor API changes to ShaderWriter
2018-04-19Merge pull request #355 from Subv/shader_instrbunnei
ShaderGen: Fixed TEXS overriding its own texcoords and implemented fmul32i