Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/haasn/libplacebo
Official mirror of libplacebo
https://github.com/haasn/libplacebo
It doesn't understand that TARRAY_GROW never returns NULL, so teach it.
3a663e94c973186684783cd0193aba6862d67f36 authored about 6 years ago by Niklas Haas <[email protected]>
Turns out clang was right in warnung us about the possible division by
zero: we only asserted > ...
We previously just ignored this, even when the transfer queue required
it. I have no idea how I ...
This must be a multiple of 4, however our API does not require this
(rightfully so). So just cop...
Needed for compatibility with older vulkan versions
5e2a0fb727d06398d123a757481a71c10f74aafc authored about 6 years ago by Niklas Haas <[email protected]>
This limitation was causing issues with a very real use case: uploading
cropped texture data fro...
68b02d38587bc22e33f70e496991e4c058f7647d authored about 6 years ago by Niklas Haas <[email protected]>
We have confirmed that these structs need to be used when creating an
image or buffer that will ...
Upstream has decided against renaming shaderc_shared.so to shaderc.so,
so right now this only fi...
This skips glslang by default if it's set to 'auto' when shaderc is also
found. (However, we sti...
I had previously assumed that _GENERAL was the only possible layout for
external API interop, bu...
This should hopefully make it slightly clearer how libplacebo expects
users to interact with its...
Make it clear that the contents of the memory are not useful while the
objects are not exported....
d85306620fdb4f34b052c4754c21e6164b6c7536 authored about 6 years ago by Niklas Haas <[email protected]>
The exported memory/sync handles don't really make sense if we don't
expose the device UUID they...
These should make the intent more clear and reduce the risk of
confusion.
This reverts commit 52c21bbc3e3c109457cfe26dfc4c016a0e542523.
863af4296ebab8d881fa1a3b252ce9a2afcbd107 authored about 6 years ago by Niklas Haas <[email protected]>This reverts commit adab9b76e7fff029712d71326eb6224f2d77f7b5.
4d36fc4471180f1af585269b27df09cdbd03c1c9 authored about 6 years ago by Niklas Haas <[email protected]>
Forgot to actually mark them as dedicated, which led to them never
getting cleaned up.
0a6a5d87a5bb25bd9ff6f8816f65fae5b695d6e5 authored about 6 years ago by Niklas Haas <[email protected]>
We already have logic to pre-cache swapchain frames, so it's trivial for
us to fetch the first s...
Just use some dirty hacks to signal the VkSemaphore, for lack of any
actual external API usage h...
These must eventually be ref-counted once we start using them to
synchronize access to actual GP...
This change introduces the generic definition of an exported semaphore
pair. Such a pair can be ...
This is similar to the old vulkan hold/release_external but more
generalized and more powerful. ...
Edge case that can arise in the test suite.
04331ebedc71cabae76f3d7d566b12451015e2d7 authored about 6 years ago by Niklas Haas <[email protected]>
When we introduce exportable semaphores, we'll have handles which are
not memory-backed. To avoi...
I missed this assertion when I added support for exportable textures.
a07caf544b7090489ca80260342887e127e601c2 authored about 6 years ago by Philip Langdale <[email protected]>Forgot this one in the previous commit.
76b707ffe3d9f4fdad5aaee474bd73b58a1b174c authored about 6 years ago by Niklas Haas <[email protected]>
I'm not 100% sure that this is guaranteed to be a power of two - and
even if it is currently, it...
This mirrors a similar change in mpv, which helped reduce vsync jitter
measurements by including...
The vertex buffer might be larger than the amount of vertex information
we're actually rendering...
This is analogous to the existing functionality for buffers. A
texture may be created, requestin...
ra -> gpu
5b28072a2e79e748ae942f441b351c2e2e176bfe authored about 6 years ago by Niklas Haas <[email protected]>
This makes no real sense in gpu.h, since the pl_gpu doesn't actually
need this information in an...
No reason to have the space inside the string.
a0781c25a85fe0193ca51a5189ecf6fb831b3931 authored about 6 years ago by Niklas Haas <[email protected]>7a80dfd46a906e232104810263eb8ae976c990ea authored about 6 years ago by Niklas Haas <[email protected]>
Ever since SPIRV-Cross has started emulating std140 layout when
cross-compiling SPIR-V to D3D11,...
37a47146c4634c0cbe8571528962826c154b6da2 authored about 6 years ago by Zhao Zhili <[email protected]>
2489434b4f48fcd7b3ccaba937c11052af6c2292 authored about 6 years ago by Zhao Zhili <[email protected]>
7251c9bef48b070f96006242f2a1bd277743ef79 authored about 6 years ago by Zhao Zhili <[email protected]>
41771d7bd84048f3bbb54e5b2eec71f053e42c7c authored about 6 years ago by Zhao Zhili <[email protected]>
Rather than editing this every time there's a new extension, it's
probably saner in the long run...
Since there's no better way to check for the existence of this value
other than by literally pro...
Rename subX/Y to sub_x/y for consistency
96e0dad14de19096cddad814e7ad0853590c9963 authored about 6 years ago by Niklas Haas <[email protected]>
The code as written always used the subsampled weights for chroma, even
if the actual chroma pla...
While the access mask is ignored for a queue family ownership transfer,
the pipeline stage is no...
6fc7b376d89ec0af2eb9e59861d17ad7e6184ab5 authored about 6 years ago by Zhao Zhili <[email protected]>
5bff31f610eb8c1141d6c3f109a2288417e21aaa authored about 6 years ago by Niklas Haas <[email protected]>
See the justification in the comments. Works around build issues on some
platforms. Not the clea...
Oops.
That brings back down the CPU usage of the API2 demo to basically zero.
Doesn't change th...
The renderer no longer has any abort() code paths, and the API version
indicator is now stable o...
cde743b0862e1e671f4f6a2fcfe6de9f0b0477d8 authored about 6 years ago by Niklas Haas <[email protected]>
The underlying device memory may get reused by libplacebo, thus
invalidating the contents of any...
dae5e132601ddcfb54c9a2bf57b16280f6d0c08a authored about 6 years ago by Niklas Haas <[email protected]>
957dc5e4fd54a53297059bd9c7f0aa000eb9ff5d authored about 6 years ago by Niklas Haas <[email protected]>
Now it actually works correctly for the Cp channel
3d2cdb66ed45346f00e2d215b4b12de35d1051a3 authored about 6 years ago by Niklas Haas <[email protected]>For debugging purposes
3de531b93677b0218a00fea709b4bfdcf90807d5 authored about 6 years ago by Niklas Haas <[email protected]>
But add an extra assert to make sure we catch bugs due to forgetting to
add other non-linear col...
This may be useful in cases where users need access to a shared VkImage
but don't want to bother...
With the new instance_params field, we no longer need to separate the
`pl_vk_inst`.
Especially in the offline processing case (where no separate VkSurface
needs to be created), hav...
Replaced by a better one upstream.
Closes #48.
1898e70d0c19d7647b85b41ff2de32148ce03952 authored about 6 years ago by Niklas Haas <[email protected]>93dba2985a48b7ebc878c9924023c51d1cfd4db3 authored about 6 years ago by Marvin Scholz <[email protected]>
6f59959470eae1fbf2a50e99069eacee97f9b3a4 authored about 6 years ago by Marvin Scholz <[email protected]>
This comes in two variants, PQ and HLG. Normally it should be easy
enough to infer this from the...
This claims to implement the EOTF, but for HLG it omits the OOTF - so we
should clearly mark it ...
A stray "break" (left over from a previous iteration of the code) caused
the code for finding a ...
Explicitly defaulting the buffer type was also not the right thing,
since it e.g. conflicted wit...
The previous behavior assumed that the ordering in the vulkan driver's
memory types would be ord...
This is statically limited to 64 kB by the spec, so enforce these limits
by requiring host-mappe...
Since pl_tex_recreate already explicitly invalidates the contents of the
texture (due to the pos...
There's really no need to require this
cda582eee060c2a2c562120b60bdc52a1eadb983 authored about 6 years ago by Niklas Haas <[email protected]>
Since users may want to allocate texture transfer buffers in GPU memory
for the purposes of uplo...
We create the fd when allocating the memory, since we only need one to
represent the entire allo...
This is useful to share memory with e.g. CUDA or other external APIs.
Closes #43
7b2b5980543201ca9d9e5815d48079d5b6d15ef2 authored about 6 years ago by Niklas Haas <[email protected]>Handles are uint64_t on LP32, cf. VK_DEFINE_NON_DISPATCHABLE_HANDLE.
03681e791a39fddf7ac376e9441c7d18311c693d authored about 6 years ago by Thomas Guillem <[email protected]>
On Android arm32, VKAPI_PTR is defined to force the "hardfloat" calling
convention.
This is harmless since we cast it back to the correct type before
actually using it, but it's st...
These are false positives, silenced by some application of assert().
b07a980675bc817d412375e6025b805d1d0c6ef8 authored about 6 years ago by Niklas Haas <[email protected]>When using push descriptors these fields were never correctly NULL'd.
5bd993bf3c996c032692e1c4b4c4f51354987298 authored about 6 years ago by Niklas Haas <[email protected]>
This is entirely not an error, but the way the code was written it
resulted in an undefined memo...
Introduced by the target format checking. Sometimes `target` is NULL.
eb8be864ba189cc13d874d94aa58e1c94e59b1e2 authored about 6 years ago by Niklas Haas <[email protected]>
It doesn't make sense to assume this will execute unconditionally,
especially when so many thing...
7fd9344bba6dccec27d62d6db39dd2c76260d1bd authored about 6 years ago by Niklas Haas <[email protected]>
We forgot to add the offset of the vk_memslice into the vk_buf_write
when synchronizing via buf_...
Also fix a typo (was still saying pl_tex_recreate).
1cf1cc0b519b070e0f239e6e3d721d01877b40ad authored about 6 years ago by Niklas Haas <[email protected]>
Right now, for some reason, when something involves visible writes, we
submit it as part of the ...
Due to the way the comment was formulated, it sounded like multiple
accesses by libplacebo to th...
This is can be used to apply AV1 film grain onto planes directly on the
GPU. Eventually, the pl_...
The current code treated SH_LUT_TEXTURE like SH_LUT_LINEAR for no good
reason (which was also wr...
No need to waste GPU time on the SH_LUT macro and texturing here,
texelFetch turns out to be fas...
Most of the time this layout is not actually needed.
ddb8476c9492fb1c91c32d2d1f81c75c37cfa826 authored about 6 years ago by Niklas Haas <[email protected]>These are used in several contexts, so give them better names.
b69f8ef42c45663377299ca93ca25e0dc693a94a authored about 6 years ago by Niklas Haas <[email protected]>fb16bf097c5ae9887d066eb9e0156e2fcf52e168 authored about 6 years ago by Niklas Haas <[email protected]>
A shader may fail due to any number of error conditions (that previously
resulted in just an err...
Reword an existing error and also add checking for a new error
condition, previously forgotten.
Since fa9df7d the shader cache actually completely broke for compute
shaders, since the tfmt che...
d850082223e5b09d9b61c43c3e38ad8230cbb919 authored about 6 years ago by Niklas Haas <[email protected]>
Fix 1050 -> 1050 Ti, also fix typo and some other improvements
cdd4b8c0e373d105b9208490e3f52717b62ef4cf authored about 6 years ago by Niklas Haas <[email protected]>