| Commit message (Collapse) | Author | Files | Lines |
|
On AMD a subpixel offset of 1/512 of the texel size is applied to the texture coordinates at a ImageGather call to ensure the rounding at the texel centers is done the same way as in Maxwell or other Nvidia architectures.
See https://www.reedbeta.com/blog/texture-gathers-and-coordinate-precision/ for more details why this might be necessary.
This should fix shadow artifacts at object edges in Zelda: Breath of the Wild (#9957, #6956).
|
|
|
|
Signed-off-by: arades79 <scravers@protonmail.com>
|
|
Signed-off-by: arades79 <scravers@protonmail.com>
|
|
These built-ins seem to be available without needing to be declared for fragment shaders, similar i.e. to gl_FragDepth
|
|
Also fixes for texture buffers, which do not have mips eithers.
|
|
|
|
|
|
|
|
The frontend IR opcodes do not distinguish between signed and unsigned integer types.
Fixes broken shaders when IR validation/graphics debugging is enabled for shaders that used BitCastS32F32
|
|
|
|
|
|
|
|
|
|
|
|
Disabling C4100 is similar to -Wno-unused-parameter
|
|
Fix some typos reported by Lintian
|
|
|
|
|
|
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
|
|
|
|
|
|
|
|
|
|
Found by static analysis with PVS-Studio. Original check wasn't actually checking for OOB and would segfault in case of it.
|
|
|
|
|
|
some drivers have a bug bitwise converting floating point cbuf values to uint variables. This adds a workaround for these drivers to make all cbufs uint and convert to floating point as needed.
|
|
|
|
Works around an nvidia driver bug, where casting the integer attributes to float and back to an integer always returned 0.
|
|
|
|
|
|
|
|
|
|
Thanks for everything!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adheres to GL_ARB_separate_shader_objects requirements
|
|
|
|
|
|
Silences the following warnings-turned-errors:
-Wsign-conversion
-Wunused-private-field
-Wbraced-scalar-init
-Wunused-variable
And some other errors
|
|
|
|
|
|
|
|
account for the fact that program.*memory_size is in units of bytes.
|
|
Used by MH:Rise
|
|
|
|
|
|
Put all varyings into a single std::bitset with helpers to access it.
Implement passthrough geometry shaders using host's.
|
|
This ensures the original operand values are not overwritten when being used in the overflow detection.
|
|
|
|
|
|
|
|
|
|
Fixes rendering in Devil May Cry without regressing Ori and the Blind Forest.
|
|
Fixes shader compilation in Okami HD
|
|
|
|
|
|
|
|
|
|
|
|
Fixes Ori and the blind forest title screen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
plus some minor refactoring of implementations
|
|
|
|
|
|
|
|
|
|
and wip nv thread shuffle impl
|
|
|
|
|
|
Fix for SULD.D
|
|
|
|
|
|
|
|
along with some more cleanup/oversight fixes
|
|
|
|
|
|
|
|
|
|
and more cleanup
|
|
|
|
|
|
needed for HW:AoC.
|
|
along with some other misc changes and fixes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and add some more separation in the shader for better debugability when dumped
|
|
|
|
|
|
and implement misc getters
|
|
|
|
|
|
SSBU now working
|
|
|
|
|
|
|
|
|
|
and missed a diff in emit_glsl relating to var alloc ref counting
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fixes font rendering issues as these were used to index into the ssbos
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
to fix Loop control flow.
|
|
|
|
|
|
plus some other misc additions/changed
|
|
and many other misc implementations
|
|
|
|
|
|
|
|
|
|
Logic for ordered/unordered ops was wrong.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
based on glasm with some tweaks
|
|
|