- May 19, 2022
-
-
Dylan Baker authored
-
Dylan Baker authored
-
Dylan Baker authored
That's good, I guess?
-
If we by some chance end with more instructions than the maximum amount we can handle, for example from previous branch lowering, we would underflow while calculating the number of unrolling iterations and unroll till OOM. Fixes OOM in gnome-shell 42 Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com> Part-of: <mesa/mesa!14992>
-
- May 16, 2022
-
-
the code here was fine for checking the base resource unbinds and whatever, but it never actually destroyed the surfaces/bufferviews created, which meant they were always being leaked cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!16508> (cherry picked from commit 1526df28)
-
no functional changes cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!16508> (cherry picked from commit 2df1c061)
-
no functional changes cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!16508> (cherry picked from commit 32a77b1e)
-
cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!16508> (cherry picked from commit a3dff534)
-
no functional changes cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!16508> (cherry picked from commit 22954b48)
-
these have implicit refs from the surface/bufferview that gets created, so adding a ref here is redundant and less performant cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!16508> (cherry picked from commit d0df4889)
-
Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!16482> (cherry picked from commit c23b20d4)
-
use the array, not the depth cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!16456> (cherry picked from commit 1126f427)
-
this needs to set the arrayLayer, not the z offset big thanks to Piers Daniell for catching this cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!16456> (cherry picked from commit 377f5e7a)
-
this is illegal (and nonsensical) cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!16456> (cherry picked from commit 63dc39ac)
-
the problem here is that this returns a vec2 instead of a vec5, which throws all the existing calculations off given that the shader is (still) expecting a vec2 return from this, and there's no way to sanely rewrite with nir to be valid for both sampler types as well as spirv translation, just pad out to a vec2 here and be done with it Fixes: 73ef54e3 ("zink: handle residency return value from sparse texture instructions") Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <mesa/mesa!16456> (cherry picked from commit 88912b31)
-
When shader_query_buffers is NULL, the code treated as as non-empty. Fixes: 792a638b "radeonsi/gfx10: implement streamout-related queries" Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <mesa/mesa!16466> (cherry picked from commit 6515b3b2)
-
Dylan Baker authored
-
Dylan Baker authored
-
- May 13, 2022
-
-
DrmDevice::create_all correctly opened the node with O_RDWR, while DrmDevice::create was not, causing failure to create writable buffer. Fixes pps-config on Freedreno. Fixes: 1cc72b2a ("pps: Gfx-pps v0.3.0") Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Reviewed-by: Antonio Caggiano <antonio.caggiano@collabora.com> Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!16406> (cherry picked from commit 6bf4ae00)
-
For clear/blits ccu flush not only worse for perf, but also messes up flush_bits when executed in a conditional set of commands. We already don't flush for 3d blits. Closes: mesa/mesa#6419 Fixes: 487aa807 ("tu: Rewrite flushing to use barriers") Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <mesa/mesa!16352> (cherry picked from commit 187d3df5)
-
Fixes tests which use secondary command buffers. Fixes: ef04caea ("anv: Implement Mesh Shading pipeline") Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <mesa/mesa!16493> (cherry picked from commit aa1c128b)
-
Fixes: ef04caea ("anv: Implement Mesh Shading pipeline") Acked-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <mesa/mesa!16493> (cherry picked from commit f083df87)
-
For some reason CTS doesn't trigger the issue... When submit entry is not filled - kernel says: [drm:msm_ioctl_gem_submit] *ERROR* invalid type: 00000000 Fixes: dbae9fa7 ("tu: implement sysmem vs gmem autotuner") Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com> Part-of: <mesa/mesa!16474> (cherry picked from commit 9a11ad7e)
-
To workaround an issue with feedback loops in D3D9 with DCC in GENERAL, until we can fix it properly with a new extension. Cc: mesa-stable Closes: mesa/mesa#6469 Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Martin Roukala <martin.roukala@mupuf.org> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <mesa/mesa!16452> (cherry picked from commit b5b2bcab)
-
add_src was ignored and i32_0 was always used. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Fixes: 1e49018c ("amd: Add extra source to the mbcnt_amd NIR intrinsic.") Part-of: <mesa/mesa!16427> (cherry picked from commit db2fd0ca)
-
This is a workaround for issue #6457: it fixes the rendering and prevent the hang but I can't explain why. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Closes: mesa/mesa#6457 Cc: mesa-stable Part-of: <mesa/mesa!16427> (cherry picked from commit 1f315646)
-
Dylan Baker authored
-
- May 11, 2022
-
-
Dylan Baker authored
-
Dylan Baker authored
-
Dylan Baker authored
-
Dylan Baker authored
-
Dylan Baker authored
-
Dylan Baker authored
-
Dylan Baker authored
-
Dylan Baker authored
-
Dylan Baker authored
-
When moving code into the main block or loop blocks, put the code into its own : if(true) { ... } block so that we avoid break/continue/return issues. v2: Also take care of the main block with return instructions v3: Make deletion more obvious with dummy if blocks (Jason) v4: Fixup assert for loops (Lionel) Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 8dfb240b ("nir: Add raytracing shader call lowering pass.") Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <mesa/mesa!16036> (cherry picked from commit 35d82ecf)
-
When moving code from below to the insertion cursor point, if the cursor points to a jump instruction, don't bother inserting the code. It would break the break/continue assumptions of NIR and would not be executed anyway. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 8dfb240b ("nir: Add raytracing shader call lowering pass.") Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <mesa/mesa!16036> (cherry picked from commit 9cf986dc)
-
Stop using nop instructions which are causing issues with break/continue, instead use a nir_cursor (which brings its share of pain). Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 8dfb240b ("nir: Add raytracing shader call lowering pass.") Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <mesa/mesa!16036> (cherry picked from commit 51dea59e)
-
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <mesa/mesa!16036> (cherry picked from commit 25661ea0)
-