mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-24 16:00:56 +00:00
i965/blorp: Convert brw_blorp.cpp to a C file
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
0551f3dfa4
commit
bed74299c2
@ -2654,6 +2654,11 @@ AC_CONFIG_FILES([Makefile
|
|||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
# Fix up dependencies in *.Plo files, where we changed the extension of a
|
||||||
|
# source file
|
||||||
|
$SED -i -e 's/brw_blorp.cpp/brw_blorp.c/' src/mesa/drivers/dri/i965/.deps/brw_blorp.Plo
|
||||||
|
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl Output some configuration info for the user
|
dnl Output some configuration info for the user
|
||||||
dnl
|
dnl
|
||||||
|
@ -100,7 +100,7 @@ i965_FILES = \
|
|||||||
brw_blorp_blit_eu.cpp \
|
brw_blorp_blit_eu.cpp \
|
||||||
brw_blorp_blit_eu.h \
|
brw_blorp_blit_eu.h \
|
||||||
brw_blorp_clear.cpp \
|
brw_blorp_clear.cpp \
|
||||||
brw_blorp.cpp \
|
brw_blorp.c \
|
||||||
brw_blorp.h \
|
brw_blorp.h \
|
||||||
brw_cc.c \
|
brw_cc.c \
|
||||||
brw_clear.c \
|
brw_clear.c \
|
||||||
|
@ -145,7 +145,6 @@ brw_blorp_params_init(struct brw_blorp_params *params)
|
|||||||
params->num_layers = 1;
|
params->num_layers = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" {
|
|
||||||
/**
|
/**
|
||||||
* Perform a HiZ or depth resolve operation.
|
* Perform a HiZ or depth resolve operation.
|
||||||
*
|
*
|
||||||
@ -157,7 +156,7 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
intel_hiz_exec(struct brw_context *brw, struct intel_mipmap_tree *mt,
|
intel_hiz_exec(struct brw_context *brw, struct intel_mipmap_tree *mt,
|
||||||
unsigned int level, unsigned int layer, gen6_hiz_op op)
|
unsigned int level, unsigned int layer, enum gen6_hiz_op op)
|
||||||
{
|
{
|
||||||
const char *opname = NULL;
|
const char *opname = NULL;
|
||||||
|
|
||||||
@ -186,8 +185,6 @@ intel_hiz_exec(struct brw_context *brw, struct intel_mipmap_tree *mt,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} /* extern "C" */
|
|
||||||
|
|
||||||
void
|
void
|
||||||
brw_blorp_exec(struct brw_context *brw, const struct brw_blorp_params *params)
|
brw_blorp_exec(struct brw_context *brw, const struct brw_blorp_params *params)
|
||||||
{
|
{
|
Loading…
Reference in New Issue
Block a user