Yuri Kunde Schlesner
5bed732b03
Kernel: Implement svcGetSystemInfo
This makes smealum/ctrulib@b96dd51d3349961189d4ab1bc2a5c45deff21c09 work
with Citra.
10 years ago
Lioncash
af06eaf78d
armstate: Zero out the registers on creation
std::array isn't always guaranteed to explicitly zero out it's contents
without an initializer list.
10 years ago
Subv
a84d5aa51e
Core/ARM11: Correct the size of the VFP register array in the ThreadContext structure.
The VFP registers are 64 bits each, and there are 32 of them.
10 years ago
archshift
6e66a1244e
Refactor ScanDirectoryTreeAndCallback to separate errors and retvals
ScanDirectoryTreeAndCallback, before this change, coupled error/return
codes and actual return values (number of entries found). This caused
confusion and difficulty interpreting the precise way the function
worked.
Supersedes, and closes #1255 .
10 years ago
bunnei
4cbe626fc7
renderer_opengl: Fix uniform issues introduced with kemenaran/avoid-explicit-uniform-location.
10 years ago
Pierre de La Morinerie
1c196456f0
Use regular uniform location
The support for GL_ARB_explicit_uniform_location is not that good
(53% according to http://feedback.wildfiregames.com/report/opengl/feature/GL_ARB_explicit_uniform_location ).
This fix the shader compilation on Intel HD 4000 (#1222 ).
10 years ago
polaris-
18990ff322
Add stub functions for Initialize and GenerateRandomData in ssl:C
10 years ago
polaris-
7603ea3da1
Add Initialize and GenerateRandomData stubs
10 years ago
polaris-
ec1195c252
Fix read and write register blocks in gdbstub
Previously, the padding wasn't correctly accounted for which caused the gdbstub to read and write everything after R15 (starting with the dummy FPA registers) incorrectly, which caused CPSR to not be handled correctly. Everything appears to be working as expected with this change.
10 years ago
Subv
9acdb1e7f2
FragShader: Use an UBO instead of several individual uniforms
10 years ago
wwylele
8b6d444dd1
fix failure on gcc and clang
10 years ago
wwylele
3b7cbb25e3
disable unary minus when the type is not signed
silent warning C4146 on msvc
10 years ago
Subv
b797ef4d9a
GPU/Loaders: Log an error when a loader tries to load from a component beyond the available ones (12).
Related to #1170
10 years ago
polaris-
505489551d
Fix bug with reading addresses and lengths
10 years ago
polaris-
fd7f61becf
Change headers
10 years ago
Lioncash
1349faf744
csnd_snd: Get rid of type punning
10 years ago
Matthias Ernst
5c7881c4a3
Added CSND stub.
10 years ago
archshift
5da25ae7d0
Implement FS_User::GetFreeBytes
10 years ago
Filiph Sandström
23e1121337
Fix copy paste
10 years ago
Filiph Sandström
d248fba5e3
Fix wrong branch
10 years ago
Filiph Sandström
29077f65a2
Add GetTotalStepCount Stub
10 years ago
Filiph Sandström
bf5793c2f8
Update ptm.h
10 years ago
polaris-
ac325ce61a
Add some headers so TravisCI will hopefully work
10 years ago
polaris-
f4520eb266
Use CHAR_BIT instead of 8
10 years ago
polaris-
4e0ae45d99
Handle changes pointed out in comments on PR
10 years ago
bunnei
b7b11eb5e7
gl_shader_gen: Use explicit locations for vertex shader attributes.
10 years ago
bunnei
1eb1fd06d1
gl_shader_gen: Optimize code for AppendAlphaTestCondition.
- Also add a comment to AppendColorCombiner.
10 years ago
bunnei
7bad07b3ef
gl_rasterizer: Define enum types for each vertex texcoord attribute.
10 years ago
bunnei
4175a09b7d
gl_shader_gen: Various cleanups to shader generation.
10 years ago
bunnei
2fd9b1999f
gl_rasterizer: Use MMH3 hash for shader cache hey.
- Includes a check to confirm no hash collisions.
10 years ago
bunnei
61b33d7266
gl_shader_gen: Require explicit uniform locations.
- Fixes uniform issue on AMD.
10 years ago
bunnei
aa1dec1953
gl_shader_gen: Rename 'o' to 'attr' in vertex/fragment shaders.
10 years ago
bunnei
3ed0610e5d
gl_shader_gen: AppendAlphaModifier default should be 0.0, not vec4(0.0).
10 years ago
bunnei
e69743a943
gl_shader_gen: Fix bug where TEV stage outputs should be clamped.
10 years ago
bunnei
589d3e2e20
gl_rasterizer: Add documentation to ShaderCacheKey.
10 years ago
bunnei
06d9c2795c
gl_shader_gen: Add additional function documentation.
10 years ago
bunnei
711a23b8ca
gl_shader_util: Cleanup header file + add docstring.
10 years ago
bunnei
d8eca2f795
gl_shader_gen: Various cleanups + moved TEV stage generation to its own function.
10 years ago
bunnei
eefabd6b7d
renderer_opengl: Refactor shader generation/caching to be more organized + various cleanups.
10 years ago
bunnei
44a1dcc088
gl_rasterizer: Move logic for creating ShaderCacheKey to a static function.
10 years ago
bunnei
05e11e151d
gl_shader_util: Use vec3 constants for AppendColorCombiner.
10 years ago
bunnei
a81772552c
gl_rasterizer: Fix typo in uploading TEV const color uniforms.
10 years ago
bunnei
9722d39bc5
gl_shader_util: Fix precision bug with alpha testing.
- Alpha testing is not done with float32 precision, this makes the HW renderer match the SW renderer.
10 years ago
Subv
8733dd568d
Initial implementation of fragment shader generation with caching.
11 years ago
polaris-
37b35180c5
Add a register variable to loops
10 years ago
polaris-
6c4f45627c
Update register read loops to go with last commit
10 years ago
polaris-
86a42ff827
Pad responses to gdb for VFP registers
10 years ago
polaris-
82f537482d
Try to add support for VFP registers
10 years ago
polaris-
0de246f668
Fix buffer overflow comments
10 years ago
wwylele
91874459b3
change file path encoding to Local8bit()
to support non-latin characters
10 years ago