From 58793e514b6c57924b08d3a9c766ed05e8d9662a Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 1 Mar 2017 23:31:15 -0800 Subject: i965: Replace BRW_SURFACEFORMAT_* with ISL_FORMAT_*. One less set of enums. Dropped the #defines from brw_defines.h and ran: $ for file in *.cpp *.c *.h; do sed -i \ -e 's/BRW_SURFACEFORMAT_/ISL_FORMAT_/g' \ -e 's/ISL_FORMAT_ASTC_[A-Zxs0-9_]*/\U&/g' $file; \ done Signed-off-by: Kenneth Graunke Acked-by: Jason Ekstrand --- src/mesa/drivers/dri/i965/gen7_cs_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i965/gen7_cs_state.c') diff --git a/src/mesa/drivers/dri/i965/gen7_cs_state.c b/src/mesa/drivers/dri/i965/gen7_cs_state.c index dc3cc66407a..d8df6bb8d29 100644 --- a/src/mesa/drivers/dri/i965/gen7_cs_state.c +++ b/src/mesa/drivers/dri/i965/gen7_cs_state.c @@ -51,7 +51,7 @@ brw_upload_cs_state(struct brw_context *brw) brw_emit_buffer_surface_state( brw, &stage_state->surf_offset[ prog_data->binding_table.shader_time_start], - brw->shader_time.bo, 0, BRW_SURFACEFORMAT_RAW, + brw->shader_time.bo, 0, ISL_FORMAT_RAW, brw->shader_time.bo->size, 1, true); } -- cgit v1.2.3