summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* nir/opt_uniform_atomics: Drop legacy atomicsAlyssa Rosenzweig2023-05-161-43/+0
| | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* nir/opt_load_store_vectorize: Reclaim ATOMICAlyssa Rosenzweig2023-05-161-7/+6
| | | | | | | | | NEW_ATOMIC isn't so new anymore. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* nir/validate: Drop legacy atomicsAlyssa Rosenzweig2023-05-161-87/+0
| | | | | | | | | | We duplicated the validation for unified vs legacy atomics, so drop the unused latter set. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* nir/lower_task_shader: Drop legacy atomicsAlyssa Rosenzweig2023-05-161-46/+4
| | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* nir/lower_io: Drop legacy atomicsAlyssa Rosenzweig2023-05-161-151/+22
| | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* nir: Drop legacy atomics in simple casesAlyssa Rosenzweig2023-05-1616-823/+3
| | | | | | | | | | | This commit drops legacy atomic support from core passes where we can simply delete switch cases with no other changes. As such it's separated from the more complex pass-specific commits for ease of review. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* ntt: Stop handling legacy atomicsAlyssa Rosenzweig2023-05-161-40/+0
| | | | | | | | | Not seen. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* nir: Drop nir_lower_legacy_atomicsAlyssa Rosenzweig2023-05-163-88/+0
| | | | | | | | | No more users. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* treewide: Stop lowering legacy atomicsAlyssa Rosenzweig2023-05-1618-36/+1
| | | | | | | | | There are no more producers of legacy atomics so these calls are inert. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* ac: Produce unified atomicAlyssa Rosenzweig2023-05-161-1/+3
| | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* intel: Produce unified atomicsAlyssa Rosenzweig2023-05-161-16/+12
| | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* vtn: Produce unified atomicsAlyssa Rosenzweig2023-05-161-35/+67
| | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* mesa/st: Produce unified atomicsAlyssa Rosenzweig2023-05-161-3/+6
| | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* nir/lower_printf: Produce unified atomicAlyssa Rosenzweig2023-05-161-2/+3
| | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* nir/lower_atomics_to_ssbo: Produce unified atomicsAlyssa Rosenzweig2023-05-161-11/+16
| | | | | | | | | | This could be simplified if we unified also atomic counters, but that's out of scope for this series. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* glsl/nir: Produce unified atomicsAlyssa Rosenzweig2023-05-164-124/+95
| | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* lavapipe: Lower legacy atomics soonerAlyssa Rosenzweig2023-05-162-51/+9
| | | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* v3dv: Lower legacy atomics earlierAlyssa Rosenzweig2023-05-161-10/+5
| | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* tu: Lower legacy atomics earlierAlyssa Rosenzweig2023-05-161-24/+7
| | | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Rob Clark <robclark@freedesktop.org> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* panvk: Lower legacy atomics earlierAlyssa Rosenzweig2023-05-162-11/+3
| | | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* pan/mdg: Lower legacy atomics earlierAlyssa Rosenzweig2023-05-162-11/+4
| | | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* agx: Lower legacy atomics soonerAlyssa Rosenzweig2023-05-162-11/+3
| | | | | | | Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23036>
* venus: bump ring space to 128KYiwei Zhang2023-05-161-1/+1
| | | | | | | | The absolute memory overhead is still trivial enough not worth a driconfig. Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23060>
* aco: use c++17Erik Faye-Lund2023-05-161-0/+1
| | | | | | | | | std::map::try_emplace requires C++17, so we need to make sure we're compiling with C++17 enabled. Fixes: 8aff7152a0f ("aco: make IDSet sparse") Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23047>
* frontends/va/context: return error if context_id == 0Thong Thai2023-05-161-0/+3
| | | | | | | | | | | | | | When destroying a context, check the context_id, preventing the handle_table_get function from producing the following error: handle_table_get: Assertion `handle' failed. Cc: stable Signed-off-by: Thong Thai <thong.thai@amd.com> Tested-by: David Heidelberg <david.heidelberg@collabora.com> Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22970>
* rusticl/platform: generate extension constants via macroKarol Herbst2023-05-161-6/+20
| | | | | | Signed-off-by: Karol Herbst <git@karolherbst.de> Reviewed-by: Nora Allen <blackcatgames@protonmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23031>
* rusticl: explicitly state supported SPIR-V extensionsKarol Herbst2023-05-163-1/+15
| | | | | | | We'll need to be explicit about supported extensions. Signed-off-by: Karol Herbst <git@karolherbst.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23031>
* rusticl/device: split add_ext in fill_extensionsKarol Herbst2023-05-161-28/+23
| | | | | | | | | The initial hope was that we'd get extension and feature pairs more often. Reality isn't as nice so just split it up. Signed-off-by: Karol Herbst <git@karolherbst.de> Reviewed-by: Nora Allen <blackcatgames@protonmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23031>
* rusticl/platform: advertise byte_addressable_storeKarol Herbst2023-05-162-4/+4
| | | | | | | | | | | | From the list of extensions we support on all devices it's the only one we rely on for all devices. There might be some devices not supporting atomics so keep them out there for now. Signed-off-by: Karol Herbst <git@karolherbst.de> Reviewed-by: Nora Allen <blackcatgames@protonmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23031>
* rusticl/device: use PLATFORM_EXTENSIONS as a template for filling extensionsKarol Herbst2023-05-163-4/+4
| | | | | | Signed-off-by: Karol Herbst <git@karolherbst.de> Reviewed-by: Nora Allen <blackcatgames@protonmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23031>
* Reviewed-by: Nora Allen <blackcatgames@protonmail.com>rusticl/platform: make ↵Karol Herbst2023-05-162-7/+6
| | | | | | | | | | the extension array a static This way we can use it inside `Device::fill_extensions` Signed-off-by: Karol Herbst <git@karolherbst.de> Reviewed-by: Nora Allen <blackcatgames@protonmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23031>
* v3d: delay offset/counter values with primitive restartJuan A. Suarez Romero2023-05-164-9/+28
| | | | | | | | | | | | | | | | | | | | | | | | Some values like the transform feedback offset or the number of output vertices in VS can be obtained knowing how many vertices and primitive type are used in the drawcall. But when the primitive restart is enabled, doing this is quite more complex, as we should parse the vertex buffer to know where is the restart values, and so on. In this case, delay this computation after the drawcall is executed, by querying the GPU to know these values. Similarly, this delay is also applied to compute the transform feedback buffer offsets when there is a geometry shader, as we don't know beforehand how many vertices it is going to output. This fixes `spec@!opengl 3.1@primitive-restart-xfb flush` and `spec@!opengl 3.1@primitive-restart-xfb generated`. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22716>
* aco: emit_wqm on MIMG dst, not operandsGeorg Lehmann2023-05-161-35/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | Now p_wqm always kills its operand, so no movs will be created for it. Long term we want to remove p_wqm in favor of a Definition flag, so this is also a step in that direction. Foz-DB Navi21: Totals from 45351 (33.63% of 134864) affected shaders: VGPRs: 2099552 -> 2116192 (+0.79%); split: -0.14%, +0.93% CodeSize: 179530772 -> 179072104 (-0.26%); split: -0.29%, +0.03% MaxWaves: 1054740 -> 1052262 (-0.23%); split: +0.10%, -0.33% Instrs: 33238535 -> 33188347 (-0.15%); split: -0.17%, +0.02% Latency: 451000471 -> 450869384 (-0.03%); split: -0.11%, +0.08% InvThroughput: 86026785 -> 86286288 (+0.30%); split: -0.11%, +0.41% VClause: 633291 -> 623920 (-1.48%); split: -1.91%, +0.43% SClause: 1436708 -> 1431395 (-0.37%); split: -0.60%, +0.23% Copies: 2166563 -> 2122592 (-2.03%); split: -2.29%, +0.26% Branches: 706846 -> 706838 (-0.00%); split: -0.00%, +0.00% PreSGPRs: 1976162 -> 1976592 (+0.02%) PreVGPRs: 1797409 -> 1794704 (-0.15%) MaxWaves regressions in Detroit: Become Human MaxWaves seem to be due to the scheduler choosing to schedule more aggressively. Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22956>
* intel/devinfo: call intel_device_info_init_was only onceLionel Landwerlin2023-05-161-25/+32
| | | | | | | | Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8958 Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Mark Janes <markjanes@swizzler.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22862>
* intel/devinfo: allow -p to take a pci-id in hexaLionel Landwerlin2023-05-161-1/+6
| | | | | | Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Mark Janes <markjanes@swizzler.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22862>
* intel/devinfo: printout on stdoutLionel Landwerlin2023-05-161-1/+1
| | | | | | Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Mark Janes <markjanes@swizzler.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22862>
* nir: Add helpers for lazy var creation.Emma Anholt2023-05-1619-286/+192
| | | | | | | | | | | | | | | This should make writing some lowering/meta code easier. It also keeps the num_inputs/outputs updated, when sometimes passes forgot to do so (for example, nir_lower_input_attachments updated for one of the two vars it creates). The names of the variables change in many cases, but it's probably nicer to see "VERT_ATTRIB_POS" than "in_0" or whatever. I've only converted mesa core (compiler and GL), not all the driver meta code. Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22809>
* compiler: Update reference to name_for_stage func.Emma Anholt2023-05-161-1/+1
| | | | Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22809>
* nir/lower_shader_calls: Remat derefs earlierKonstantin Seurer2023-05-161-7/+7
| | | | | | | | | | spill_ssa_defs_and_lower_shader_calls can insert phis as well which can make nir_opt_shrink_stores crash. Fixes: 200e551c ("nir/lower_shader_calls: Remat derefs before lowering resumes") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9003 Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23007>
* pvr: Transfer add s8_uint supportOskar Rundgren2023-05-161-33/+20
| | | | | | | | | | | | | | | | Replacing pvr_get_transfer_pbe_packmode with pvr_get_pbe_packmode fixes many depth stencil deqp tests. Replacing assert "Handle depth stencil format swizzle." with an actual swizzle fixes tests using S8_UINT. The swizzle for VK_FORMAT_S8_UINT returned from pvr_get_format_swizzle (in pvr_image_state_set_codegen_defaults) isn't correct. Modify the swizzle for format VK_FORMAT_S8_UINT. Signed-off-by: Oskar Rundgren <oskar.rundgren@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22918>
* pvr: Transfer add depth merge support for X8_D24Oskar Rundgren2023-05-161-0/+1
| | | | | | | | Add depth merge support for VK_FORMAT_X8_D24_UNORM_PACK32 as source. Signed-off-by: Oskar Rundgren <oskar.rundgren@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22918>
* pvr: Add PBE packmode for depth stencil formatsOskar Rundgren2023-05-161-9/+9
| | | | | | | | Add PBE packmode for depth stencil formats Signed-off-by: Oskar Rundgren <oskar.rundgren@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22918>
* pvr: Add back S8_UINT supportOskar Rundgren2023-05-162-4/+7
| | | | | | | | | | | | | | | Revert "pvr: Don't advertise S8_UINT support" Adding back support for S8_UINT format. It's used in many deqp tests. Example: dEQP-VK.api.copy_and_blit.core.image_to_image.all_formats .depth_stencil.2d.d24_unorm_s8_uint_d24_unorm_s8_uint.optimal_optimal This reverts commit ff07610462d5100a1ade101c1960beb4a454e7ce. Signed-off-by: Oskar Rundgren <oskar.rundgren@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22918>
* pvr: Transfer multiple emits clip rectangleOskar Rundgren2023-05-161-2/+2
| | | | | | | | Adjust PBE clip rectangle for second emit. Signed-off-by: Oskar Rundgren <oskar.rundgren@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22918>
* pvr: Transfer fix blit with multiple emitsOskar Rundgren2023-05-162-2/+9
| | | | | | | | | | The PBE state words for second emit are at wrong offset. Add new define ROGUE_NUM_PBESTATE_REG_WORDS_FOR_TRANSFER to fix the offset. The last word is always 0. Signed-off-by: Oskar Rundgren <oskar.rundgren@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22918>
* pvr: Use original binding numbers instead of reassigningKarmjit Mahil2023-05-162-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, in the descriptor set layout, if there were gaps within the binding numbers, the code would remove the gap and assign a sequential binding number to each. This is causes problems when looking up the binding on a vkUpdateDescriptorSets() as the user would still be providing the original binding numbers. If gaps were removed and binding number re-assigned, the binding could either not be found, or a different binding was found instead of the desired one. Let's not re-assign binding numbers and just use the original ones. This fixes the following assert being hit: `pvr_descriptor_set.c:1890: pvr_write_descriptor_set: Assertion `binding' failed.` on dEQP tests such as: dEQP-VK.glsl.opaque_type_indexing.ubo.uniform_vertex dEQP-VK.glsl.opaque_type_indexing.ubo.uniform_fragment ... Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22918>
* pvr: Add missing NULL checks in some vkDestroy...() functionsKarmjit Mahil2023-05-163-0/+12
| | | | | | | | | | | | | | | Seems like `dEQP-VK.api.null_handle.destroy_device` was already passing but let's add the null check in case of future changes which might not accept NULL. Fixes: dEQP-VK.api.null_handle.destroy_descriptor_set_layout dEQP-VK.api.null_handle.destroy_pipeline_layout dEQP-VK.api.null_handle.destroy_query_pool Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22918>
* pvr: Transfer PBE gamma is unsetOskar Rundgren2023-05-161-1/+0
| | | | | | | | | PBE gamma is set in pvr_pbe_get_src_format_and_gamma but later always set to NONE. Should be enabled for SRGB formats. Signed-off-by: Oskar Rundgren <oskar.rundgren@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22918>
* pvr: Transfer PBE source snorm format should be signedOskar Rundgren2023-05-161-1/+2
| | | | | | | | Wrong shader was picked because snorm formats were treated as unsigned. Signed-off-by: Oskar Rundgren <oskar.rundgren@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22918>
* pvr: Allow block compressed source blitOskar Rundgren2023-05-161-1/+2
| | | | | | | | Allow blit from block compressed formats to unorm and float formats. Signed-off-by: Oskar Rundgren <oskar.rundgren@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22918>