Lioncash
d18dda762c
renderer_base: Make creation of the rasterizer, the responsibility of the renderers themselves
Given we use a base-class type within the renderer for the rasterizer
(RasterizerInterface), we want to allow renderers to perform more
complex initialization if they need to do such a thing. This makes it
important to reserve type information.
Given the OpenGL renderer is quite simple settings-wise, this is just a
simple shuffling of the initialization code. For something like Vulkan
however this might involve doing something like:
// Initialize and call rasterizer-specific function that requires
// the full type of the instance created.
auto raster = std::make_unique<VulkanRasterizer>(some, params);
raster->CallSomeVulkanRasterizerSpecificFunction();
// Assign to base class variable
rasterizer = std::move(raster)
7 years ago
bunnei
f0b3a58e70
Merge pull request #1104 from Subv/instanced_arrays
GLRasterizer: Implemented instanced vertex arrays.
7 years ago
bunnei
d05b7cbe9c
Merge pull request #1115 from Subv/texs_mask
Shaders/TEXS: Write to the correct output register when swizzling.
7 years ago
bunnei
0e2d8a6fc3
Merge pull request #1112 from Subv/sampler_types
Shaders: Use the correct shader type when sampling textures.
7 years ago
bunnei
929cac9d1a
Merge pull request #1117 from ogniK5377/CheckFreeCommunicationPermission
Added CheckFreeCommunicationPermission
7 years ago
bunnei
e2227e88d4
Merge pull request #1017 from ogniK5377/better-account
New account backend to allow for future extended support
7 years ago
bunnei
c0a920a6ef
Merge pull request #1120 from ogniK5377/rgba8-uint
Implemented RGBA8_UINT
7 years ago
bunnei
6ce3a6a831
Merge pull request #1119 from lioncash/uninit
game_list: Avoid uninitialized variables when retrieving program ID
7 years ago
David Marcec
4d26be905a
Implemented RGBA8_UINT
Needed by kirby
7 years ago
Lioncash
9981f15c87
game_list: Avoid uninitialized variables when retrieving program ID
Avoids potentially leaving this variable uninitialized based off the
loader failing to retrieve the ID value.
7 years ago
David Marcec
43a8240c64
Added CheckFreeCommunicationPermission
This fixes save files not loading in splatoon 2
7 years ago
Subv
076cedb836
Shaders/TEXS: Fixed the component mask in the TEXS instruction.
Previously we could end up with a TEXS that didn't write any outputs, this was wrong.
7 years ago
bunnei
67de67fdcf
Merge pull request #1089 from Subv/neg_bits
Shaders: Corrected the 'abs' and 'neg' bit usage in the float arithmetic instructions.
7 years ago
bunnei
2a0d141f54
Merge pull request #1105 from Subv/convert_neg
Shader: Remove an unneeded assert, the negate bit is implemented for conversion instructions.
7 years ago
bunnei
6ebc5532d9
Merge pull request #1113 from Subv/texs_mask
Shaders/TEXS: Fixed the component mask in the TEXS instruction.
7 years ago
Subv
67da7c7ab8
Shaders/TEXS: Fixed the component mask in the TEXS instruction.
Previously we could end up with a TEXS that didn't write any outputs, this was wrong.
7 years ago
bunnei
540ac8b322
Merge pull request #1102 from ogniK5377/mirror-clamp-edge
Added WrapMode MirrorOnceClampToEdge
7 years ago
bunnei
565eb378c3
Merge pull request #1101 from Subv/ssy_stack
Shaders: Implemented a stack for the SSY/SYNC instructions.
7 years ago
Subv
1f92a7cb88
Shader: Implemented the TLD4 and TLD4S opcodes using GLSL's textureGather.
It is unknown how TLD4S determines the sampler type, more research is needed.
7 years ago
Subv
18b91924b1
Shader: Use the right sampler type in the TEX, TEXS and TLDS instructions.
Different sampler types have their parameters in different registers.
7 years ago
Subv
8b1711cdd5
Shader: Added bitfields for the texture type of the various sampling instructions.
7 years ago
Subv
906f9fb7bf
Shaders: Added decodings for TLD4 and TLD4S
7 years ago
bunnei
91fc6e1c91
Merge pull request #1109 from Subv/ldg_decode
Shaders: Added decodings for the LDG and STG instructions.
7 years ago
bunnei
4bd14d6da8
Merge pull request #1108 from Subv/front_facing
Shaders: Implemented the gl_FrontFacing input attribute (attr 63).
7 years ago
bunnei
ae71e7cffb
Merge pull request #1103 from Subv/lop_pred
Shader: Implemented the predicate and mode arguments of LOP.
7 years ago
Subv
d580b54809
Shaders: Added decodings for the LDG and STG instructions.
7 years ago
Subv
67e993fdd3
Shaders: Implemented the gl_FrontFacing input attribute (attr 63).
7 years ago
David Marcec
2ee02649df
Added check to see if ARB_texture_mirror_clamp_to_edge is supported
7 years ago
Subv
cdd03fbb45
Shader: Remove an unneeded assert, the negate bit is implemented for conversion instructions.
7 years ago
Subv
175096eff7
GLRasterizer: Implemented instanced vertex arrays.
Before each draw call, for every enabled vertex array configured as instanced, we take the current instance id and divide it by its configured divisor, then we multiply that by the corresponding stride and increment the start address by the resulting amount. This way we can simulate the vertex array being incremented once per instance without actually using OpenGL's instancing functions.
7 years ago
Subv
70e99baabe
Shader: Implemented the predicate and mode arguments of LOP.
The mode can be used to set the predicate to true depending on the result of the logic operation. In some cases, this means discarding the result (writing it to register 0xFF (Zero)).
This is used by Super Mario Odyssey.
7 years ago
James Rowe
67fc83b0b0
Merge pull request #838 from FearlessTobi/port-3616
Port #3616 from Citra: "appveyor: set jobs to 4 for mingw"
7 years ago
David Marcec
fe3ea08968
Added WrapMode MirrorOnceClampToEdge
Used by splatoon 2
7 years ago
Subv
c42b8cbdd0
Shaders: Implemented a stack for the SSY/SYNC instructions.
The SSY instruction pushes an address into the stack, and the SYNC instruction pops it. The current stack depth is 20, we should figure out if this is enough or not.
7 years ago
Subv
a175f7ba29
Shaders: Corrected the 'abs' and 'neg' bit usage in the float arithmetic instructions.
We should definitely audit our shader generator for more errors like this.
7 years ago
bunnei
67f7ebc21d
Merge pull request #1100 from ogniK5377/missing-pred
Added pred-condition GreaterThanWithNan
7 years ago
David Marcec
ab3b9d7aa5
Added predcondition GreaterThanWithNan
7 years ago
bunnei
80714d89d6
Merge pull request #1096 from bunnei/supported-blits
gl_rasterizer_cache: Remove asserts for supported blits.
7 years ago
bunnei
b4e380e0d7
Merge pull request #1097 from bunnei/gl-critical
renderer_opengl: Treat OpenGL errors as critical.
7 years ago
greggameplayer
c19eaa2787
Implement SetIdleTimeDetectionExtension & GetIdleTimeDetectionExtension ( #1059 )
* Used by Mario Tennis Aces
7 years ago
bunnei
4e76dbd751
Merge pull request #1090 from lioncash/ctor-assign
core: Delete System copy/move constructors and assignment operators
7 years ago
bunnei
a5c2b155de
Merge pull request #1091 from lioncash/warning
qt/main: Get rid of compilation warnings
7 years ago
bunnei
da0d5239c1
Merge pull request #1093 from greggameplayer/GetDefaultDisplayResolutionChangeEvent
Implement GetDefaultDisplayResolutionChangeEvent
7 years ago
bunnei
9705148ea2
gl_rasterizer_cache: Remove asserts for supported blits.
7 years ago
bunnei
aeea1e9108
renderer_opengl: Treat OpenGL errors as critical.
7 years ago
bunnei
5912824519
Merge pull request #1019 from Subv/vertex_divisor
Rasterizer: Manually implemented instanced rendering.
7 years ago
bunnei
79fc21a85e
Merge pull request #1087 from MerryMage/dynarmic
dynarmic: Update to 550d662
7 years ago
bunnei
33a9e673d2
Merge pull request #1084 from bunnei/depth
gl_rasterizer_cache: Treat Depth formats differently from DepthStencil.
7 years ago
greggameplayer
edccdedd16
correct coding style
7 years ago
greggameplayer
4c94d500df
Implement GetDefaultDisplayResolutionChangeEvent
Require by Toki Tori and Toki Tori 2+
7 years ago