- May 06, 2020
-
-
Eric Engestrom authored
Signed-off-by:
Eric Engestrom <eric@engestrom.ch>
-
This was totally broken. Monolithic PS is only used if FBFETCH or interpolateAtSample are used. When the PS prolog was built, it overwrote ctx->main_fn. Discovered by @eefano. Fixes: 8832a884 "radeonsi: move PS LLVM code into si_shader_llvm_ps.c" Closes: #2814 Acked-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <mesa/mesa!4918> (cherry picked from commit 29da5212)
-
../src/mesa/drivers/dri/i965/brw_wm_surface_state.c:1378:32: runtime error: index 3503345872 out of bounds for type 'uint32_t [149]' brw_assign_common_binding_table_offsets has the following comment: "Unused groups are initialized to 0xd0d0d0d0 to make it obvious that they're unused but also make sure that addition of small offsets to them will trigger some of our asserts that surface indices are < BRW_MAX_SURFACES." Cc: <mesa-stable@lists.freedesktop.org> Signed-off-by:
Danylo Piliaiev <danylo.piliaiev@globallogic.com> Reviewed-by:
Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <mesa/mesa!4350> (cherry picked from commit 784358bd)
-
Enumeration should just skip unsupported DRM devices. Cc: <mesa-stable@lists.freedesktop.org> Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <mesa/mesa!4806> (cherry picked from commit 8d993c9d)
-
The driver should be capable if it reaches the winsys initialization. Cc: <mesa-stable@lists.freedesktop.org> Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <mesa/mesa!4806> (cherry picked from commit f03abd50)
-
Zink requires 1-bit booleans, but this requirement was missed before b2b1s started getting automatically inserted. Let's lower these away, to avoid piglit regressions. Fixes the following piglits: - shaders@glsl-vs-if-bool - spec@!opengl 2.0@vertex-program-two-side Fixes: c217ee8d ("nir: Insert b2b1s around booleans in nir_lower_to") Closes: mesa/mesa#2902 Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Part-of: <mesa/mesa!4903> (cherry picked from commit 7f6a491e)
-
I forgot this in the last round. Fixes: 18f896e5 (llvmpipe: add initial nir support) Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Part-of: <mesa/mesa!4899> (cherry picked from commit 870b6a60)
-
Fixes: 0d02a7b8 (draw: add main tessellation code) Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Part-of: <mesa/mesa!4899> (cherry picked from commit d1ad1be3)
-
Totals from 2 (0.00% of 127638) affected shaders: VGPRs: 164 -> 168 (+2.44%) CodeSize: 18420 -> 18756 (+1.82%) Instrs: 3658 -> 3700 (+1.15%) Cycles: 82912 -> 83080 (+0.20%) VMEM: 70 -> 69 (-1.43%) PreVGPRs: 155 -> 168 (+8.39%) Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> CC: <mesa-stable@lists.freedesktop.org> Part-of: <mesa/mesa!4889> (cherry picked from commit a46aa3dc)
-
Fixes: dbc86fa3 ("radeonsi: dump shader stats when hitting the live cache") Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!4607> (cherry picked from commit 547e8165)
-
And enable it for "GRID Autosport" and "DIRT: Showdown" games. CC: 20.1 <mesa-stable@lists.freedesktop.org> Closes: mesa/mesa#1258 Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!4647> (cherry picked from commit 403eb507)
-
Some applications incorrectly use GL_LINEAR* values for integers texture. copyimage.c already implemented a tolerance for such app in prepare_target_err. This commit adds a boolean that will treat GL_LINEAR* filters as GL_NEAREST for integer textures. CC: 20.1 <mesa-stable@lists.freedesktop.org> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!4647> (cherry picked from commit 12fb7d70)
-
Eric Engestrom authored
-
Eric Engestrom authored
-
- May 05, 2020
-
-
Fixes: 3dc2ccc1 "ac/surface: replace RADEON_SURF_OPTIMIZE_FOR_SPACE with !FORCE_SWIZZLE_MODE" Closes: #2884 Tested-by:
Michel Dänzer <mdaenzer@redhat.com> Reviewed-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <mesa/mesa!4862> (cherry picked from commit c4cdef64)
-
This reverts commit cf2f3c27. It breaks shadows in Unigine Superposition. Fixes: cf2f3c27 Reviewed-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <mesa/mesa!4837> (cherry picked from commit b97cc41a)
-
The blob does not use this combination. This change moves the decision if int filter gets used to state emit time. Fixes: 7aaa0e59 ("etnaviv: add anisotropic filter support") Signed-off-by:
Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by:
Lucas Stach <l.stach@pengutronix.de> Part-of: <mesa/mesa!4872> (cherry picked from commit 89a41dae)
-
This caused some serious problems like shredded output, ~1fps and GPU hungs. Fixes: 7aaa0e59 ("etnaviv: add anisotropic filter support") Reported-by:
Lukas F. Hartmann <lukas@mntmn.com> Tested-by:
Lukas F. Hartmann <lukas@mntmn.com> Signed-off-by:
Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by:
Lucas Stach <l.stach@pengutronix.de> Part-of: <mesa/mesa!4872> (cherry picked from commit b38e51bd)
-
Fixes: 086cfa56 "anv: implementation of VK_EXT_debug_report extension" Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by:
Kristian H. Kristensen <hoegsberg@google.com> Acked-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <mesa/mesa!4690> (cherry picked from commit 9d10bde5)
-
Earlier commit tried to achieve this but actually did more. This makes sure the variants for other contexts continue to live. Fixes: de3d7dbe ("mesa/st: release variants for active programs before unref") Closes: mesa/mesa#2865 Cc: mesa-stable@lists.freedesktop.org Signed-off-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!4831> (cherry picked from commit 46b3cb01)
-
Fixes: 17acff01 ("radeonsi: skip vs output optimizations for some outputs") Closes: mesa/mesa#2877 Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!4871> (cherry picked from commit 7e7bb38b)
-
Eric Engestrom authored
-
This reverts commit f6d87ec8. It breaks RADV. Fixes: f6d87ec8 "ac/surface: remove RADEON_SURF_TC_COMPATIBLE_HTILE and assume it's always set" Part-of: <mesa/mesa!4864> (cherry picked from commit f1a40a26)
-
SCANOUT is bit 63 .... Fixes: bfd9e7ff "radv: Use new scanout gfx9 metadata flag." Closes: mesa/mesa#2879 Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <mesa/mesa!4859> (cherry picked from commit df9629e5)
-
static_assert without a message is only supported with C++17 and later. Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Daniel Schürmann <daniel@schuermann.dev> Fixes: c99107ec ('aco: add explicit padding for all Instruction sub-structs') Part-of: <mesa/mesa!4850> (cherry picked from commit b5f7b0ce)
-
f-strings require Python 3.6 but 3.5 is still maintained and used. Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Daniel Schürmann <daniel@schuermann.dev> Closes: mesa/mesa#2839 Fixes: 2ab45f41 ("aco: implement sub-dword swaps") Part-of: <mesa/mesa!4850> (cherry picked from commit 8e02de4d)
-
gen12 does away with the single patch dispatch mode for tcs, and increases some limits so that 8_patch mode can always work. Make the necessary changes so we don't try to fall back to single patch mode. Fixes KHR-GL46.tessellation_shader.single.max_patch_vertices and others Fixes: 44754279 ("intel/fs/gen12: Use TCS 8_PATCH mode.") Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Acked-by:
Jason Ekstrand <jason@jlekstrand.net> Part-of: <mesa/mesa!4843> (cherry picked from commit 65b05ebd)
-
Render Target Array Index has moved from R0.0[26:16] to R1.1[26:16] on gen12. Fixes dEQP-VK.multiview.input_attachments.* Cc: <mesa-stable@lists.freedesktop.org> Reviewed-by:
Francisco Jerez <currojerez@riseup.net> Reviewed-by:
Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <mesa/mesa!4836> (cherry picked from commit 7bd15135)
-
Fixes: d3eb23ad ("panfrost: Emit sampler descriptor on bifrost") Signed-off-by:
Tomeu Vizoso <tomeu.vizoso@collabora.com> Reviewed-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <mesa/mesa!4832> (cherry picked from commit 3a81abf3)
-
`wc -l $file` returns the number of lines and the filename. Fixes: b8c66aeb ("ci: Clean up some excessive use of pipes in dEQP results processing.") Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Andres Gomez <agomez@igalia.com> Reviewed-by:
Eric Anholt <eric@anholt.net> Part-of: <mesa/mesa!4829> (cherry picked from commit cc2c3b41)
-
The change was in: 7b0b085c Fixes: 7b0b085c ("radeonsi: drop the negation from fmask_is_not_identity") Reviewed-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <mesa/mesa!4761> (cherry picked from commit bdd2f284)
-
Rounding down the size fixes: KHR-GL45.enhanced_layouts.ssb_member_invalid_offset_alignment Fixes: 03e2adc9 Acked-by:
Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <mesa/mesa!4761> (cherry picked from commit e58dcc47)
-
After a resource is created the first command using it could be a copy command. In iris_state we finish the import on surface/view creation but we don't do that for copies. v2: Move finish call to gallium entrypoints (Ken) Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: <mesa-stable@lists.freedesktop.org> Closes: mesa/mesa#2725 Reviewed-by: Tapani Pälli <tapani.palli@intel.com> (v1) Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <mesa/mesa!4657> (cherry picked from commit 612e35c8)
-
- May 04, 2020
-
-
v2: - Update the default location for the traces when there is no traces-db entry in the traces definition file (Alexandros). Fixes: 90a39af5 "(ci: Drop the git dependency in tracie)" Signed-off-by:
Andres Gomez <agomez@igalia.com> Reviewed-by:
Alexandros Frantzis <alexandros.frantzis@collabora.com> Part-of: <mesa/mesa!4640> (cherry picked from commit 5e9ae404)
-
The SFID field of the SHADER_OPCODE_MEMORY_FENCE and SHADER_OPCODE_INTERLOCK instructions now indicates the target function of the memory fence. Account the cycle-count cost to the right shared unit. Fixes: f858fa26 ("intel/fs,vec4: Pull stall logic for memory fences up into the IR") Reviewed-by:
Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <mesa/mesa!4817> (cherry picked from commit 0842758e)
-
`rsc->layout.cpp` is zero until we `fd_resource_layout_init()` Fixes: 5a8718f0 ("freedreno: Make the slice pitch be bytes, not pixels.") Signed-off-by:
Rob Clark <robdclark@chromium.org> Part-of: <mesa/mesa!4818> (cherry picked from commit a0fe98b4)
-
the implicit sync flag gets set at the beginning at the function, but I used = instead of |= later. Fixes: bec92850 "radv: Stop using memory type indices." Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <mesa/mesa!4814> (cherry picked from commit 85fe0e55)
-
Eric Engestrom authored
-
- Apr 29, 2020
-
-
Eric Engestrom authored
Signed-off-by:
Eric Engestrom <eric@engestrom.ch>
-
Jonathan Marek authored
Missed updating this when adding tu6_emit_sample_locations Fixes: a92d2e11 ("turnip: implement VK_EXT_sample_locations") Signed-off-by:
Jonathan Marek <jonathan@marek.ca> Part-of: <mesa/mesa!4795>
-