| Age | Commit message (Collapse) | Author |
|
|
|
misc vcxproj cleanup
|
|
|
|
|
|
|
|
|
|
|
|
Android: Use correct encoding when converting strings
|
|
|
|
This function does *not* always convert from UTF-16. It converts
from UTF-16 on Windows and UTF-32 on other operating systems.
Also renaming UTF8ToUTF16 for consistency, even though it
technically doesn't have the same problem since it only was
implemented on Windows.
|
|
Some users who get this error don't seem to gain much understanding
of how to resolve the problem from reading the error message.
|
|
v2: Don't include glslang project wide.
|
|
These are only ever used with ShaderCode instances and nothing else.
Given that, we can convert these helper functions to expect that type of
object as an argument and remove the need for templates, improving
compiler throughput a marginal amount, as the template instantiation
process doesn't need to be performed.
We can also move the definitions of these functions into the cpp file,
which allows us to remove a few inclusions from the ShaderGenCommon
header. This uncovered a few instances of indirect inclusions being
relied upon in other source files.
One other benefit is this allows changes to be made to the definitions
of the functions without needing to recompile all translation units that
make use of these functions, making change testing a little quicker.
Moving the definitions into the cpp file also allows us to completely
hide DefineOutputMember() from external view, given it's only ever used
inside of GenerateVSOutputMembers().
|
|
glReadPixels() with depth formats is not supported.
Should fix broken EFB access on GLES.
|
|
|
|
Remove warnings of -Wsign-compare
|
|
Cleanup warnings of -Wmissing-declarations
|
|
Since we are calling this off the UI thread, we can't use anything which
accesses the underlying NSView object. We create and set the Metal layer
on the UI thread before the video backend is initialized. This extension
is both compatible with MoltenVK and gfx-portability for accepting a
layer at surface creation.
|
|
Cast the variable to the coresponding type.
|
|
Add static to the functions which is not intentionally
export to big scope.
|
|
Gets rid of the warning for calling [NSView layer] off the main thread.
|
|
Again, needed for MoltenVK.
|
|
Android 10 seems to expect a prerotated/transformed swap chain for optimal
presentation. For now, until we implement that, just ignore the hint.
|
|
This may help us debug performance problems in the future.
|
|
|
|
Pre-increment is more efficient, since it doesn't have to return the
old iterator.
|
|
copies.
Consolidate the NVIDIA Tegra and non-Tegra checks into one branch.
|
|
|
|
|
|
|
|
|
|
VideoCommon/BoundingBox: Make interface for querying bounding box data
|
|
Rather than expose the bounding box members directly, we can instead
provide an interface for code to use. This makes it nicer to transition
from global data, as the interface function names are already in
place.
|
|
Now that we've extracted all of the stateless functions that can be
hidden, it's time to make the index generator a regular class with
active data members.
This can just be a member that sits within the vertex manager base
class. By deglobalizing the state of the index generator we also get rid
of the wonky dual-initializing that was going on within the OpenGL
backend.
Since the renderer is always initialized before the vertex manager, we
now only call Init() once throughout the execution lifecycle.
|
|
|
|
Previously the logging was a in a little bit of a disarray. Some things
were in namespaces, and other things were not.
Given this code will feature a bit of restructuring during the
transition over to fmt, this is a good time to unify it under a single
namespace and also remove functions and types from the global namespace.
Now, all functions and types are under the Common::Log namespace. The
only outliers being, of course, the preprocessor macros.
|
|
|
|
|
|
Various quad-buffered ("HDMI 3D") stereo fixes
|
|
|
|
This was missing from the subgroup PR way back.
|
|
|
|
Vulkan: Optimizations for Mali with EFB2RAM on
|
|
|
|
Using the cached memory type appears to be slower on Mali drivers, with
~10-15% CPU spent in the __pi___inval_cache_range kernel function.
|
|
|
|
Otherwise the shaders we need for e.g. postprocessing are null.
|
|
Fix CPU EFB access on Adreno with Vulkan backend
|
|
|
|
|