| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
After a long discussion with Eric Anholt and Owen Taylor, I learned that
X11 is basically always sRGB as that's what the scanout hardware does and X
doesn't modify anything. Therefore, we should just always expose sRGB
formats.
|
|
|
|
| |
anv_descriptor contained a union with one member.
|
|
|
|
|
|
| |
The GPU does most of this for us as long as we set up tight bounds for
the buffers, which we do. Additionally, we range check dynamically
buffers in the shader. With that it's safe to turn on robustBufferAccess.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
We don't actually support that format yet because ISL doesn't have an enum
for it. We need to beef up the formats table to allow for tiled-only
formats.
|
|
|
|
| |
Signed-off-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Signed-off-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Signed-off-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Signed-off-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Signed-off-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
| |
e8f51fe4 for gen7
Signed-off-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
| |
292031a for gen7
Signed-off-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Signed-off-by: Jordan Justen <[email protected]>
|
|
|
|
| |
Signed-off-by: Jordan Justen <[email protected]>
|
|
|
|
|
|
| |
Adds initial compute_pipeline_create implementation for gen7.
Signed-off-by: Jordan Justen <[email protected]>
|
|\
| |
| |
| |
| |
| |
| | |
Vulkan WSI Wayland fixes
Two small fixes to make mailbox mode actually work again.
See merge request !4
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We were diligently setting Wayland buffers as non-busy, but nowhere in
the code did we set them to busy when submitted to the server. This
meant that acquire_next_image would only ever find the same buffer in
a loop, over and over.
Signed-off-by: Daniel Stone <[email protected]>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In acquire_next_image, we are waiting for a wl_buffer::release to arrive
and release one of the buffers in our swapchain. Most compositors don't
explicitly flush release events, so we may need to perform a roundtrip
instead, to ensure the event arrives.
Signed-off-by: Daniel Stone <[email protected]>
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
They're just images and we have no intention of stompping alpha channels
(at least not yet), so there's no reason why you can't sample.
|
| |
| |
| |
| |
| | |
This adds support for the DX compression formats. Given that ETC and EAC
are working fine, these should be ok too.
|
| | |
|
| | |
|
| |
| |
| |
| | |
The bottom-end check was wrong so it was only working on <= 1.0.0. Oops.
|
| |
| |
| |
| |
| |
| | |
There's an intermittent flushing problem with VkEvent that we need to
root cause. For now, using the snooping feature keeps the memory pools
up to date with GPU writes and fixes the problem.
|
| |
| |
| |
| |
| |
| | |
We can't use the more fine-grained load and store fence commands (lfence
and mfence), since clflush is only guaranteed to be ordered with respect
to mfence.
|
| | |
|
| |
| |
| |
| |
| | |
The state for line width changes on Cherryview to use the GEN9 bits (for extra
precision).
|
| |
| |
| |
| | |
For upcoming patch to address difference in Cherryview.
|
| | |
|
| |
| |
| |
| |
| | |
Vulkan does not allow resolving a single-sample image. So remove that
pipeline from anv_meta_state::resolve::pipelines.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The attachments should be const, but the driver's function signatures
are generally not const-friendly.
Drop the const because it conflicts with upcoming
anv_cmd_buffer_resolve_subpass().
|
| |
| |
| |
| | |
Indicates that the subpass has at least one resolve attachment.
|
| | |
|
| |
| |
| |
| | |
This refactor is preparation for handling subpass resolve attachments.
|
| |
| |
| |
| |
| | |
Meta resolves multisample images by binding them as textures. Therefore
we must add VK_IMAGE_USAGE_SAMPLED_BIT.
|
| |
| |
| |
| |
| | |
We now check that the requested version is precicely within the range of
versions that we support.
|
| | |
|
| |
| |
| |
| | |
This was added last minute and the API bumped to 1.0.2.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The adjusted polynomial coefficients come from the numerical
minimization of the L2 norm of the relative error. The old
coefficients would give a maximum relative error of about 15000 ULP in
the neighborhood around acos(x) = 0, the new ones give a relative
error bounded by less than 2000 ULP in the same neighborhood.
|