- 30 Jun, 2017 36 commits
-
-
Eric Anholt authored
I really liked this idea, as it should help with management of packet parsing tools like the CL dump. The python script is forked off of theirs because our packets are byte-based instead of dwords, and the changes to do so while avoiding performance regressions due to unaligned accesses were quite invasive. v2: Fix Android.mk paths, drop shebang for python script, fix overlap detection. Acked-by:
Jason Ekstrand <jason@jlekstrand.net> Acked-by:
Kenneth Graunke <kenneth@whitecape.org> Tested-by:
Rob Herring <robh@kernel.org>
-
Bruce Cherniak authored
In swr_update_derived, for consistency, index buffer validation should be using the p_draw_info copy "info" rather than referencing p_draw_info. No functional change. Reviewed-by:
Tim Rowley <timothy.o.rowley@intel.com>
-
Tim Rowley authored
Tag pStat field in swr_draw_context structure so gen_llvm_types.py can deal with the actual structure type instead of using void. Code cleanup, no functional change. Reviewed-by:
Bruce Cherniak <bruce.cherniak@intel.com>
-
Tim Rowley authored
Increases performance of some large workloads on KNL by ~30%. Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
-
Tim Rowley authored
Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
-
Tim Rowley authored
Fixes render target read access from pixel shaders. Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
-
Tim Rowley authored
Switch from a macro-based simd intrinsics layer to a more C++ implementation, which also adds AVX512 optimizations to 128-bit and 256-bit SIMD. Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
-
Tim Rowley authored
Intended for header files which are not meant to be included directly. Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
-
Tim Rowley authored
Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
-
Tim Rowley authored
Hardcode split to four files currently. Decreases swr build time on KNL by over 50%. Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
-
Tim Rowley authored
Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
-
Tim Rowley authored
Each shader stage state (VS, TS, GS, SO, BE/CLIP) now has a vertexAttribOffset to specify the offset to the start of the general attribute section of the incoming verts for that stage. It is up to the driver to set this up correctly based on the active stages. All the shader stages use this value instead of VERTEX_ATTRIB_START_SLOT to offset to the incoming attributes. Only the vertex shader stage supports dynamic layout output currently. The other stages continue to expect the output to be the fixed layout slots as before. Will be enabling GS next. Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
-
Tim Rowley authored
Hardcode split to four files currently. Decreases swr build time on a quad-core by ~10%. Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
-
Tim Rowley authored
Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
-
Tim Rowley authored
Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
-
Tim Rowley authored
Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com>
-
Andres Gomez authored
Signed-off-by:
Andres Gomez <agomez@igalia.com>
-
Andres Gomez authored
Signed-off-by:
Andres Gomez <agomez@igalia.com> (cherry picked from commit 5a24aa8c55c2b7893d50a4a203f14300d4ecab87)
-
Andres Gomez authored
Signed-off-by:
Andres Gomez <agomez@igalia.com> (cherry picked from commit e60d010ef41f049df84d683a6465d1e5bf0cbb3d)
-
Mauro Rossi authored
There is typo in the mkdir command path, the correct one is $(TARGET_OUT)/$(l)/$(MESA_DRI_MODULE_REL_PATH) The other issue is in 32bit builds, because lib64 does not exist there, we can use TARGET_IS_64_BIT to refine the post install command. Fixes: a3d98ca6 ("Android: use symlinks for driver loading") Signed-off-by:
Rob Herring <robh@kernel.org>
-
Brian Paul authored
To sync with in-house changes. Reviewed-by:
Neha Bhende <bhenden@vmware.com>
-
Brian Paul authored
Trivial.
-
Charmaine Lee authored
Add mksstats for surface view emulation and also tighten the stat CreateBackedView for the actual creation of backed view. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Brian Paul authored
In general, the functions which emit commands to the command buffer check for failure and return a PIPE_ERROR_x code. It's up to the caller to flush the buffer and retry the command. But svga_set_stream_output() did its own flushing and the callers never checked the return value (though, it would always be PIPE_OK) in practice. This patch changes svga_set_stream_output() so that it does not call svga_context_flush() when the buffer is full. And we update the callers to check the return value as we do for other functions, like svga_set_shader(). No Piglit regressions. Also tested w/ Nature demo. Reviewed-by:
Charmaine Lee <charmainel@vmware.com>
-
Charmaine Lee authored
This patch fixes the total surface size in surface cache to include array size as well. Tested with MTT glretrace. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Neha Bhende authored
piglit test ext_texture_array-gen-mipmap is fixed with this patch. Tested with mtt piglit, glretrace, viewperf and conform. No regression. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Charmaine Lee authored
Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Charmaine Lee authored
This patch validates those sampler views with backing copy of texture whose original copy has been updated since the view is last validated. This is done here at draw time because the texture binding might not have modified, hence validation is not triggered at state update time, and yet the texture might have been updated in another context, so we need to re-validate the sampler view in order to update the backing copy of the updated texture. This fixes a rendering flickering issue with Photoshop running in Linux VM with HWversion 11. The problem is Photoshop renders to texture A in context X, and then bind texture A to context Y. The first time when texture A is bound to context Y, cso calls pipe->set_sampler_views(). Validation of sampler views is done, rendering is fine. But when texture A is rendered to again in context X, and rebound in context Y, cso skips pipe->set_sampler_views() because texture A is already bound in context Y. SVGA driver is not given a chance to re-validate the texture binding, the backing copy of the texture is not updated, and hence causes black image. Tested with Photoshop, MTT glretrace, piglit. Fixes VMware bug 1769103. Reviewed-by:
Jose Fonseca <jfonseca@vmware.com>
-
Juan A. Suarez Romero authored
Reviewed-by:
Emil Velikov <emil.velikov@collabora.com>
-
Nicolai Hähnle authored
Taken from commit 676834dd529d620ee25090e738d2607dfde003d8 of https://github.com/KhronosGroup/OpenGL-Registry.git v2: - keep the BUILDING_MESA bits (Matt) Reviewed-by:
Matt Turner <mattst88@gmail.com> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com>
-
Johnson Lin authored
Trigger the correct sampler options for it. Similar with YUYV Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com>
-
Johnson Lin authored
Similar with support for YUYV but with byte order difference in sampler Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com>
-
Johnson Lin authored
UYVY is diffrent with YUYV in byte order. YUYV is already declared in dri_interface.h, this CL add the difinitions for UYVY. Drivers can add UYVY as supported format Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com>
-
Rob Herring authored
Add GBM_FORMAT_XBGR8888 format support which is needed for Android. Signed-off-by:
Rob Herring <robh@kernel.org> Reviewed-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Daniel Stone <daniels@collabora.com> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com>
-
Rob Herring authored
The function getprogname() is available on Android, since it reuses various BSD solutions C runtime. Signed-off-by:
Rob Herring <robh@kernel.org> Reviewed-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com>
-
Tomeu Vizoso authored
Signed-off-by:
Robert Foss <robert.foss@collabora.com> Reviewed-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com>
-
- 29 Jun, 2017 4 commits
-
-
Bruce Cherniak authored
Deferred deletion (via "fence_work") has obsoleted the need to allocate all client vertex buffer scratch space in a single chunk. Scratch allocations are now valid until the referenced fence is complete. Reviewed-by:
Tim Rowley <timothy.o.rowley@intel.com>
-
Bruce Cherniak authored
Vertex buffer state doesn't need to be validated on every call, only on dirty _NEW_VERTEX or indexed draws. Unconditional validation was introduced as part of patch 330d0607, "remove pipe_index_buffer and set_index_buffer", with the expectation we'd optimize later. Reviewed-by:
Tim Rowley <timothy.o.rowley@intel.com>
-
Tim Rowley authored
Reduces the memory footprint of the frontend processing by packing vertices. Reviewed-by:
Bruce Cherniak <bruce.cherniak@intel.com>
-
Eric Engestrom authored
Windows doesn't allow you to move a file that's opened, and Popen() doesn't wait on its subprocess' completion before returning, which leads to broken Windows build. Fixes: 3fd425ae "build systems: uniformize git_sha1.h generation" Suggested-by:
Scott D Phillips <scott.d.phillips@intel.com> Signed-off-by:
Eric Engestrom <eric.engestrom@imgtec.com>
-