diff options
author | Axel Davy <[email protected]> | 2016-03-07 21:55:30 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-05-18 23:37:14 +0200 |
commit | 755fbcdf242ac6e2de337de320271386a1774bda (patch) | |
tree | a668dd07f36da4ec051d27997101848290dc33d9 /src/gallium/state_trackers/nine/surface9.h | |
parent | 52cb8e33c32c3fac1691ff0db34f4c6cd5909995 (diff) |
st/nine: Add format fallback with conversion to surfaces
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/surface9.h')
-rw-r--r-- | src/gallium/state_trackers/nine/surface9.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/surface9.h b/src/gallium/state_trackers/nine/surface9.h index 7e8f2d35267..a83e8dd4c71 100644 --- a/src/gallium/state_trackers/nine/surface9.h +++ b/src/gallium/state_trackers/nine/surface9.h @@ -48,7 +48,10 @@ struct NineSurface9 D3DSURFACE_DESC desc; uint8_t *data; /* system memory backing */ + uint8_t *data_conversion; /* for conversions */ + enum pipe_format format_conversion; unsigned stride; /* for system memory backing */ + unsigned stride_conversion; }; static inline struct NineSurface9 * NineSurface9( void *data ) |