- 26 Oct, 2018 13 commits
-
-
Jason Ekstrand authored
Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Eric Anholt <eric@anholt.net>
-
Jason Ekstrand authored
Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Eric Engestrom <eric.engestrom@intel.com>
-
Jason Ekstrand authored
Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Eric Engestrom <eric.engestrom@intel.com>
-
Jason Ekstrand authored
Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Eric Engestrom <eric.engestrom@intel.com>
-
Alex Smith authored
When depth testing is disabled, we shouldn't pay attention to the specified depthCompareOp, and just treat it as always passing. Before, if the depth test is disabled, but depthCompareOp is VK_COMPARE_OP_NEVER (e.g. from the app having zero-initialized the structure), then sanitize_stencil_face() would have incorrectly changed passOp to VK_STENCIL_OP_KEEP. v2: Roll the depthTestEnable check into the ds_aspect check below since they now both do the same thing. Fixes: 028e1137 "anv/pipeline: Be smarter about depth/stencil state" Signed-off-by:
Alex Smith <asmith@feralinteractive.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-
Samuel Pitoiset authored
This should address the remaining failures in Batman Arkhman City. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107765 Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
Samuel Pitoiset authored
Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
Samuel Pitoiset authored
For the special R32G32B32 paths. Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
Samuel Pitoiset authored
For the special R32G32B32 paths. Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
Samuel Pitoiset authored
For the special R32G32B32 paths. Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
-
Sagar Ghuge authored
While disassembling send(c) instruction print message descriptor as immediate source operand along with message descriptor. This allows assembler to read immediate source operand and set bits accordingly. Signed-off-by:
Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by:
Samuel Iglesias Gonsálvez <siglesias@igalia.com>
-
Sagar Ghuge authored
While encoding the immediate floating point values in instruction we use values upto precision 9, but while disassembling, we print precision to 6 places, which round up the value and gives wrong interpretation for encoded immediate constant. To avoid misinterpretation of encoded immediate values in instruction and disassembled output, print hex representation along with floating point value which can be used by assembler in future. Signed-off-by:
Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by:
Samuel Iglesias Gonsálvez <siglesias@igalia.com>
-
David McFarland authored
After discussion with Timothy Arceri. disk_cache_get_function_identifier was using only the first byte of the sha1 build-id. Replace disk_cache_get_function_identifier with implementation from radv_get_build_id. Instead of writing a uint32_t it now writes to a mesa_sha1. All drivers using disk_cache_get_function_identifier are updated accordingly. Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com> Fixes: 83ea8dd9 ("util: add disk_cache_get_function_identifier()")
-
- 25 Oct, 2018 11 commits
-
-
Hyunjun Ko authored
Following the commit 2385d7b0 and 8e798e28 , for resource dependancy tracking. Fixes: dEQP-GLES31.functional.image_load_store.early_fragment_tests.no_early_fragment_tests_depth_fbo with FD_MESA_DEBUG=inorder Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Hyunjun Ko authored
To avoid wrong result when identifying the type of register. Ie. If the reg is an array, it might be identified as address or predicate register. Fixes: dEQP-GLES31.functional.ssbo.layout.random.arrays_of_arrays.6 Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
Don't leave vsconst/fsconst group enabled if we switch to shader with no uniforms. Fixes: abcdf562 freedreno/a6xx: move const emit to state group Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
Would have been useful to catch the problem fixed in 8e798e28 Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Alok Hota authored
This function's API changed between LLVM 5 and 6. Compile errors occur when building with LLVM 6+ if LLVM 5 was used for a dist tarball CC: <mesa-stable@lists.freedesktop.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107865 Reviewed-by:
Emil Velikov <emil.velikov@collabora.com>
-
Alok Hota authored
Converted from x86 VFMADDPS intrinsic to generic LLVM intrinsic, and removed createInstructionSimplifierPass, which were both removed in LLVM 7.0.0 These changes combine patches we received from the community and our own internal patches Reviewed-by:
Bruce Cherniak <bruce.cherniak@intel.com> Tested-by:
Chuck Atkins <chuck.atkins@kitware.com>
-
Rhys Perry authored
Gives a +3.89% to +5.27% FPS improvement with Hitman and +2.73% to +2.82% FPS improvement with Dirt Rally on my GTX 1060. Signed-off-by:
Rhys Perry <pendingchaos02@gmail.com> Reviewed-by:
Ilia Mirkin <imirkin@alum.mit.edu>
-
Bas Nieuwenhuizen authored
Since the CPU can read them we need to execute any GPU->CPU flushes before the event is written. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108524 Fixes: f4e499ec "radv: add initial non-conformant radv vulkan driver" Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com>
-
Bas Nieuwenhuizen authored
Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-
Eric Engestrom authored
Signed-off-by:
Eric Engestrom <eric@engestrom.ch> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-
Eric Engestrom authored
Signed-off-by:
Eric Engestrom <eric@engestrom.ch> Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-
- 24 Oct, 2018 12 commits
-
-
Dylan Baker authored
CC: Ian Romanick <ian.d.romanick@intel.com> CC: Marek Olšák <marek.olsak@amd.com> Fixes: b3c17330 ("mesa: expose AMD_gpu_shader_int64") Reviewed-by:
Juan A. Suarez <jasuarez@igalia.com>
-
Dylan Baker authored
Which is also required to put it in the tarball, a requirement for building with meson from the tarball. CC: Ian Romanick <ian.d.romanick@intel.com> CC: Marek Olšák <marek.olsak@amd.com> Fixes: 263c962c ("mesa: expose EXT_vertex_attrib_64bit") Reviewed-by:
Juan A. Suarez <jasuarez@igalia.com>
-
Eric Engestrom authored
Signed-off-by:
Eric Engestrom <eric.engestrom@intel.com> Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com>
-
Eric Engestrom authored
snprintf() guarantees that it will not write more chars than allowed, and that the string will be null-terminated, without the need to fill the whole thing with zeroes to begin with. Signed-off-by:
Eric Engestrom <eric.engestrom@intel.com> Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com>
-
Eric Engestrom authored
Signed-off-by:
Eric Engestrom <eric.engestrom@intel.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Reviewed-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com>
-
Dylan Baker authored
There are two problems with the fixed patch. First, it fails to create a dependency on the sourced .c file, so changes to intel_tiled_memcpy.c won't trigger a rebuild. It also doesn't get included in the dist tarball. Fixes: 11b1afdc ("i965/tiled_memcpy: inline movntdqa loads in tiled_to_linear") Reviewed-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Juan A. Suarez <jasuarez@igalia.com>
-
Dylan Baker authored
extra_files is just a nice way to to tell certain IDEs (and those reading the file) that this file is also a dependency. Meson will use the .d file generated by the compiler to figure out what the target actually depends on. Reviewed-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Juan A. Suarez <jasuarez@igalia.com>
-
Eduardo Lima Mitev authored
GL_EXT_texture_buffer introduced texture buffers, which can be used in shaders through a new type imageBuffer. Because how image access is implemented in freedreno, calling imageSize on an imageBuffer returns the size in bytes instead of texels, which is incorrect. This patch adds a division of imageSize result by the bytes-per-pixel of the image format, when image is buffer-backed. Fixes all tests under dEQP-GLES31.functional.image_load_store.buffer.image_size.* v2: Pre-compute and submit the log2 of the image format's bpp as shader constant instead of emitting the LOG2 instruction in code. (Rob Clark) v3: Use ffs (find-first-bit) helper for computing log2 (Ilia Mirkin) Reviewed-by:
Rob Clark <robdclark@gmail.com>
-
Jose Fonseca authored
Empty initializer is not standard C. This fixes MSVC build. Trivial.
-
Liviu Prodea authored
I found a remnant of texture_float build option that wasn't removed in commit 66673bef This patch removes it. Cc: mesa-stable@lists.freedesktop.org Reviewed-by:
Jose Fonseca <jfonseca@vmware.com>
-
Alex Smith authored
anv_GetPhysicalDeviceSurfaceSupportKHR will already return success for this, but anv_GetPhysicalDevice{Xcb,Xlib}PresentationSupportKHR do not. Apps which check for presentation support via the latter (all Feral Vulkan games at least) will therefore fail. This allows me to render on an Intel GPU and present to a display connected to an AMD card (tested HD 530 + Vega 64). v2: Rebase on current master. Signed-off-by:
Alex Smith <asmith@feralinteractive.com> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-
Juan A. Suarez Romero authored
Use nir_src_comp_as_uint() to read the proper second component, as nir_src_as_uint() returns the first one. v2: Use nir_src_comp_as_uint() [Jason] Fixes: 16870de8 ("nir: Use nir_src_is_const and nir_src_as_* in core code") Signed-off-by:
Juan A. Suarez Romero <jasuarez@igalia.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108532 Tested-by:
Michel Dänzer <michel.daenzer@amd.com> Tested-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net>
-
- 23 Oct, 2018 4 commits
-
-
Timothy Arceri authored
Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com>
-
Timothy Arceri authored
nir_lower_io_to_scalar_early() is really part of the link time optimisations. Moving it here allows the code to be simplified and also keeps the code easy to follow in the next patch. Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com>
-
Samuel Pitoiset authored
The linking opts shouldn't try removing or compacting XFB varyings in the consumer. To avoid this we copy the always_active_io flag from the producer. Reviewed-by:
Timothy Arceri <tarceri@itsqueeze.com>
-
Sagar Ghuge authored
To have uniform behavior while disassembling send(c) instruction use register type of unsigned doubleword for src1 when message descriptor is immediate value. Bspec does not specifiy anything for src1 immediate default type. Reviewed-by:
Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by:
Matt Turner <mattst88@gmail.com> Signed-off-by:
Sagar Ghuge <sagar.ghuge@intel.com>
-