summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-08 15:30:57 -0700
committerJason Ekstrand <[email protected]>2016-08-17 14:46:22 -0700
commit934adf1c3073fce8f0a25e11fced0d7c7d744624 (patch)
tree3cd7ef9d212a0b45ff231fff8ccbbdc185cf7ef8
parentf5fbcc36831cd23ee9402a9fb8a9fb70d6ac412d (diff)
i965: brw_blorp_clear.cpp -> blorp_clear.c
Reviewed-by: Topi Pohjolainen <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/Makefile.sources2
-rw-r--r--src/mesa/drivers/dri/i965/blorp_clear.c (renamed from src/mesa/drivers/dri/i965/brw_blorp_clear.cpp)4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/Makefile.sources b/src/mesa/drivers/dri/i965/Makefile.sources
index 14bd81a759e..45af1d4b00c 100644
--- a/src/mesa/drivers/dri/i965/Makefile.sources
+++ b/src/mesa/drivers/dri/i965/Makefile.sources
@@ -97,10 +97,10 @@ i965_compiler_GENERATED_FILES = \
i965_FILES = \
blorp.c \
blorp.h \
+ blorp_clear.c \
blorp_priv.h \
brw_binding_tables.c \
brw_blorp_blit.cpp \
- brw_blorp_clear.cpp \
brw_blorp.c \
brw_blorp.h \
brw_cc.c \
diff --git a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp b/src/mesa/drivers/dri/i965/blorp_clear.c
index d2858adcba0..2da08f83c7a 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp
+++ b/src/mesa/drivers/dri/i965/blorp_clear.c
@@ -170,8 +170,6 @@ blorp_clear(struct brw_context *brw, const struct brw_blorp_surf *surf,
brw_blorp_exec(brw, &params);
}
-extern "C" {
-
void
brw_blorp_ccs_resolve(struct brw_context *brw, struct brw_blorp_surf *surf,
enum isl_format format)
@@ -201,5 +199,3 @@ brw_blorp_ccs_resolve(struct brw_context *brw, struct brw_blorp_surf *surf,
brw_blorp_exec(brw, &params);
}
-
-} /* extern "C" */