- 29 Sep, 2020 10 commits
-
-
Erik Faye-Lund authored
The separate readthedocs documentation is quite pointless these days, as it's been moved to docs.mesa3d.org, where all other documentation already is. There's nothing special about this documentation any longer. Reviewed-by:
Eric Anholt <eric@anholt.net> Part-of: <!6893>
-
Boris Brezillon authored
Add an entry for the mediatek modesetting driver. Signed-off-by:
Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <!6885>
-
Boris Brezillon authored
Signed-off-by:
Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <!6885>
-
Boris Brezillon authored
The G72, which is a bifrost v6, supports fast operations. The selection should probably be done on a per-GPU basis instead of forcing this quirk for all v6 GPUs. Signed-off-by:
Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <!6885>
-
Denis Pauk authored
Save bit_offset between iterations fixes for piglit: * LIBGL_ALWAYS_SOFTWARE=true GALLIUM_DRIVER=softpipe piglit/bin/bptc-float-modes * LIBGL_ALWAYS_SOFTWARE=true GALLIUM_DRIVER=llvmpipe piglit/bin/bptc-float-modes Memset to zero in reserved mode for rgba_unorm fixes for VK-GL-CTS with libvulkan_val: * dEQP-VK.texture.compressed.bc7_unorm_block_2d_pot * dEQP-VK.texture.compressed.bc7_srgb_block_2d_pot * dEQP-VK.texture.compressed.bc7_unorm_block_2d_npot * dEQP-VK.texture.compressed.bc7_srgb_block_2d_npot Signed-off-by:
Denis Pauk <pauk.denis@gmail.com> Reviewed-by:
Dave Airlie <airlied@redhat.com> Acked-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <!6809>
-
Samuel Pitoiset authored
It's not always v4f32 (or v4f16 for 16-bit) when image stores are shrinked using the format. This fixes a ton of crashes with RADV_DEBUG=checkir,llvm. Fixes: e4d75c22 ("nir/opt_shrink_vectors: shrink image stores using the format") Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Marek Olšák <marek.olsak@amd.com> Part-of: <!6882>
-
Samuel Pitoiset authored
To match ACO. Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Part-of: <!5316>
-
Samuel Pitoiset authored
Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Part-of: <!5316>
-
Samuel Pitoiset authored
Signed-off-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Part-of: <!5316>
-
Daniel Stone authored
Due to more work in the on-site lab, we need to take the T7xx machines out of the rotation for a couple of hours. Signed-off-by:
Daniel Stone <daniels@collabora.com> Part-of: <!6896>
-
- 28 Sep, 2020 30 commits
-
-
Vinson Lee authored
Fix defect reported by Coverity Scan. Resource leak (RESOURCE_LEAK) leaked_storage: Variable l going out of scope leaks the storage it points to. Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <!6858>
-
Vinson Lee authored
pContextMem has already been checked and cannot be NULL. Fix defect reported by Coverity Scan. Logically dead code (DEADCODE) dead_error_line: Execution cannot reach this statement: return tsCtx; Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Jan Zielinski <jan.zielinski@intel.com> Part-of: <!6857>
-
Vinson Lee authored
Fix defect reported by Coverity Scan. Uninitialized scalar field (UNINIT_CTOR) uninit_member: Non-static class member literal_idx is not initialized in this constructor nor in any functions that it calls. Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Tony Wasserka <tony.wasserka@gmx.de> Reviewed-by:
Rhys Perry <pendingchaos02@gmail.com> Part-of: <!6832>
-
Vinson Lee authored
Fix defect reported by Coverity Scan. Argument cannot be negative (NEGATIVE_RETURNS) negative_returns: fd is passed to a parameter that cannot be negative Signed-off-by:
Vinson Lee <vlee@freedesktop.org> Reviewed-by:
Marcin Ślusarz <marcin.slusarz@intel.com> Reviewed-by:
Matt Turner <mattst88@gmail.com> Part-of: <!6643>
-
Ian Romanick authored
Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Reviewed-by:
Matt Turner <mattst88@gmail.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <mesa/mesa!6826>
-
Ian Romanick authored
v2: Restore the gen == 10 hunk in brw_compile_vs (around line 2940). This function is also used for scalar VS compiles. Squash in: intel/vec4: Reindent after removing Gen8+ support intel/vec4: Silence unused parameter warning in try_immediate_source Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> [v1] Reviewed-by: Matt Turner <mattst88@gmail.com> [v1] Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> [v1] Part-of: <!6826>
-
Ian Romanick authored
Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Reviewed-by:
Matt Turner <mattst88@gmail.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <!6826>
-
Ian Romanick authored
Since dd7135d5 ("intel/compiler: Use the flrp lowering pass for all stages on Gen4 and Gen5"), it's not possible to get to this function on GPUs that don't have a LRP instruction. Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Reviewed-by:
Matt Turner <mattst88@gmail.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <!6826>
-
Ian Romanick authored
v2: Add missing error string handling. Noticed by Jason. Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Matt Turner <mattst88@gmail.com> [v1] Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <!6826>
-
Ian Romanick authored
src/intel/compiler/brw_eu_emit.c: In function ‘brw_surface_payload_size’: src/intel/compiler/brw_eu_emit.c:3070:46: warning: unused parameter ‘p’ [-Wunused-parameter] 3070 | brw_surface_payload_size(struct brw_codegen *p, | ~~~~~~~~~~~~~~~~~~~~^ Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Reviewed-by:
Matt Turner <mattst88@gmail.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <mesa/mesa!6826>
-
Ian Romanick authored
src/intel/compiler/brw_vec4_generator.cpp: In function ‘void generate_gs_svb_write(brw_codegen*, brw_vue_prog_data*, brw::vec4_instruction*, brw_reg, brw_reg, brw_reg)’: src/intel/compiler/brw_vec4_generator.cpp:488:49: warning: unused parameter ‘prog_data’ [-Wunused-parameter] 488 | struct brw_vue_prog_data *prog_data, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ src/intel/compiler/brw_vec4_generator.cpp: In function ‘void generate_pull_constant_load(brw_codegen*, brw_vue_prog_data*, brw::vec4_instruction*, brw_reg, brw_reg, brw_reg)’: src/intel/compiler/brw_vec4_generator.cpp:1269:55: warning: unused parameter ‘prog_data’ [-Wunused-parameter] 1269 | struct brw_vue_prog_data *prog_data, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ src/intel/compiler/brw_vec4_generator.cpp: In function ‘void generate_get_buffer_size(brw_codegen*, brw_vue_prog_data*, brw::vec4_instruction*, brw_reg, brw_reg, brw_reg)’: src/intel/compiler/brw_vec4_generator.cpp:1331:52: warning: unused parameter ‘prog_data’ [-Wunused-parameter] 1331 | struct brw_vue_prog_data *prog_data, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ src/intel/compiler/brw_vec4_generator.cpp: In function ‘void generate_pull_constant_load_gen7(brw_codegen*, brw_vue_prog_data*, brw::vec4_instruction*, brw_reg, brw_reg, brw_reg)’: src/intel/compiler/brw_vec4_generator.cpp:1357:60: warning: unused parameter ‘prog_data’ [-Wunused-parameter] 1357 | struct brw_vue_prog_data *prog_data, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ Reviewed-by:
Jason Ekstrand <jason@jlekstrand.net> Reviewed-by:
Matt Turner <mattst88@gmail.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <!6826>
-
Gert Wollny authored
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <!6879>
-
Gert Wollny authored
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <!6879>
-
Gert Wollny authored
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <!6879>
-
Gert Wollny authored
Lowering uniforms to UBOs results in an aditional iadd for the UBO buffer id evaluation, and for indirect buffers access that results in an unnecessary op that can be avoided by not lowering uniforms. There is some code duplication when reading the uniforms but it saves a whole instruction group per indirect cont buffer access. This reverts commit 98eb00fa with some additional fixes. Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <!6879>
-
Gert Wollny authored
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <!6879>
-
Gert Wollny authored
Part-of: <!6879>
-
Gert Wollny authored
Also pass in the interpolator x component (because the TGSI does this too) Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <!6879>
-
Gert Wollny authored
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <!6879>
-
Gert Wollny authored
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <!6879>
-
Gert Wollny authored
Part-of: <!6879>
-
Gert Wollny authored
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <!6879>
-
Gert Wollny authored
Signed-off-by:
Gert Wollny <gert.wollny@collabora.com> Part-of: <!6879>
-
Eric Anholt authored
ir3 looks at the .location on its inputs for handling non-VARYING_SLOT_POS, but our uninitialized semantics matched that and threw a compiler assertion failure. Fixes: 502abfce ("nir: save IO semantics in lowered IO intrinsics") Reviewed-by:
Connor Abbott <cwabbott0@gmail.com> Part-of: <mesa/mesa!6716>
-
Eric Anholt authored
glxgears is now trimmed to not be tons of frames, and we've picked up a couple more traces in the public repo. Part-of: <!6716>
-
Eric Anholt authored
Part-of: <!6716>
-
Eric Anholt authored
This gets us logging on Android. Reviewed-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com> Part-of: <!6806>
-
Eric Anholt authored
I'm bringing up freedreno Vulkan on an Android phone, and my pains are exactly what Chad said when working on Intel's vulkan for Android in aa716db0 ("intel: Add simple logging façade for Android (v2)"): On Android, stdio goes to /dev/null. On Android, remote gdb is even more painful than the usual remote gdb. On Android, nothing works like you expect and debugging is hell. I need logging. This patch introduces a small, simple logging API that can easily wrap Android's API. On non-Android platforms, this logger does nothing fancy. It follows the time-honored Unix tradition of spewing everything to stderr with minimal fuss. My goal here is not perfection. My goal is to make a minimal, clean API, that people hate merely a little instead of a lot, and that's good enough to let me bring up Android Vulkan. And it needs to be fast, which means it must be small. No one wants to their game to miss frames while aiming a flaming bow into the jaws of an angry robot t-rex, and thus become t-rex breakfast, because some fool had too much fun desiging a bloated, ideal logging API. Compared to trusty fprintf, _mesa_log[ewi]() is actually usable on Android. Compared to os_log_message(), this has different error levels and supports format arguments. The only code change in the move is wrapping flockfile/funlockfile in !DETECT_OS_WINDOWS, since mingw32 doesn't have it. Windows likely wants different logging code, anyway. Reviewed-by:
Tapani Pälli <tapani.palli@intel.com> Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com> Part-of: <!6806>
-
Bas Nieuwenhuizen authored
Not doing the EOP TS cacheflush event because that break wave counting in RGP for some reason. But the rest looks to be all there. Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <!6550>
-
Bas Nieuwenhuizen authored
Since the flushes really happen on the next draw delay the barrier end to include the flushes. This fixes the barrier duration in RGP. Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <!6550>
-