i965: drop unused brw->needs_unlit_centroid_workaround
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
b1c9ed25a5
commit
350ead0f26
|
@ -860,8 +860,6 @@ brwCreateContext(gl_api api,
|
|||
|
||||
brw->has_hiz = devinfo->has_hiz_and_separate_stencil;
|
||||
brw->has_separate_stencil = devinfo->has_hiz_and_separate_stencil;
|
||||
brw->needs_unlit_centroid_workaround =
|
||||
devinfo->needs_unlit_centroid_workaround;
|
||||
|
||||
brw->has_swizzling = screen->hw_has_swizzling;
|
||||
|
||||
|
|
|
@ -750,15 +750,6 @@ struct brw_context
|
|||
bool has_separate_stencil;
|
||||
bool has_swizzling;
|
||||
|
||||
/**
|
||||
* Some versions of Gen hardware don't do centroid interpolation correctly
|
||||
* on unlit pixels, causing incorrect values for derivatives near triangle
|
||||
* edges. Enabling this flag causes the fragment shader to use
|
||||
* non-centroid interpolation for unlit pixels, at the expense of two extra
|
||||
* fragment shader instructions.
|
||||
*/
|
||||
bool needs_unlit_centroid_workaround;
|
||||
|
||||
/** Derived stencil states. */
|
||||
bool stencil_enabled;
|
||||
bool stencil_two_sided;
|
||||
|
|
Loading…
Reference in New Issue