aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/blorp/blorp_priv.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-27 12:07:31 -0700
committerJason Ekstrand <[email protected]>2016-09-12 19:42:57 -0700
commitab03e59867ebf078d910063e717498cdf8905fa0 (patch)
treea55f9235357b22271e92596c5f237fb7cad972b7 /src/intel/blorp/blorp_priv.h
parent5ae8043fed264997e75b480dd30aa6ef44aae4e6 (diff)
intel/blorp: Add support for RGB destinations in copies
Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp_priv.h')
-rw-r--r--src/intel/blorp/blorp_priv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/intel/blorp/blorp_priv.h b/src/intel/blorp/blorp_priv.h
index 46ff272630a..a88d0f87ba1 100644
--- a/src/intel/blorp/blorp_priv.h
+++ b/src/intel/blorp/blorp_priv.h
@@ -245,6 +245,13 @@ struct brw_blorp_blit_prog_key
*/
bool dst_tiled_w;
+ /* True if the destination is an RGB format. If true, the surface state
+ * for the render target must be configured as red with three times the
+ * normal width. We need to do this because you cannot render to
+ * non-power-of-two formats.
+ */
+ bool dst_rgb;
+
/* True if all source samples should be blended together to produce each
* destination pixel. If true, src_tiled_w must be false, tex_samples must
* equal src_samples, and tex_samples must be nonzero.