[Mesa-dev] [v8 4/9] intel: set dri image dimensions even when creating out of primes
Topi Pohjolainen
topi.pohjolainen at intel.com
Wed Jul 24 03:23:36 PDT 2013
Otherwise 'intel_set_texture_image_region()' won't have enough
details to work with.
Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
---
src/mesa/drivers/dri/i965/intel_screen.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
index 0738cf6..3a3efc0 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -679,6 +679,8 @@ intel_create_image_from_fds(__DRIscreen *screen,
image->strides[index] = strides[index];
}
+ intel_setup_image_from_dimensions(image);
+
return image;
}
--
1.8.1.2
More information about the mesa-dev
mailing list