Loading
Commits on Source 29
-
Bas Nieuwenhuizen authored
Seems like dxvk used integer builtins without setting the flat interpolation decoration. I believe in the current spec the app is required to set these, but in the meantime to avoid breaking things in stable releases (and so close to release for 19.0), only expand the interpolation to float16 and struct (which cannot be builtins as our spirv parser lowers the builtin block). Fixes: f3247841 "radv: Allow interpolation on non-float types." Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> (cherry picked from commit c0110477)
-
Brian Paul authored
This fixes a failed assertion in glDeleteLists() for the following case: list = glGenLists(1); glDeleteLists(list, 1); when those are the first display list commands issued by the application. When we generate display lists, we plug in empty lists created with the make_list() helper. This function uses the OPCODE_END_OF_LIST opcode but does not call dlist_alloc() which would set the InstSize[OPCODE_END_OF_LIST] element to non-zero. When the empty list was deleted, we failed the InstSize[opcode] > 0 assertion. Typically, display lists are created with glNewList/glEndList so we set InstSize[OPCODE_END_OF_LIST] = 1 in dlist_alloc(). That's why this bug wasn't found before. To fix this failure, simply initialize the InstSize[OPCODE_END_OF_LIST] element in make_list(). The game oolite was hitting this. Fixes: https://github.com/OoliteProject/oolite/issues/325 Reviewed-by:
Marek Olšák <marek.olsak@amd.com> (cherry picked from commit 6dabcb5b)
-
José Fonseca authored
This change applies the workaround suggested by Bill Deegan on the affected SCons versions. It also adds a comment with the URL explaining why we were using customizing the decider and max_drift in the first place, as I had forgotten all about it. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109443 Tested-by:
<liviuprodea@yahoo.com> Reviewed-by:
Roland Scheidegger <sroland@vmware.com> Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Jonathan Marek authored
There is only room for 3 vertices now (RECT has 3 vertices). Fixes: 6ef7700a Signed-off-by:
Jonathan Marek <jonathan@marek.ca> (cherry picked from commit 357313ab)
-
Jonathan Marek authored
Fixes: cb2322c7 Signed-off-by:
Jonathan Marek <jonathan@marek.ca> (cherry picked from commit 8eca6df5)
-
Jonathan Marek authored
In freedreno_gmem.c, gmem_align of 0x8000 is used. Alignment used here should be the same. Fixes: 912a9c8d Signed-off-by:
Jonathan Marek <jonathan@marek.ca> (cherry picked from commit 4f237675)
-
Jonathan Marek authored
Fixes: 3a273a4a Signed-off-by:
Jonathan Marek <jonathan@marek.ca> (cherry picked from commit 6c0fefb4)
-
Jonathan Marek authored
Now that freedreno has create_with_modifiers(), this "hack" is needed to make some cases work. Copied from vc4. Fixes: 41ddf1d1 Signed-off-by:
Jonathan Marek <jonathan@marek.ca> (cherry picked from commit e3591b03)
-
Lionel Landwerlin authored
The optimization in 4cd1a0be introduced a replacement of : cmp(8).z.f0.0 vgrf11.y:D, vgrf10.xxxx:D, vgrf2.xyyy:D ... cmp(8).nz.f0.0 null.x:D, vgrf11.yyyy:D, 0D By : cmp(8).z.f0.0 vgrf15.x:D, vgrf10.xxxx:D, vgrf2.yyyy:D ... mov(8) vgrf11.y:D, vgrf15.yyyy:D The first cmp instruction is storing in x while the second mov is sourcing from y. We need to take into account where the replacement on the scan_inst destination is going to store thing so that the replacement mov can source things from the correct location. Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: 4cd1a0be ("i965/vec4: Propagate conditional modifiers from more compares to other compares") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109759 Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 6e184147)
-
Yevhenii Kolesnikov authored
Added check for higher compat profile being allowed before assigning certain extensions. Fixes: 272fe949 (mesa: enable ARB_texture_buffer_* extensions in the Compatibility profile) Signed-off-by:
Danylo Piliaiev <danylo.piliaiev@globallogic.com> Signed-off-by:
Yevhenii Kolesnikov <yevhenii.kolesnikov@globallogic.com> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107052 (cherry picked from commit 07f4b4e4)
-
Timothy Arceri authored
Some types of params such as some builtins are always padded. We need to keep track of this so we can restore the list correctly. Here we also remove a couple of cache entries that are not actually required as they get rebuilt by the _mesa_add_parameter() calls. This patch fixes a bunch of arb_texture_multisample and arb_sample_shading piglit tests for the radeonsi NIR backend. Fixes: edded123 ("mesa: rework ParameterList to allow packing") Reviewed-by:
Marek Olšák <marek.olsak@amd.com> (cherry picked from commit 7536af67)
-
Ray Zhang authored
call XShmDetach to allow X server to free shared memory Fixes: bcd80be4 "drisw/glx: use XShm if possible" Signed-off-by:
Ray Zhang <zhanglei002@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> (cherry picked from commit b344e32c)
-
Jose Maria Casanova Crespo authored
Avoids regression on: KHR-GLES*.core.tessellation_shader.single.xfb_captures_data_from_correct_stage that is uncovered by the following patch. "glsl: fix recording of variables for XFB in TCS shaders" v2: Rebased over glsl: fix recording of variables for XFB in TCS shaders v3: Move this patch before "glsl: fix recording of variables for XFB in TCS shaders" to avoid temporal regressions. (Illia Mirkin) Cc: 19.0 <mesa-stable@lists.freedesktop.org> Reviewed-by:Timothy Arceri <tarceri@itsqueeze.com> (cherry picked from commit bf1f4948)
-
Ilia Mirkin authored
This is purely for conformance, since it's not actually possible to do XFB on TCS output varyings. However we do have to make sure we record the names correctly, and this removes an extra level of array-ness from the names in question. Fixes KHR-GL45.tessellation_shader.single.xfb_captures_data_from_correct_stage v2: Add comment to the new program_resource_visitor::process function. (Ilia Mirkin) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108457 Signed-off-by:Ilia Mirkin <imirkin@alum.mit.edu> Cc: 19.0 <mesa-stable@lists.freedesktop.org> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com> (cherry picked from commit 4eec3a2a)
-
Mauro Rossi authored
Fix anv_extrypoints.{c,h} and anv_extensions.{c,h} missing dependencies Rename the variable labels according to targets and python scripts Align the building rules as per Automake for simplification Fixes building errors during rebuils due to missing dependencies (v2) Fixed a missing $(VULKAN_API_XML) reference Fixes: 9a508b71 ("android: anv/extensions: fix generated sources build") Fixes: dd088d4b ("anv/extensions: Generate a header file with extension tables") Signed-off-by:Mauro Rossi <issor.oruam@gmail.com> Reviewed-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Eric Engestrom <eric.engestrom@intel.com> Cc: "19.0" <mesa-stable@lists.freedesktop.org> (cherry picked from commit 14e7e26a)
-
Mauro Rossi authored
Fixes undefined reference building errors for XML_* functions Signed-off-by:
Mauro Rossi <issor.oruam@gmail.com> Reviewed-by:
Tapani Pälli <tapani.palli@intel.com> Cc: "19.0" <mesa-stable@lists.freedesktop.org> (cherry picked from commit ec0f465b)
-
Axel Davy authored
Check GetWindowInfo and ignore the computed sizes if there is an error. Fixes a regression caused by earlier commit when using old wine gallium nine patches. Should also address a crash at window destruction. Related issues: https://github.com/iXit/Mesa-3D/issues/331 https://github.com/iXit/Mesa-3D/issues/332 Cc: mesa-stable@lists.freedesktop.org Fixes: 2318ca68 ("st/nine: Handle window resize when a presentation buffer is used") Signed-off-by:
Axel Davy <davyaxel0@gmail.com> (cherry picked from commit 86666f05)
-
Axel Davy authored
Apparently instead of returning error when passing a quality level different than 0 for D3DMULTISAMPLE_NONE, we should pass. Fixes: https://github.com/iXit/Mesa-3D/issues/340 Cc: mesa-stable@lists.freedesktop.org Signed-off-by:
Axel Davy <davyaxel0@gmail.com> (cherry picked from commit 1d363d44)
-
Faith Ekstrand authored
We were accidentally not counting those surfaces Fixes: ddc40691 "anv: Implement VK_KHR_maintenance3" Reviewed-by:
Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> (cherry picked from commit 5049fbdd)
-
Faith Ekstrand authored
No idea how this fell through the cracks besides the fact that the sampler bound at 0 almost always works and the CTS isn't amazing. In any case, this appears to have been broken for almost forever. Reviewed-by:
Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: mesa-stable@lists.freedesktop.org (cherry picked from commit ca295ddb)
-
Faith Ekstrand authored
When we have a larger sampler index, we get into the "high sampler" scenario and need an instruction header. Even in SIMD8, this pushes the instruction over the sampler message size maximum of 11 registers. Instead, we have to lower TXD to TXL. Fixes: cb98e075 "intel/fs: Support min_lod parameters on texture..." Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> (cherry picked from commit 5c96120b)
-
Tapani Pälli authored
This does not seem to fix anything ATM but is the right thing todo. Signed-off-by:
Tapani Pälli <tapani.palli@intel.com> Fixes: f3e91e78 ("anv: add nir lowering pass for ycbcr textures") Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> (cherry picked from commit 33bf3d51)
-
Eric Engestrom authored
This function was never used, and isn't properly guarded by HAVE_LIBDRM, breaking the build on systems that don't have libdrm. Let's just remove it. Fixes: 7552fcb7 "egl: add base EGL_EXT_device_base implementation" Reported-by:
Timo Aaltonen <tjaalton@debian.org> Signed-off-by:
Eric Engestrom <eric.engestrom@intel.com> Acked-by:
Emil Velikov <emil.velikov@collabora.com> (cherry picked from commit bcc4bfc8)
-
Samuel Pitoiset authored
If alignement is 0, offets returned by radv_cmd_buffer_upload_alloc() are always 0. These two virtual addresses were pointing at the same location. Cc: 18.3 19.0 <mesa-stable@lists.freedesktop.org> Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (cherry picked from commit c2a14869)
-
Dylan Baker authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored
-
Timo Aaltonen authored