mesa merge requestshttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests2024-02-16T17:38:39Zhttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27650Draft: nir: Renaming gl_shader_stage to shader_stage.2024-02-16T17:38:39ZSarthak BhattDraft: nir: Renaming gl_shader_stage to shader_stage.### nir cleanup for renaming gl_shader_stage.
Removed the old usage of gl_shader_stage and update it with shader_stage as discussed in issue #9040.### nir cleanup for renaming gl_shader_stage.
Removed the old usage of gl_shader_stage and update it with shader_stage as discussed in issue #9040.https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26684pvr: Implement VK_KHR_imageless_framebuffer2023-12-14T11:07:12ZVlad Schillerpvr: Implement VK_KHR_imageless_framebuffer### What does this MR do and why?
<!-- Describe in detail what your merge request does and why. -->
```
pvr: Implement VK_KHR_imageless_framebuffer
Signed-off-by: Vlad Schiller <vlad-radu.schiller@imgtec.com>
```### What does this MR do and why?
<!-- Describe in detail what your merge request does and why. -->
```
pvr: Implement VK_KHR_imageless_framebuffer
Signed-off-by: Vlad Schiller <vlad-radu.schiller@imgtec.com>
```https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25488pvr: Fix MRT index in PBE state2023-10-06T09:38:11ZKarmjit Mahilpvr: Fix MRT index in PBE stateThe same MRT index was incorrectly being set for all render
targets, in the PBE state.
Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>The same MRT index was incorrectly being set for all render
targets, in the PBE state.
Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>Karmjit MahilKarmjit Mahilhttps://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24686nir: Rename to (nir_op_mov_vec1, nir_op_mov_vec2, ... nir_op_mov_vec16)2023-08-15T03:30:13ZYonggang Luonir: Rename to (nir_op_mov_vec1, nir_op_mov_vec2, ... nir_op_mov_vec16)https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24609docs/pvr: mark VK_KHR_timeline_semaphore as implemented2023-08-10T13:51:00ZEric Engestromeric@engestrom.chdocs/pvr: mark VK_KHR_timeline_semaphore as implementedFixes: 5be2e44095f1fea0cc99 ("pvr: Add support for VK_KHR_timeline_semaphore")Fixes: 5be2e44095f1fea0cc99 ("pvr: Add support for VK_KHR_timeline_semaphore")https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22584vulkan/wsi: Refactor to add instance-level data and surface base classes to e...2024-03-04T18:43:03ZJesse Nataliejenatali@microsoft.comvulkan/wsi: Refactor to add instance-level data and surface base classes to enable cachingThis is the long / more proper version of !22298. It's a lot of churn, touching all Vk drivers and winsys. Is the end result worth the churn? I'm not sure. I'd like @gfxstrand to weigh in.
One of the comments on !22298 mentioned that Wa...This is the long / more proper version of !22298. It's a lot of churn, touching all Vk drivers and winsys. Is the end result worth the churn? I'm not sure. I'd like @gfxstrand to weigh in.
One of the comments on !22298 mentioned that Wayland needs caching too. I haven't added that here, but the infrastructure is in place so it'd be easy to do so.https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21946RFC: tree-wide: rename DEBUG to EXPENSIVE_CHECKS to stop the confusion with N...2024-03-15T16:08:31ZEric Engestromeric@engestrom.chRFC: tree-wide: rename DEBUG to EXPENSIVE_CHECKS to stop the confusion with NDEBUGThere have been countless discussions, confusion & bugs around what `DEBUG` means/is used for and how it's different from `NDEBUG`. The latest one that I saw (and which prompted me to finally do something about it) was https://gitlab.fre...There have been countless discussions, confusion & bugs around what `DEBUG` means/is used for and how it's different from `NDEBUG`. The latest one that I saw (and which prompted me to finally do something about it) was https://gitlab.freedesktop.org/mesa/mesa/-/issues/4965 but I expect most of you will recall the various times this came up.
It also causes issue with projects like LLVM and Bellagio which make use of such a common name in their headers, leading to workarounds like including a header, undef'ing DEBUG, and re-including the header, or having to undef DEBUG right before including a specific header. These are fragile (new version of these headers might move the code around) and there's a good chance we might forget to add the workaround in new code including these headers, leading to inconsistent behaviour across build types.
Let's finally pick a better name, which I arbitrarily called `EXPENSIVE_CHECKS`. It should be quite easy to rename it to something else, should someone suggest a better name.
---
This MR focuses on the rename, let's make sure I didn't `sed` too much or incorrectly. Fixing code that shouldn't have been using this define is left ~as an exercise for the reader~ for follow up MRs, with a couple of exceptions: `src/gallium/auxiliary/gallivm/` & `src/gallium/frontends/omx/bellagio/` had special code to handle `DEBUG` being used in other project headers, which is no longer relevant so it has been dropped.https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21597pvr: Unhardcode additional USC programs2023-10-24T10:07:26ZSimon Perrettasimon.perretta@imgtec.compvr: Unhardcode additional USC programsSigned-off-by: Simon Perretta <simon.perretta@imgtec.com>Signed-off-by: Simon Perretta <simon.perretta@imgtec.com>https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21160pvr: Add firmware stream support for transfer submit2023-02-07T13:23:02ZMatt Costerpvr: Add firmware stream support for transfer submitA continuation of the changes in !19530 for transfer streams
```
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
```A continuation of the changes in !19530 for transfer streams
```
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
```https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17252pvr: Add `pvr_cmd_enum()` macro2022-07-05T11:49:02ZMatt Costerpvr: Add `pvr_cmd_enum()` macroThis is exactly the same as `pvr_cmd_struct()`, but is more semantically correct when referring to enums.
```
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
```This is exactly the same as `pvr_cmd_struct()`, but is more semantically correct when referring to enums.
```
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
```https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15530pvr: do not use fallthrough for unreachable code2022-03-23T17:40:31ZErik Faye-Lundkusmabite@gmail.compvr: do not use fallthrough for unreachable codeunreachable() doesn't lead to executing the code that follows it,
neither in debug nor release builds. So falling through doesn't make any
sense.
This fixes a compile-error on clang.
Let's move the default-block to the end to make it c...unreachable() doesn't lead to executing the code that follows it,
neither in debug nor release builds. So falling through doesn't make any
sense.
This fixes a compile-error on clang.
Let's move the default-block to the end to make it clearer that there's
no intended fallthrough.