diff options
author | Kenneth Graunke <[email protected]> | 2018-08-13 16:41:19 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:08 -0800 |
commit | ea19d359ccfff6db0aef0a234e90d6855e094ab8 (patch) | |
tree | 754a37bfaef89f77fd6cfbe9d6a895c5025f77f8 /src/gallium/drivers/iris/iris_resource.h | |
parent | 906becec7068d06e8a0947be951658a9c8a6083d (diff) |
iris: Convert RGBX to RGBA for rendering.
Fixes a bunch of RGB bugs.
Diffstat (limited to 'src/gallium/drivers/iris/iris_resource.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_resource.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.h b/src/gallium/drivers/iris/iris_resource.h index c6e1e1de174..d34b28aae17 100644 --- a/src/gallium/drivers/iris/iris_resource.h +++ b/src/gallium/drivers/iris/iris_resource.h @@ -87,6 +87,9 @@ iris_resource_bo(struct pipe_resource *p_res) } enum isl_format iris_isl_format_for_pipe_format(enum pipe_format pf); +enum isl_format iris_isl_format_for_usage(const struct gen_device_info *, + enum pipe_format, + isl_surf_usage_flags_t usage); struct pipe_resource *iris_resource_get_separate_stencil(struct pipe_resource *); |