diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-08-08 17:23:10 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-08-19 03:11:29 -0700 |
commit | 4c3acf94dadd71f35e7dfc0b2a1371e38b3f0e04 (patch) | |
tree | d48dc70731fe94fa929ba7e5932000b76b137c8c /src/mesa/drivers/dri/i965/gen6_sf_state.c | |
parent | 04f3594cd5c1ba756f89d868ba4e4b7c50e1572e (diff) | |
download | external_mesa3d-4c3acf94dadd71f35e7dfc0b2a1371e38b3f0e04.zip external_mesa3d-4c3acf94dadd71f35e7dfc0b2a1371e38b3f0e04.tar.gz external_mesa3d-4c3acf94dadd71f35e7dfc0b2a1371e38b3f0e04.tar.bz2 |
i965/state: Move is_drawing_lines/points to gen6_clip_state.c
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen6_sf_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_sf_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_sf_state.c b/src/mesa/drivers/dri/i965/gen6_sf_state.c index f70305c..7cef17a 100644 --- a/src/mesa/drivers/dri/i965/gen6_sf_state.c +++ b/src/mesa/drivers/dri/i965/gen6_sf_state.c @@ -195,7 +195,7 @@ calculate_attr_overrides(const struct brw_context *brw, * _NEW_POLYGON * BRW_NEW_PRIMITIVE | BRW_NEW_GEOMETRY_PROGRAM | BRW_NEW_TES_PROG_DATA */ - bool drawing_points = is_drawing_points(brw); + bool drawing_points = brw_is_drawing_points(brw); /* Initialize all the attr_overrides to 0. In the loop below we'll modify * just the ones that correspond to inputs used by the fs. @@ -337,7 +337,7 @@ upload_sf_state(struct brw_context *brw) /* _NEW_SCISSOR _NEW_POLYGON BRW_NEW_GEOMETRY_PROGRAM BRW_NEW_PRIMITIVE */ if (ctx->Scissor.EnableFlags || - is_drawing_points(brw) || is_drawing_lines(brw)) + brw_is_drawing_points(brw) || brw_is_drawing_lines(brw)) dw3 |= GEN6_SF_SCISSOR_ENABLE; /* _NEW_POLYGON */ |