1. 09 May, 2016 1 commit
  2. 04 May, 2016 1 commit
  3. 27 Apr, 2016 1 commit
    • Kenneth Graunke's avatar
      i965: Enable ARB_texture_stencil8 and OES_texture_stencil8 on Gen8+. · fd9a7d8f
      Kenneth Graunke authored
      Stencil texturing is required by ES 3.1.  Apparently we never actually
      turned it on.  Do that now.  Also turn on the desktop extension.
      Fixes nine dEQP-GLES31.functional tests:
      Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Reviewed-by: Chris Forbes's avatarChris Forbes <chrisf@ijw.co.nz>
  4. 22 Apr, 2016 1 commit
  5. 11 Apr, 2016 1 commit
  6. 03 Mar, 2016 1 commit
  7. 11 Feb, 2016 1 commit
  8. 06 Jan, 2016 1 commit
  9. 29 Dec, 2015 1 commit
  10. 28 Dec, 2015 1 commit
  11. 23 Dec, 2015 1 commit
  12. 10 Dec, 2015 1 commit
  13. 09 Dec, 2015 2 commits
  14. 24 Nov, 2015 1 commit
  15. 20 Nov, 2015 1 commit
    • Ian Romanick's avatar
      i965: Enable EXT_shader_samples_identical · 99840eb9
      Ian Romanick authored
      On the vec4 backend, textureSamplesIdentical() will always return
      false.  There are currently no test cases for the vec4 backend, so we
      don't have much confidence in any implementation.  We also don't think
      anyone is likely to miss it.
      v2: Handle immediate value for MCS smarter.  Rebase on changes to
      nir_texop_sampels_identical (missing second parameter).  Suggested by
      v3: Add Neil's code to handle 16x MSAA in the FS.  Also rebase on top of
      f9a9ba5e.  Stub out the vec4 implementation.
      Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Signed-off-by: default avatarNeil Roberts <neil@linux.intel.com>
      Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com> [v2]
      Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> [v2]
  16. 04 Nov, 2015 1 commit
  17. 30 Oct, 2015 1 commit
  18. 29 Oct, 2015 1 commit
    • Kenneth Graunke's avatar
      i965: Implement ARB_fragment_layer_viewport. · 8c902a58
      Kenneth Graunke authored
      Normally, we could read gl_Layer from bits 26:16 of R0.0.  However, the
      specification requires that bogus out-of-range 32-bit values written by
      previous stages need to appear in the fragment shader as-written.
      Instead, we pass in the full 32-bit value from the VUE header as an
      extra flat-shaded varying.  We have the SF override the value to 0
      when the previous stage didn't actually write a value (it's actually
      defined to return 0).
      Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      Reviewed-by: Chris Forbes's avatarChris Forbes <chrisf@ijw.co.nz>
  19. 22 Oct, 2015 1 commit
  20. 05 Oct, 2015 1 commit
  21. 25 Sep, 2015 1 commit
  22. 23 Sep, 2015 1 commit
  23. 10 Sep, 2015 3 commits
  24. 04 Sep, 2015 1 commit
  25. 01 Sep, 2015 1 commit
  26. 20 Aug, 2015 1 commit
  27. 11 Aug, 2015 1 commit
  28. 24 Jul, 2015 1 commit
  29. 08 Jul, 2015 2 commits
  30. 24 Jun, 2015 1 commit
  31. 17 Jun, 2015 1 commit
  32. 08 Jun, 2015 1 commit
  33. 28 May, 2015 1 commit
  34. 14 May, 2015 1 commit
  35. 12 May, 2015 1 commit
    • Neil Roberts's avatar
      i965: Use predicate enable bit for conditional rendering w/o stalling · 42602305
      Neil Roberts authored
      Previously whenever a primitive is drawn the driver would call
      _mesa_check_conditional_render which blocks waiting for the result of
      the query to determine whether to render. On Gen7+ there is a bit in
      the 3DPRIMITIVE command which can be used to disable the primitive
      based on the value of a state bit. This state bit can be set based on
      whether two registers have different values using the MI_PREDICATE
      command. We can load these two registers with the pixel count values
      stored in the query begin and end to implement conditional rendering
      without stalling.
      Unfortunately these two source registers were not in the whitelist of
      available registers in the kernel driver until v3.19. This patch uses
      the command parser version from intel_screen to detect whether to
      attempt to set the predicate data registers.
      The predicate enable bit is currently only used for drawing 3D
      primitives. For blits, clears, bitmaps, copypixels and drawpixels it
      still causes a stall. For most of these it would probably just work to
      call the new brw_check_conditional_render function instead of
      _mesa_check_conditional_render because they already work in terms of
      rendering primitives. However it's a bit trickier for blits because it
      can use the BLT ring or the blorp codepath. I think these operations
      are less useful for conditional rendering than rendering primitives so
      it might be best to leave it for a later patch.
      v2: Use the command parser version to detect whether we can write to
          the predicate data registers instead of trying to execute a
          register load command.
      v3: Simple rebase
      v4: Changes suggested by Kenneth Graunke: Split the
          load_64bit_register function out to a separate patch so it can be
          a shared public function. Avoid calling
          _mesa_check_conditional_render if we've already determined that
          there's no query object. Some styling fixes.
      Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
  36. 06 May, 2015 1 commit