summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/vc5/vc5_rcl.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-12-28 13:01:37 -0800
committerEric Anholt <eric@anholt.net>2018-01-03 14:25:23 -0800
commit39811a2894743bf7e2f9818a0a1d14b6566116ee (patch)
tree2aba5c8cd2d972ba925a95e92190bc0d38b23206 /src/gallium/drivers/vc5/vc5_rcl.c
parentd3e8a4b96c80955e832981534b1f4c3856b6fdb4 (diff)
broadcom/vc5: Introduce enums for internal depth/type, with V3D prefixes.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_rcl.c')
-rw-r--r--src/gallium/drivers/vc5/vc5_rcl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc5/vc5_rcl.c b/src/gallium/drivers/vc5/vc5_rcl.c
index 600a846966..f113d27961 100644
--- a/src/gallium/drivers/vc5/vc5_rcl.c
+++ b/src/gallium/drivers/vc5/vc5_rcl.c
@@ -334,7 +334,7 @@ vc5_emit_rcl(struct vc5_job *job)
clear.render_target_number = i;
};
- if (surf->internal_bpp >= INTERNAL_BPP_64) {
+ if (surf->internal_bpp >= V3D_INTERNAL_BPP_64) {
cl_emit(&job->rcl, TILE_RENDERING_MODE_CONFIGURATION_CLEAR_COLORS_PART2,
clear) {
clear.clear_color_mid_low_32_bits =
@@ -347,7 +347,7 @@ vc5_emit_rcl(struct vc5_job *job)
};
}
- if (surf->internal_bpp >= INTERNAL_BPP_128 || clear_pad) {
+ if (surf->internal_bpp >= V3D_INTERNAL_BPP_128 || clear_pad) {
cl_emit(&job->rcl, TILE_RENDERING_MODE_CONFIGURATION_CLEAR_COLORS_PART3,
clear) {
clear.uif_padded_height_in_uif_blocks = clear_pad;