ReinUsesLisp
bc10714dcf
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
60993513af
Merge pull request #3123 from ReinUsesLisp/logging-return
common/logging: Silence no return value warnings
6 years ago
Fernando Sahmkow
67a8bd1e70
Merge pull request #3126 from yuzu-emu/revert-3106-bitfield
Revert "common/bit_field: Silence sign-conversion warnings"
6 years ago
Rodrigo Locatti
8ed0d92e32
Revert "common/bit_field: Silence sign-conversion warnings"
6 years ago
Rodrigo Locatti
3026aec9bd
Merge pull request #3106 from lioncash/bitfield
common/bit_field: Silence sign-conversion warnings
6 years ago
ReinUsesLisp
2ac834c722
common/logging: Silence no return value warnings
6 years ago
bunnei
a8295d2c53
Merge pull request #3047 from ReinUsesLisp/clip-control
gl_rasterizer: Emulate viewport flipping with ARB_clip_control
6 years ago
bunnei
3e0e4f146b
Merge pull request #3091 from lioncash/core-conversion
core: Make most implicit type conversion warnings errors on MSVC
6 years ago
Lioncash
14581e4a59
common/bit_field: Silence sign-conversion warnings
We can just use numeric_limits instead of relying on wraparound behavior
here.
6 years ago
Rodrigo Locatti
bb31df62bb
Merge pull request #3113 from lioncash/semi
common_funcs: Remove semicolons from INSERT_PADDING_* macros
6 years ago
Lioncash
f2e34efcbb
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
Rodrigo Locatti
790a482bb4
Merge pull request #3110 from greggameplayer/CompleteRGBA16UI
Complete the implementation of RGBA16UI
6 years ago
greggameplayer
c6bc13d0aa
correct the implementation of RGBA16UI
6 years ago
bunnei
885d88825e
Merge pull request #3089 from SciresM/play_statistics
Implement stub for IApplicationFunctions::QueryApplicationPlayStatisticsByUid
6 years ago
bunnei
360b0d1b30
Merge pull request #3093 from lioncash/mbedtls
core: Migrate off deprecated mbedtls functions
6 years ago
bunnei
02880a8195
Merge pull request #3092 from lioncash/util
key_manager: Make use of IOFile in WriteKeyToFile()
6 years ago
Fernando Sahmkow
b6f6733131
Merge pull request #3081 from ReinUsesLisp/fswzadd-shuffles
shader: Implement FSWZADD and reimplement SHFL
6 years ago
Rodrigo Locatti
7f424d0f60
Merge pull request #3107 from lioncash/hashable
common/hash: Remove unused HashableStruct
6 years ago
Rodrigo Locatti
ebb30cbefb
Merge pull request #3104 from lioncash/xts
xts_archive: Remove redundant std::string constructor
6 years ago
Lioncash
c5c89a4d5c
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
Rodrigo Locatti
cc9e682021
Merge pull request #3103 from lioncash/cfunc
common_funcs: silence sign-conversion warnings in MakeMagic()
6 years ago
Lioncash
03b73aa575
xts_archive: Remove redundant std::string constructor
We can just call the .data() member of path instead of constructing a
completely new string.
6 years ago
Lioncash
61f6eaad45
common_funcs: silence sign-conversion warnings in MakeMagic()
We can trivially resolve these by casting the characters to unsigned
values and then shifting the bits.
6 years ago
Rodrigo Locatti
cf770a68a5
Merge pull request #3084 from ReinUsesLisp/cast-warnings
video_core: Treat implicit conversions as errors
6 years ago
bunnei
d1f0d182a7
Update CONTRIBUTING.md
6 years ago
bunnei
2cacf97099
Merge pull request #3096 from jroweboy/patch-1
Move source in windows uploads into its own internal zip
6 years ago
James Rowe
d24fcaff77
Move source in windows uploads into its own internal zip
This should prevent path length issues when extracting the build from the installer
6 years ago
bunnei
f7d4c84807
Merge pull request #3090 from DarkLordZach/azure-source
ci: Package source with builds
6 years ago
Lioncash
64cbebc58f
key_manager: Make use of IOFile in WriteKeyToFile()
This properly handles unicode-based paths on Windows, while opening a
raw stream doesn't out-of-the-box.
Prevents file creation from potentially failing on Windows PCs that make
use of unicode characters in their save paths (e.g. writing to a user's
AppData folder, where the user has a name with non-ASCII characters).
6 years ago
Lioncash
e0c46e6879
core: Migrate off deprecated mbedtls functions
These functions are marked for deprecation and it's recommended that the
*_ret variants be used instead.
6 years ago
Lioncash
47a6bb2d5b
externals: Update httplib
Since the introduction of this library, numerous improvements have been
made. Notably, many of the warnings we would get by simply including the
library header have now been fixed. This makes it much easier to make
conversion warning an error.
6 years ago
Lioncash
f11b87ebf1
service: Resolve sign conversion errors
These are fairly trivial to resolve and most of the changes entail
using RESULT_UNKNOWN over ResultCode(-1).
6 years ago
Lioncash
75dec14f21
perf_stats: Resolve implicit int to double conversion error
We simply need to turn the literal argument to std::accumulate into a
double, rather than an int.
6 years ago
Lioncash
23878bf360
loader; Resolve sign conversion/truncation errors
6 years ago
Lioncash
86a1eb7789
gdbstub: Resolve sign conversion errors
6 years ago
Lioncash
12dc918937
kernel: Resolve sign conversion warnings
Uncovered a bug within Thread's SetCoreAndAffinityMask() where an
unsigned variable (ideal_core) was being compared against "< 0", which
would always be a false condition.
We can also get rid of an unused function (GetNextProcessorId) which contained a sign
mismatch warning.
6 years ago
Lioncash
86c397dd6e
file_sys: Resolve sign conversion warnings
Resolves a few trivial sign conversion/mismatch errors.
6 years ago
Lioncash
ef060ed40c
result: Add default error code for the ResultCode(-1) case
Will be used to reduce the overall duplication of the same magic value
all over the codebase in following changes.
6 years ago
Lioncash
581d2e36e5
crypto: Resolve sign-conversion warnings
6 years ago
Lioncash
27ab99490e
result: Resolve sign-coversion warnings
The constructor was implicitly using signed->unsigned conversions to
produce 0xFFFFFFFF. We can just specify this explicitly with UINT32_MAX.
6 years ago
Lioncash
19a0abc19b
arm_unicorn: Resolve sign conversion warnings
While we're at it, this also resolves a type truncation warning as well,
given the code was truncating from a 64-bit value to a 32-bit one.
6 years ago
Lioncash
96d677bef0
CMakeLists: Make most implicit type conversion warnings errors on MSVC
Quite frequently there have been cases where code has been merged into
the core that produces warning. In order to prevent this from occurring,
we can make the compiler flag these cases and allow our CI to flag down
any code that would generate these warnings.
This is beneficial given silent conversions from signed/unsigned can
result in logic bugs. This forces one writing changes to be explicit
about when signedness conversions are desirable, rather than leaving it
up to readers' interpretation.
Currently the codebase isn't in a state where it will build successfully
with this change applied, but this will be addressed in subsequent
follow-up changes. This set of changes will focus on making it build
properly with these changes for MSVC as a starting point for basic
coverage.
6 years ago
Zach Hilman
d4a1afba4b
ci: Package source with builds
6 years ago
Rodrigo Locatti
fb9418798d
video_core: Enable sign conversion warnings
Enable sign conversion warnings but don't treat them as errors.
6 years ago
Michael Scire
b0b0786493
Implement stub for QueryApplicationPlayStatisticsByUid
6 years ago
bunnei
8714d40a77
Merge pull request #3085 from bunnei/web-token-b64
yuzu: configure_web: Use Base64 encoded token
6 years ago
bunnei
8dc9f35baf
web-service: Port citra's updated web_backend code.
6 years ago
bunnei
883eb1a1a1
yuzu: configure_web: Use Base64 encoded token for simplifying user experience.
6 years ago
bunnei
0fc596de6e
Merge pull request #3082 from ReinUsesLisp/fix-lockers
gl_shader_cache: Fix locker constructors
6 years ago
ReinUsesLisp
18c1cb68fd
video_core: Treat implicit conversions as errors
6 years ago