Skip to content
Snippets Groups Projects
Commit b1203ec9 authored by Tapani Pälli's avatar Tapani Pälli Committed by Emil Velikov
Browse files

i965: fix textureGrad for cubemaps


Fixes bugs exposed by commit
2b1cdb0e in:
   ES3-CTS.gtf.GL3Tests.shadow.shadow_execution_frag

No regressions observed in deqp, CTS or Piglit.

v2: address review feedback from Iago Toral:
   - move rho calculation to else branch
   - optimize dx and dy calculation
   - fix documentation inconsistensies

Signed-off-by: default avatarTapani Pälli <tapani.palli@intel.com>
Signed-off-by: default avatarKevin Rogovin <kevin.rogovin@intel.com>
Reviewed-by: default avatarIago Toral Quiroga <itoral@igalia.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91114
Cc: "10.6 11.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 7f8815bc)
parent c29e3f1b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment