i965: Implement the WaPreventHSTessLevelsInterference workaround.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 8 Jun 2016 01:18:49 +0000 (18:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 18 Aug 2016 07:46:55 +0000 (00:46 -0700)
commit9e778837ff9abba0bed963d003297e3333cc7f1f
tree0f743052079396632c09e456220d9c261cf01f32
parentd8971128accc84db04becf820b66e455d5d7534c
i965: Implement the WaPreventHSTessLevelsInterference workaround.

Fixes several GL44-CTS.tessellation_shader (and GL45 and ES31) subcases:
- vertex_spacing
- tessellation_shader_point_mode.points_verification
- tessellation_shader_quads_tessellation.inner_tessellation_level_rounding

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_compiler.h
src/mesa/drivers/dri/i965/brw_nir.h
src/mesa/drivers/dri/i965/brw_nir_tcs_workarounds.c [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_tcs.c
src/mesa/drivers/dri/i965/brw_vec4_tcs.cpp