Commit ac5bda37 authored by Lionel Landwerlin's avatar Lionel Landwerlin
Browse files

i965: honor scanout requirement from DRI


Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli's avatarTapani Pälli <tapani.palli@intel.com>
parent bc844d92
Pipeline #57973 passed with stages
in 17 minutes and 49 seconds
......@@ -754,7 +754,9 @@ intel_create_image_common(__DRIscreen *dri_screen,
.samples = 1,
.usage = ISL_SURF_USAGE_RENDER_TARGET_BIT |
ISL_SURF_USAGE_TEXTURE_BIT |
ISL_SURF_USAGE_STORAGE_BIT,
ISL_SURF_USAGE_STORAGE_BIT |
((use & __DRI_IMAGE_USE_SCANOUT) ?
ISL_SURF_USAGE_DISPLAY_BIT : 0),
.tiling_flags = (1 << mod_info->tiling));
assert(ok);
if (!ok) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment