- 11 Jun, 2018 16 commits
-
-
Eric Engestrom authored
Now that we're using GitLab, let's take advantage of the "landing page" README feature with some minimal information, mostly to point people to the right resources. Acked-by:
Dylan Baker <dylan@pnwbakers.com> Acked-by:
Jason Ekstrand <jason@jlekstrand.net> Signed-off-by:
Eric Engestrom <eric.engestrom@intel.com>
-
v2: intel_miptree_release() already takes care of the planes, no need to hand-code the loop (Lionel) Coverity ID: 1436909 Fixes: 3352f2d7 "i965: Create multiple miptrees for planar YUV images" Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by:
Eric Engestrom <eric@engestrom.ch>
-
Rob Clark authored
At least for PIPE_BUFFER, we could get the resource used as (for example) R32F imageBuffer. So using cpp=1 from the rsc is wrong. Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
copy-pasta fail from how SSBO sizes are handled. Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
In some cases we get plain tex opcodes (but w/ a lod argument).. in this case always use the saml instruction. Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
If using a fanin (collect) to collect of consecutive registers together, we can CP mov's into the fanin, but not (abs) or (neg). No places that allow those modifiers are consuming a fanin anyways. But this caused an absneg to be lost between a ldgb and stgb for shaders like: outputs[n] = abs(input[n]) Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
With 8b and 16b, there are a lot more to handle. Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
If we have a fanout (split) meta instruction to split the result of a vector instruction, propagate the HALF flag back to the original instruction. Otherwise result ends up in a full precision register while instruction(s) that use the result look in a half-precision register. Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
image reads are handled via tex state, whereas image writes and atomics are handled via SSBO state block. Previously we were only considering image write, and not image atomics which also uses the SSBO state block. Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
If FindProcIndex in egldispatchstubs.c is called with a name that's less than the first entry in the array, it would end up trying to store an index of -1 in an unsigned integer, wrap around to 2^32, and then crash when it tries to look that up. Change FindProcIndex so that it uses bsearch(3) instead of implementing its own binary search, like the GLX equivalent FindGLXFunction does. Reviewed-by:
Eric Engestrom <eric.engestrom@intel.com>
-
Jordan Justen authored
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106810 Fixes: b4c37ce2 "i965: Add ARB_get_program_binary support using nir_serialization" Ref: 3fe8d04a "mesa: don't always set _NEW_PROGRAM when linking" Ref: c505d6d8 "mesa: use gl_program for CurrentProgram rather than gl_shader_program" Signed-off-by:
Jordan Justen <jordan.l.justen@intel.com> Reviewed-by:
Plamena Manolova <plamena.manolova@intel.com> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-
Dave Airlie authored
All the features for GL4.1 are done (64-bit attribs were part of the fp64 enable). Once tessellation shaders land this will be advertised
-
- 10 Jun, 2018 1 commit
-
-
Dave Airlie authored
This enables ARB_gpu_shader_fp64 if the host provides it. Tested-by:
Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org>
-
- 09 Jun, 2018 2 commits
-
-
Samuel Pitoiset authored
Workaround for bug in llvm that causes the GPU to hang in presence of nested loops because there is an exec mask issue. The proper solution is to fix LLVM but this might require a bunch of work. This fixes a bunch of GPU hangs that happen with DXVK. Vega10: Totals from affected shaders: SGPRS: 110456 -> 110456 (0.00 %) VGPRS: 122800 -> 122800 (0.00 %) Spilled SGPRs: 7478 -> 7478 (0.00 %) Spilled VGPRs: 36 -> 36 (0.00 %) Code Size: 9901104 -> 9922928 (0.22 %) bytes Max Waves: 7143 -> 7143 (0.00 %) Code size slightly increases because it inserts more branch instructions but that's expected. I don't see any real performance changes. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105613 Cc: mesa-stable@lists.freedesktop.org Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
Samuel Pitoiset authored
ZRANGE_PRECISION(1) seems to be the default optimal value, but it was only set for VI and older chips. This fixes a rendering issue with Banished through DXVK, and might fix more than that. There is still the ZRANGE_PRECISION bug that we need to handle but that can be fixed later. Cc: mesa-stable@lists.freedesktop.org Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
- 08 Jun, 2018 14 commits
-
-
Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-
v2: An attempt to support SpvExecutionModeStencilRefReplacingEXT's behavior also follows, with the interpretation to said mode being we prevent writes to the built-in FragStencilRefEXT variable when the execution mode isn't set. v3: A more cautious reading of 1db44252 led me to a missing change that would stop (what I later discovered were) GPU hangs on the CTS test written to exercise this. v4: Turn FragStencilRefEXT decoration usage without StencilRefReplacingEXT mode into a warning, instead of trying to make the variable read-only. If we are to follow the originating extension on GL, the built-in variable in question should never be readable anyway. v5/v6: rebases. v7: Fix check for gen9 lost in rebase. (Ilia) Reduce the scope of the bool used to track whether SpvExecutionModeStencilRefReplacingEXT was used. Was in shader_info, moved to vtn_builder. (Jason) v8: Assert for fragment shader handling StencilRefReplacingEXT execution mode. (Caio) Remove warning logic, since an entry point might not have StencilRefReplacingEXT execution mode, but the global output variable might still exist for another entry point in the module. (Jason) Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-
Emma Anholt authored
Hopefully this reduces the number of fixup commits we need for the automake build. Reviewed-by:
Eric Engestrom <eric.engestrom@intel.com> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com>
-
Emma Anholt authored
This will catch many automake bugs that end-users get to experience first, otherwise. Reviewed-by:
Eric Engestrom <eric.engestrom@intel.com> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com>
-
Eric Engestrom authored
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106861 Fixes: 1db4ec05 "egl: rewire the build systems to use libwayland-egl" Suggested-by:
Emil Velikov <emil.l.velikov@gmail.com> Tested-by:
Andreas Hartmetz <ahartmetz@gmail.com> Signed-off-by:
Eric Engestrom <eric.engestrom@intel.com>
-
Cameron Kumar authored
The queue_manager thread can access the images from x11_present_to_x11, hence this reorder prevents dereferencing of dangling pointers. Cc: "18.1" <mesa-stable@lists.freedesktop.org> Fixes: e73d136a ("vulkan/wsi/x11: Implement FIFO mode.") Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com>
-
Sonny Jiang authored
Remembering latest states of registers to eliminate redunant SET_CONTEXT_REG packets Signed-off-by:
Sonny Jiang <sonny.jiang@amd.com> Signed-off-by:
Marek Olšák <marek.olsak@amd.com>
-
Sonny Jiang authored
Remembering latest states of registers to eliminate redunant SET_CONTEXT_REG packets Signed-off-by:
Sonny Jiang <sonny.jiang@amd.com> Signed-off-by:
Marek Olšák <marek.olsak@amd.com>
-
Sonny Jiang authored
Remembering latest states of registers to eliminate redunant SET_CONTEXT_REG packets Signed-off-by:
Sonny Jiang <sonny.jiang@amd.com> Signed-off-by:
Marek Olšák <marek.olsak@amd.com>
-
Sonny Jiang authored
Remembering latest states of registers to eliminate redunant SET_CONTEXT_REG packets Signed-off-by:
Sonny Jiang <sonny.jiang@amd.com> Signed-off-by:
Marek Olšák <marek.olsak@amd.com>
-
Sonny Jiang authored
Remembering latest states of registers to eliminate redunant SET_CONTEXT_REG packets Signed-off-by:
Sonny Jiang <sonny.jiang@amd.com> Signed-off-by:
Marek Olšák <marek.olsak@amd.com>
-
Sonny Jiang authored
Remembering latest states of registers to eliminate redunant SET_CONTEXT_REG packets Signed-off-by:
Sonny Jiang <sonny.jiang@amd.com> Signed-off-by:
Marek Olšák <marek.olsak@amd.com>
-
Jan Vesely authored
Use of void * in pointer arithmetic is illegal, use char * instead. Fixes: cf54bd5e ("drisw: use shared memory when possible") Reviewed-by:
Dave Airlie <airlied@redhat.com> Signed-off-by:
Jan Vesely <jan.vesely@rutgers.edu>
-
Timothy Arceri authored
Fixes truncation warning in gcc 8.1 Fixes: 8539c9bf ("gallium/radeon: add the kernel version into the renderer string") Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com>
-
- 07 Jun, 2018 7 commits
-
-
Timothy Arceri authored
Fixes the gcc warning: snprintf’ output between 26 and 33 bytes into a destination of size 32 Fixes: d5f7ebda ("ac: add LLVM build functions for subgroup instrinsics") Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
Bas Nieuwenhuizen authored
The LLVM 6 code reduced it to a non-array call. We need to do that with the new code too. This fixes dEQP-VK.glsl.texture_functions.query.texturequerylod.*array* for radv. Fixes: a9a79934 "amd/common: use the dimension-aware image intrinsics on LLVM 7+" Reviewed-by:
Dave Airlie <airlied@redhat.com>
-
Dave Airlie authored
This hopefully adds virgl to the correct places and current statuses of various extensions. virgl of course relies on two external things a) host driver that can support the features b) up to date host virglrenderer library that can support the features. This list will be maintained as latest (a) + (b) + mesa. Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org>
-
Matt Turner authored
Port of 6dfc5e28 (configure.ac: Add support to enable read-only text segment on x86.) to Meson. Reviewed-by:
Dylan Baker <dylan@pnwbakers.com>
-
Dylan Baker authored
Gentoo's ebuild system always adds -m32 to the compiler for doing x86_64 -> x86 cross builds, while meson expects it not to do that. This results in an x86 -> x86 cross build, and assembly gets disabled. Fixes: 2d62fc06 ("meson: disable x86 asm in fewer cases.") Signed-off-by:
Dylan Baker <dylan.c.baker@intel.com> Reviewed-by:
Matt Turner <mattst88@gmail.com>
-
Jason Ekstrand authored
Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com>
-
Jason Ekstrand authored
Not all of the MESA_FORMAT and ISL_FORMAT helpers we use can properly handle RGBX formats. Also, we don't want to make decisions based on those in the first place because we can't render to RGBA and we use the non-sRGB version to determine whether or not to allow CCS_E. Cc: mesa-stable@lists.freedesktop.org Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com>
-