1. 29 Oct, 2020 1 commit
  2. 21 Oct, 2020 1 commit
  3. 13 Oct, 2020 3 commits
  4. 07 Oct, 2020 3 commits
  5. 04 Oct, 2020 3 commits
  6. 02 Oct, 2020 1 commit
  7. 01 Oct, 2020 1 commit
    • Matt Turner's avatar
      Revert F16C series (MR 6774) · 1aac47db
      Matt Turner authored
      This reverts commit 4fb2eddf.
      This reverts commit 7a1deb16.
      This reverts commit 2b6a1723.
      This reverts commit 5af81393.
      This reverts commit 87900afe.
      
      A couple of problems were discovered after this series was merged that
      cause breakage in different configurations:
      
         (1) It seems that using -mf16c also enables AVX, leading to SIGILL on
         platforms that do not support AVX.
         (2) Since clang only warns about unknown flags, and as I understand
         it Meson's handling in cc.has_argument() is broken, the F16C code is
         wrongly enabled when clang is used, even for example on ARM, leading
         to a compilation error.
      
      Closes: #3583Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      Reviewed-by: Rob Clark's avatarRob Clark <robdclark@chromium.org>
      Part-of: <!6969>
      1aac47db
  8. 30 Sep, 2020 2 commits
  9. 24 Sep, 2020 1 commit
  10. 22 Sep, 2020 1 commit
  11. 16 Sep, 2020 1 commit
  12. 26 Aug, 2020 1 commit
    • Alejandro Piñeiro's avatar
      v3d: set instance id to 0 at start of tile · 05a03499
      Alejandro Piñeiro authored
      PTB assumes that base instance to be 0 at start of tile, but hw would
      not do that, we need to set it. It is worth to note that the opcode
      name is somewhat confusing as what it really sets is the base
      instance. We could rename the opcode, but then the name would be
      different to the original Broadcom name, so confusing in any case.
      
      This fixes several dEQP-GLES3 and dEQP-GLES31 tests that passes
      individually, but started to fail depending on other tests running
      before using base instance different to zero.
      
      This is the backport of a Vulkan patch that fixed some Vulkan CTS
      tests that start to fails after some other tests used an instance id.
      
      CC: 20.2 20.1 <mesa-stable@lists.freedesktop.org>
      Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      Part-of: <mesa/mesa!6447>
      05a03499
  13. 05 Aug, 2020 1 commit
  14. 29 Jul, 2020 1 commit
  15. 09 Jul, 2020 1 commit
  16. 08 Jul, 2020 1 commit
  17. 06 Jul, 2020 4 commits
    • Neil Roberts's avatar
      v3d: Enable perpendicular line caps when line smoothing · 137d8f98
      Neil Roberts authored
      V3D has a bit to set the line caps to be perpendicular to the line
      rather than aligned to the edges of the framebuffer. I don’t know what
      the disadvantages are of enabling this, but I noticed by experimentation
      that enabling line smoothing on the Intel driver also enables nicer line
      caps, so it seems nice to enable it here too.
      Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      Part-of: <mesa/mesa!5624>
      137d8f98
    • Neil Roberts's avatar
      v3d: Add a lowering pass for line smoothing · ee4d51f8
      Neil Roberts authored
      When line smoothing is enabled, the driver now increases the width of
      the line so that it can add some semi-transparent pixels to either side
      of the line. A lowering pass is added which modifies the alpha component
      of every write to fragment output 0 so that if the fragment is outside
      the width of the line then the alpha is reduced. It additionally
      discards fragments that are completely invisible. It might seem bad to
      use discard on a tiled renderer but the assumption is that any bad
      effects from using discard will also happen anyway because of enabling
      alpha blending.
      
      v2: Disable the line smoothing pass entirely when the framebuffer
          contains an integer colour output or one with no alpha channel.
          Calculate the coverage once upfront and store in a global variable
          instead of calculating each time an output write is modified. Also
          do the conditional discard once upfront.
      v3: Don’t check whether the output buffer has an alpha channel. Only
          look at output 0. Use aa_line_width intrinsic instead of calculating
          the real line width in the shader. Clamp the coverage as part of the
          global variable, not per output write.
      Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      Part-of: <!5624>
      ee4d51f8
    • Neil Roberts's avatar
      v3d: Handle the line width intrinsics · 207da33a
      Neil Roberts authored
      Adds new QUNIFORMs to store the line widths.
      
      v2: Also handle the aa_line_width intrinsic
      Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      Part-of: <mesa/mesa!5624>
      207da33a
    • Jason Ekstrand's avatar
      v3d: Only call nir_lower_io on shader_in/out · 23b70948
      Jason Ekstrand authored
      Gallium drivers should never see nir_var_uniform because gallium lowers
      regular uniforms to a UBO.  No GL driver should ever see either
      nir_var_mem_shared because that's lowered in GLSL IR.
      Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      Reviewed-by: Connor Abbott's avatarConnor Abbott <cwabbott0@gmail.com>
      Part-of: <!5418>
      23b70948
  18. 29 Jun, 2020 2 commits
  19. 27 Jun, 2020 1 commit
    • Alejandro Piñeiro's avatar
      v3d: moving v3d simulator to src/broadcom · 583d7d3d
      Alejandro Piñeiro authored
      So it could be used by both the OpenGL and the Vulkan driver.
      
      In addition to the move, some small changes were needed to be made on
      the API. For example, the simulator was receiving v3d_screen on
      initialization, and that code setted v3d_screen->sim_file. Now it
      returns the new sim_file created.
      Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
      Part-of: <!5666>
      583d7d3d
  20. 22 Jun, 2020 2 commits
    • Neil Roberts's avatar
      v3d: Disable PIPE_CAP_PRIMITIVE_RESTART · ffc4d824
      Neil Roberts authored
      The hardware can only support the PIPE_CAP_PRIMITIVE_RESTART_FIXED_INDEX
      subset. This will make it stop advertising the NV_primitive_restart
      extension without breaking GLES 3.0 support.
      
      v2: Update features.txt
      
      Reviewed-by: Eric Anholt <eric@anholt.net> (v1)
      Reviewed by: Erik Faye-Lund <erik.faye-lund@collabora.com>
      
      Part-of: <!5559>
      ffc4d824
    • Neil Roberts's avatar
      gallium: Add pipe cap for primitive restart with fixed index · bb5fc901
      Neil Roberts authored
      Adds PIPE_CAP_PRIMITIVE_RESTART_FIXED_INDEX which is a subset of the
      primitive restart cap for when the hardware can only support the fixed
      indices specified in GLES.
      
      The switch statements were automatically modified with this command:
      
      find \( \( -name \*.cpp -o -name \*.c \) \! -type l \) \
       -exec sed -i -r \
       's/^(\s*case\s+PIPE_CAP_PRIMITIVE_RESTART)\s*:.*$/\0\n\1_FIXED_INDEX:/' \
       {} \;
      
      v2: Add a note in screen.rst
      
      Reviewed-by: Eric Anholt <eric@anholt.net> (v1)
      Reviewed by: Erik Faye-Lund <erik.faye-lund@collabora.com>
      
      Part-of: <!5559>
      bb5fc901
  21. 13 Jun, 2020 1 commit
  22. 07 Jun, 2020 1 commit
  23. 03 Jun, 2020 1 commit
  24. 02 Jun, 2020 1 commit
  25. 01 Jun, 2020 1 commit
  26. 13 May, 2020 3 commits