diff options
author | Eric Anholt <[email protected]> | 2017-12-28 13:01:37 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-01-03 14:25:23 -0800 |
commit | 39811a2894743bf7e2f9818a0a1d14b6566116ee (patch) | |
tree | 2aba5c8cd2d972ba925a95e92190bc0d38b23206 /src/gallium/drivers/vc5/vc5_state.c | |
parent | d3e8a4b96c80955e832981534b1f4c3856b6fdb4 (diff) |
broadcom/vc5: Introduce enums for internal depth/type, with V3D prefixes.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_state.c')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc5/vc5_state.c b/src/gallium/drivers/vc5/vc5_state.c index a3ae2b3f539..35d5e1df509 100644 --- a/src/gallium/drivers/vc5/vc5_state.c +++ b/src/gallium/drivers/vc5/vc5_state.c @@ -617,10 +617,10 @@ vc5_create_sampler_view(struct pipe_context *pctx, struct pipe_resource *prsc, &internal_bpp); switch (internal_type) { - case INTERNAL_TYPE_8: + case V3D_INTERNAL_TYPE_8: tex.texture_type = TEXTURE_DATA_FORMAT_RGBA8; break; - case INTERNAL_TYPE_16F: + case V3D_INTERNAL_TYPE_16F: tex.texture_type = TEXTURE_DATA_FORMAT_RGBA16F; break; default: |