ReinUsesLisp
d892e6789a
gl_rasterizer: Disable compute shaders on Intel
Intel's proprietary driver enters in a corrupt state when compute
shaders are executed. For now, disable these.
6 years ago
ReinUsesLisp
2726dca44c
gl_shader_cache: Hack shared memory size
The current shared memory size seems to be smaller than what the game
actually uses. This makes Nvidia's driver consistently blow up; in the
case of FE3H it made it explode on Qt's SwapBuffers while SDL2 worked
just fine. For now keep this hack since it's still progress over the
previous hardcoded shared memory size.
6 years ago
ReinUsesLisp
a52b0f1874
gl_shader_decompiler: Normalize image bindings
6 years ago
ReinUsesLisp
99ed7e5128
gl_shader_decompiler: Normalize cbuf bindings
Stage and compute shaders were using a different binding counter.
Normalize these.
6 years ago
ReinUsesLisp
54b16fb27a
gl_rasterizer: Add missing cbuf counter reset on compute
6 years ago
ReinUsesLisp
0ecd1a227d
gl_shader_cache: Remove dynamic BaseBinding specialization
6 years ago
ReinUsesLisp
5f6a589d63
video_core: Unify ProgramType and ShaderStage into ShaderType
6 years ago
ReinUsesLisp
2930400adc
gl_rasterizer: Bind graphics images to draw commands
Images were not being bound to draw invocations because these would
require a cache invalidation.
6 years ago
ReinUsesLisp
46ad4bd297
gl_shader_cache: Specialize local memory size for compute shaders
Local memory size in compute shaders was stubbed with an arbitary size.
This commit specializes local memory size from guest GPU parameters.
6 years ago
ReinUsesLisp
1669dfa793
gl_shader_cache: Specialize shared memory size
Shared memory was being declared with an undefined size. Specialize from
guest GPU parameters the compute shader's shared memory size.
6 years ago
ReinUsesLisp
b0b505984d
gl_shader_cache: Specialize shader workgroup
Drop the usage of ARB_compute_variable_group_size and specialize compute
shaders instead. This permits compute to run on AMD and Intel
proprietary drivers.
6 years ago
ReinUsesLisp
b12a7dbace
shader/texture: Handle TLDS texture type mismatches
Some games like "Fire Emblem: Three Houses" bind 2D textures to offsets
used by instructions of 1D textures. To handle the discrepancy this
commit uses the the texture type from the binding and modifies the
emitted code IR to build a valid backend expression.
E.g.: Bound texture is 2D and instruction is 1D, the emitted IR samples
a 2D texture in the coordinate ivec2(X, 0).
6 years ago
ReinUsesLisp
77f86f48ac
shader/texture: Deduce texture buffers from locker
Instead of specializing shaders to separate texture buffers from 1D
textures, use the locker to deduce them while they are being decoded.
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
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
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
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
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
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
Rodrigo Locatti
87039f537f
Merge pull request #3103 from lioncash/cfunc
common_funcs: silence sign-conversion warnings in MakeMagic()
6 years ago
Lioncash
fd6e676326
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
ae15e162be
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
e4a24b0c80
Merge pull request #3084 from ReinUsesLisp/cast-warnings
video_core: Treat implicit conversions as errors
6 years ago
bunnei
87c1f0b23d
Update CONTRIBUTING.md
6 years ago
bunnei
19987dc548
Merge pull request #3096 from jroweboy/patch-1
Move source in windows uploads into its own internal zip
6 years ago
James Rowe
1d2acb8a2c
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
197ef9203c
Merge pull request #3090 from DarkLordZach/azure-source
ci: Package source with builds
6 years ago
Lioncash
c6b2fd7415
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
4c6cd8b9e8
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
0092723959
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
20d6637c03
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