diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_tex_obj.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_tex_obj.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_tex_obj.h b/src/mesa/drivers/dri/i965/intel_tex_obj.h index 78a0990..2d2211b 100644 --- a/src/mesa/drivers/dri/i965/intel_tex_obj.h +++ b/src/mesa/drivers/dri/i965/intel_tex_obj.h @@ -54,6 +54,12 @@ struct intel_texture_object * might not all be the mipmap tree above. */ bool needs_validate; + + /* Mesa format for the validated texture object. For non-views this + * will always be the same as mt->format. For views, it may differ + * since the mt is shared across views with differing formats. + */ + mesa_format _Format; }; |