bunnei
b8f67a1bcd
Merge pull request #3105 from ReinUsesLisp/fix-stencil-reg
maxwell_3d: Fix stencil_back_func_mask offset
6 years ago
bunnei
9c25858f2d
Merge pull request #3156 from bunnei/sys-ticks
svc: GetSystemTick should return cntpct_el0, not core ticks.
6 years ago
bunnei
cd1b4b8832
Merge pull request #3153 from FearlessTobi/port-4964
Port citra-emu/citra#4964 : "Unfold UNREACHABLE implementation for dumb compilers"
6 years ago
bunnei
2ac4532aa0
Merge pull request #3145 from ReinUsesLisp/buffer-cache-init
buffer_cache: Remove brace initialized for objects with default constructor
6 years ago
bunnei
bde851fca2
Update svc.cpp
6 years ago
bunnei
5d381af66b
svc: GetSystemTick should return cntpct_el0, not core ticks.
6 years ago
bunnei
16a9d0d6e0
Merge pull request #3114 from FernandoS27/cond-var
Kernel: Correct behavior of Condition Variables to be more similar to real hardware.
6 years ago
bunnei
87748a8965
Merge pull request #3141 from ReinUsesLisp/gl-position
gl_shader_gen: Apply default value to gl_Position
6 years ago
bunnei
fd53e0bd02
Merge pull request #3130 from FernandoS27/cancel-sync
Kernel: Correct Cancel Synchronization.
6 years ago
Weiyi Wang
9a19c4bbd5
fix clang-format and lambda capture
6 years ago
Weiyi Wang
e20e161c5c
unfold UNREACHABLE implementation for dumb compilers
We relies on UNREACHABLE's noreturn attribute to eliminate parent's "no return value" warning. However, this was wrapped in a `if(!false)` block, which compilers may not unfold to recognize the noreturn nature.
6 years ago
bunnei
ccd42d0c09
Merge pull request #3140 from FearlessTobi/port-4953
Port citra-emu/citra#4953 : "citra_qt/main.ui: remove unused actions "Load Symbol Map..." and "Select Game Directory...""
6 years ago
bunnei
1c991441c2
Merge pull request #3112 from lioncash/skip
service/am: Remove unnecessary Skip calls
6 years ago
bunnei
b96fcfc160
Merge pull request #3111 from lioncash/query
am: Stub QueryApplicationPlayStatistics
6 years ago
Fernando Sahmkow
eb03767206
Kernel: Optimize condition variable threads management.
6 years ago
Fernando Sahmkow
eef3236ecd
Kernel: Correct SignalProcessWideKey
When the target is 0, all threads must be processed.
6 years ago
Fernando Sahmkow
b021fa33b9
Kernel: Correct behavior of Condition Variables to be more similar to real hardware.
This commit ensures cond var threads act exactly as they do in the real
console. The original implementation uses an RBTree and the behavior of
cond var threads is that at the same priority level they act like a
FIFO.
6 years ago
ReinUsesLisp
1b9c21529a
buffer_cache: Remove brace initialized for objects with default constructor
6 years ago
Mat M
424a78bd3f
Merge pull request #3142 from ReinUsesLisp/depbar-log
shader/other: Reduce DEPBAR log severity
6 years ago
ReinUsesLisp
d9a22880f5
shader/other: Reduce DEPBAR log severity
While DEPBAR is stubbed it doesn't change anything from our end. Shading
languages handle what this instruction does implicitly. We are not
getting anything out fo this log except noise.
6 years ago
ReinUsesLisp
68cdb253db
gl_shader_gen: Apply default value to gl_Position
Nvidia has sane default output values for varyings, but the other
vendors don't apply these. To properly emulate this we would have to
analyze the shader header. For the time being, apply the same default
Nvidia applies so we get the same behaviour on non-Nvidia drivers.
6 years ago
bunnei
44d462d511
Merge pull request #3086 from ReinUsesLisp/format-lookups
texture_cache: Use a flat table instead of switch for texture format lookups
6 years ago
Tobias
2d7e965f82
citra_qt/main.ui: remove unused actions "Load Symbol Map..." and...
..."Select Game Directory..."
Co-authored-by: vvanelslande <vvanelslandedev@gmail.com>
6 years ago
bunnei
6f822067f2
Merge pull request #3123 from ReinUsesLisp/logging-return
common/logging: Silence no return value warnings
6 years ago
Fernando Sahmkow
5ffbc20cae
Merge pull request #3126 from yuzu-emu/revert-3106-bitfield
Revert "common/bit_field: Silence sign-conversion warnings"
6 years ago
Fernando Sahmkow
323a0e17e7
Kernel: Correct Cancel Synchronization.
This commit corrects the behavior of cancel synchronization when the
thread is running/ready and ensures the next wait is cancelled as it's
suppose to.
6 years ago
Rodrigo Locatti
893648dbd0
Revert "common/bit_field: Silence sign-conversion warnings"
6 years ago
Rodrigo Locatti
7cffdf5a47
Merge pull request #3106 from lioncash/bitfield
common/bit_field: Silence sign-conversion warnings
6 years ago
ReinUsesLisp
a653f24a00
common/logging: Silence no return value warnings
6 years ago
bunnei
3546633a63
Merge pull request #3047 from ReinUsesLisp/clip-control
gl_rasterizer: Emulate viewport flipping with ARB_clip_control
6 years ago
bunnei
5897348571
Merge pull request #3091 from lioncash/core-conversion
core: Make most implicit type conversion warnings errors on MSVC
6 years ago
Lioncash
95ed7df791
common/bit_field: Silence sign-conversion warnings
We can just use numeric_limits instead of relying on wraparound behavior
here.
6 years ago
ReinUsesLisp
ccb87410ae
format_lookup_table: Address feedback
format_lookup_table: Drop bitfields
format_lookup_table: Use std::array for definition table
format_lookup_table: Include <limits> instead of <numeric>
6 years ago
ReinUsesLisp
c884dc8af2
texture_cache: Use a table instead of switch for texture formats
Use a large flat array to look up texture formats. This allows us to
properly implement formats with different component types. It should
also be faster.
6 years ago
Rodrigo Locatti
f24bc2e049
Merge pull request #3113 from lioncash/semi
common_funcs: Remove semicolons from INSERT_PADDING_* macros
6 years ago
Lioncash
51d9e22b7e
common_funcs: Remove semicolons from INSERT_PADDING_* macros
Makes code that uses the macros consistent by requiring the lines to be
terminated with a semicolon.
6 years ago
Lioncash
869878ac8d
service/am: Remove unnecessary Skip calls
We can simplify these by wrapping the necessary members in structs and
then simply reading out the whole struct.
6 years ago
ReinUsesLisp
c6afe25477
texture_cache: Drop abstracted ComponentType
Abstracted ComponentType was not being used in a meaningful way.
This commit drops its usage.
There is one place where it was being used to test compatibility between
two cached surfaces, but this one is implied in the pixel format.
Removing the component type test doesn't change the behaviour.
6 years ago
Rodrigo Locatti
5d40b90fb6
Merge pull request #3110 from greggameplayer/CompleteRGBA16UI
Complete the implementation of RGBA16UI
6 years ago
Lioncash
27611874d6
am: Stub QueryApplicationPlayStatistics
Maintains implementation parity between QueryApplicationPlayStatistics
and QueryApplicationPlayStatisticsByUid.
These function the same behaviorally underneath the hood, with the only
difference being that one allows specifying a UID.
6 years ago
greggameplayer
d60bce4edd
correct the implementation of RGBA16UI
6 years ago
bunnei
eacdeca1b0
Merge pull request #3089 from SciresM/play_statistics
Implement stub for IApplicationFunctions::QueryApplicationPlayStatisticsByUid
6 years ago
bunnei
9364f4d30c
Merge pull request #3093 from lioncash/mbedtls
core: Migrate off deprecated mbedtls functions
6 years ago
bunnei
08ad78fa7e
Merge pull request #3092 from lioncash/util
key_manager: Make use of IOFile in WriteKeyToFile()
6 years ago
Fernando Sahmkow
dfaeb0a97d
Merge pull request #3081 from ReinUsesLisp/fswzadd-shuffles
shader: Implement FSWZADD and reimplement SHFL
6 years ago
Rodrigo Locatti
3f7a3a9541
Merge pull request #3107 from lioncash/hashable
common/hash: Remove unused HashableStruct
6 years ago
Rodrigo Locatti
17397fd2ae
Merge pull request #3104 from lioncash/xts
xts_archive: Remove redundant std::string constructor
6 years ago
Lioncash
7d2b1204d7
common/hash: Remove unused HashableStruct
This is unused, so it can be removed. There's better ways of ensuring
zeroed out padding bits, like using zero-initialization, anyhow.
6 years ago
ReinUsesLisp
2f14d6ba63
maxwell_3d: Fix stencil_back_func_mask offset
stencil_back_func_mask and stencil_back_mask were misplaced. This commit
addresses that issue.
6 years ago
Rodrigo Locatti
87039f537f
Merge pull request #3103 from lioncash/cfunc
common_funcs: silence sign-conversion warnings in MakeMagic()
6 years ago