| Age | Commit message (Collapse) | Author |
|
|
|
GL_EXT_shader_framebuffer_fetch
We will automatically choose between real_ocol0 and ocol0 in the fragment shader.
|
|
|
|
|
|
|
|
Fix copy filter clamping
|
|
|
|
This produces behavior matching the behavior on hardware (see Wario's Gold Mine in Mario Kart Wii).
|
|
|
|
The benefit to exposing this over the raw BP state is that adjustments Dolphin makes, such as LOD biases from arbitrary mipmap detection, will work properly.
|
|
|
|
This was added in 0b9a72a62d38481ff08f742b2318d07f29ff5dff but became irrelevant in 70f9fc4e7526fc9cfc008a43cd33229f62be99b6 as the check is now self-explanatory due to a rejiggering of the bitfields.
|
|
|
|
Also, update MoltenVK to match Vulkan SDK 1.2.189.
|
|
|
|
The compiler was loudly announcing each and every branch Tev was not checking in
a switch statement, but Tev has learned it's lesson and will produce that
warning no more.
|
|
|
|
Currently the logic for addressing the individual TexUnits is splattered all
across dolphin's codebase, this commit attempts to consolidate it all into a
single place and formalise it using our new TexUnitAddress struct.
|
|
VideoCommon: Abstract bounding box
|
|
This moves much of the duplicated bounding box code into VideoCommon,
leaving only the specific buffer implementations in each backend.
|
|
|
|
|
|
|
|
shaders / textures. These names are visible in applications like RenderDoc
|
|
12 is the latest release and various editors (VS, VSCode and CLion)
ship with clang-format 12 by default.
|
|
|
|
|
|
This fixes eyelids in Shadow the Hedgehog during cutscenes (https://bugs.dolphin-emu.org/issues/11458)
|
|
This fixes various texture offsetting issues with negative texture coordinates (bringing the software renderer in line with the hardware renderers). It also handles the invalid wrap mode accurately (as was done for the hardware renderers in the previous commit). Lastly, it handles wrapping with non-power-of-2 texture sizes in a hardware-accurate way (which is somewhat broken looking, as games aren't supposed to use wrapping with non-power-of-2 sizes); this has not been done for the hardware renderers.
|
|
|
|
SPDX standardizes how source code conveys its copyright and licensing
information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX
tags are adopted in many large projects, including things like the Linux
kernel.
|
|
Software: Fix bad backbuffer size
|
|
These asserts were removed for the hardware renderer in #3684.
|
|
Update buffer_storage warning message
|
|
... while not breaking other games.
|
|
VideoCommon: Perform OpenGL bounding box inversion in pixel shader
|
|
It seems that we were writing values from helper invocations, which
produces wrong results.
|
|
Running the min/max operation on the upside down, quad-rounded pixel
coordinates before inverting them to the standard upper-left origin
produces wrong results. Therefore, we need to do the inversion before
rounding to pixel quads.
|
|
|
|
|
|
OGL: Force memory barrier when reading back bounding box values
|
|
We also need to ensure the the CPU does not receive stale values
which have been updated by the GPU. Apparently the buffer here
is not coherent on NVIDIA drivers. Not sure if this is a driver
bug/spec violation or not, one would think that
glGetBufferSubData() would invalidate any caches as needed, but
this path is only used on NVIDIA anyway, so it's fine. A point
to note is that according to ARB_debug_report, it's moved from
video to host memory, which would explain why it needs the
cache invalidate.
|
|
|
|
This avoids rounding values that the game writes to the bounding box
registers, especially the default values.
|
|
|
|
|
|
MAX_XFB_WIDTH/HEIGHT are the largest XFB sizes seen in practice, but do not make sense to use for the backbuffer size, which should be the size of the window. The old code created screenshots with a size of 720x540 on NTSC games when "Dump Frames at Internal Resolution" is unchecked; now, the window size is used.
|
|
variants
This will allow for some aspects of bounding box to be handled in
VideoCommon instead of individual backends.
|
|
When trying to do a small optimization in 8a0f5ea, I failed to
take into account that WeakFlush and FlushOne update m_query_count.
Only D3D11 and OGL had this problem, not D3D12 and Vulkan.
|
|
|