aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/blorp.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-19 03:15:41 -0700
committerJason Ekstrand <[email protected]>2016-08-29 12:17:34 -0700
commit87a1cb697937fa01405b0a57470ee69b9cf19998 (patch)
tree12596d2bc52d02830fba784b3ed905e349dd036c /src/mesa/drivers/dri/i965/blorp.c
parentdb95a8108f68dfeae10db4f56f721838fd57b36f (diff)
i965: Move the hiz_op enum to blorp
Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/blorp.c')
-rw-r--r--src/mesa/drivers/dri/i965/blorp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/blorp.c b/src/mesa/drivers/dri/i965/blorp.c
index 20477dd086b..16ccd34aab1 100644
--- a/src/mesa/drivers/dri/i965/blorp.c
+++ b/src/mesa/drivers/dri/i965/blorp.c
@@ -144,7 +144,6 @@ void
brw_blorp_params_init(struct brw_blorp_params *params)
{
memset(params, 0, sizeof(*params));
- params->hiz_op = GEN6_HIZ_OP_NONE;
params->num_draw_buffers = 1;
params->num_layers = 1;
}
@@ -238,7 +237,7 @@ brw_blorp_compile_nir_shader(struct blorp_context *blorp, struct nir_shader *nir
void
blorp_gen6_hiz_op(struct blorp_batch *batch,
struct brw_blorp_surf *surf, unsigned level, unsigned layer,
- enum gen6_hiz_op op)
+ enum blorp_hiz_op op)
{
struct brw_blorp_params params;
brw_blorp_params_init(&params);