diff options
author | Kenneth Graunke <[email protected]> | 2017-03-01 23:31:15 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-03-02 00:30:45 -0800 |
commit | 58793e514b6c57924b08d3a9c766ed05e8d9662a (patch) | |
tree | 3d2c848c4367cd74e48cef23734c24eb6d613693 /src/mesa/drivers/dri/i965/gen7_cs_state.c | |
parent | 92281b2c7f61d6fb8f7cc43eac15bb487f1e9848 (diff) |
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 <[email protected]>
Acked-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen7_cs_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen7_cs_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |