- Apr 30, 2020
-
-
Niklas Haas authored
-
Niklas Haas authored
This version is slightly more lenient in also allowing discarding the target if we're rendering to a region *larger* than it, and as a side note, avoids re-normalizing the scissors.
-
Niklas Haas authored
This sort of prevents the error in 6519460a from occurring. In theory we could still discard the framebuffer contents when rendering non-transparent scissored subrects, but that's a separate check (and arguably not even a good idea).
-
Niklas Haas authored
The existence of this parameter was _completely_ forgotten about. On GPUs that actually respect the load operation, this results in any shaders involving blending or scissoring to generate corrupted output. Fixes #84
-
Niklas Haas authored
This fixes a failure to skip the cmat when the bit depth is identical but only one of the two was specified.
-
Niklas Haas authored
Absolutely no reason to loop with 1ms polls here.
-
Niklas Haas authored
1) We have to restrict all image usage features that have corresponding format feature flags. 2) We should check for transfer_dst/color_attachment support *after* restricting the format features.
-
Niklas Haas authored
This somewhat uglily requires copying around the push consatnts into pl_buffer_vars, but whatever. It'd be even uglier to try and somehow avoid doing that. Anyway, apart from reducing logic duplication, this (very importantly) allows us to benefit from the offset sorting performed by this helper. Works around a very real bug in SPIRV-Cross.
-
Niklas Haas authored
This is only done when actually emitting GLSL, as a way to avoid random breakages when buffer vars are emitted out-of-order. (In practice, stuff like this can break when e.g. emitting MSL via SPIRV-Cross)
-
Niklas Haas authored
The current code doesn't skip the cmat even if the only operation that needs to be applied is the independent alpha handling. Instead of only returning if the entire function is a no-op, emit the parts of the code that can always be safely emitted and only skip the cmat if it's a no-op.
-
Niklas Haas authored
The _m suffix must have been a freak oversight.
-
Niklas Haas authored
This should technically be based off the gles_ver, not pl_glsl_desc.gles, even though the two are equivalent in practice.
-
Niklas Haas authored
Dunno why this was left as a TODO. It's a really easy thing to check.
-
- Apr 28, 2020
-
-
Niklas Haas authored
This was never actually done, anywhere. In theory we might also want to PL_DEBUG out the build configuration.
-
Niklas Haas authored
Ubuntu 18.04 is too old to have it.
-
Niklas Haas authored
This was completely forgotten by accident.
-
Niklas Haas authored
Two of these functions were not correctly guarded (either too strict, or not at all), and also, the check for the extension itself was missing.
-
Niklas Haas authored
The division needs to happen before the multiplication. The bias was also off by one.
-
Niklas Haas authored
The pl_glsl_desc can technically be overridden.
-
Niklas Haas authored
The user can technically override this version requirement, so use SH_GLSL instead of SH_GPU. Also, check more explicitly whether or not the pl_gpu was actually set, and clean up the gpu usages.
-
Niklas Haas authored
For debugging
-
- Apr 22, 2020
-
-
Niklas Haas authored
Because OpenGL is now pretty decently tested and considered to be more or less a first class citizen GPU, I think it's time to raise the major version to commemorate its addition.
-
Niklas Haas authored
-
Niklas Haas authored
Turns out warning level 3 was *waaaay* too warn-happy. Seems to have -Wextra and -Wpedantic and stuff.
-
Niklas Haas authored
Picked up by the stricter default warning level accidentally introduced in d2411924.
-
Niklas Haas authored
These are pretty pointless
-
Niklas Haas authored
As suggested by a set of new warnings.
-
Niklas Haas authored
Oops. Maybe I should have used the `ci` branch to test my changes. If only pushing to that branch didn't spam the IRC...
-
Niklas Haas authored
We're surprisingly close to the 30s timeout for llvmpipe/swrast
-
Niklas Haas authored
In particular, this also tests the static sh_lut mechanism.
-
Niklas Haas authored
We accidentally forgot to specify the correct profile, instead always choosing compatibility profile.
-
Niklas Haas authored
Oops.
-
Niklas Haas authored
This makes the OpenGL test rather slow to execute, but oh well. I chose to do it with OpenGL but not Vulkan because Vulkan and older GLSL don't really make sense and probably don't really mix well either, since vulkan semantics requires explicit layouts and stuff that needs newer GLSL to parse anyway. Closes #60.
-
Niklas Haas authored
-
Niklas Haas authored
These layouer qualifiers don't parse on older GLSL. So just omit them and rely on it magically working.
-
Niklas Haas authored
Also mirror the capability restriction feature for pl_opengl
-
Niklas Haas authored
This seems like a reasonable thing to support. Also communicate to the user what layers were successfully enabled.
-
Niklas Haas authored
This code was a bit lopsided out of laziness.
-
- Apr 21, 2020
-
-
Niklas Haas authored
This document was still referencing ancient locations of stuff that got moved.
-
- Apr 20, 2020
-
-
Niklas Haas authored
The GPU CI instance still hangs inside the new environment for some reason, but the main buildbots can handle it fine.
-