[Mesa-dev] [PATCH] i965/gen7: Use predicated rendering for indirect compute

Ilia Mirkin imirkin at alum.mit.edu
Wed Feb 17 15:39:46 UTC 2016


On Tue, Feb 16, 2016 at 1:09 PM, Jordan Justen
<jordan.l.justen at intel.com> wrote:
> On gen7 (Ivy Bridge, Haswell), we will get a GPU hang if an indirect
> dispatch is used, but one of the dimensions is 0.
>
> Therefore we use predicated rendering on the GPGPU_WALKER command to
> handle this case.
>
> Fixes piglit test: spec/arb_compute_shader/zero-dispatch-size
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94100
> Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> Cc: Kenneth Graunke <kenneth at whitecape.org>
> Cc: Ben Widawsky <ben at bwidawsk.net>
> Cc: Ilia Mirkin <imirkin at alum.mit.edu>

Tested-by: Ilia Mirkin <imirkin at alum.mit.edu>

All the dEQP tests now pass instead of hanging the GPU.
[shared_var*atomic is still broken, but I'm sure that's unrelated.]

  -ilia


More information about the mesa-dev mailing list