summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-02-10 15:24:07 -0800
committerEric Anholt <[email protected]>2014-02-21 10:43:38 -0800
commitb0a8d0ee40b7a9e43c5073a4da8f2ab9df63d2eb (patch)
tree2c57d62b8bc06df1fa044208b19f1eb0d98380b9 /src/mesa/drivers/common/meta.h
parenteb55b01eefb376d43028cac87b38662b144a9041 (diff)
meta: Add support for doing MSAA to MSAA blits.
These are non-stretched, non-resolving blits, so it's just a matter of sampling once from our gl_SampleID and storing that to our color/depth. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta.h')
-rw-r--r--src/mesa/drivers/common/meta.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/common/meta.h b/src/mesa/drivers/common/meta.h
index 7d4474eca4f..c7a21fc0656 100644
--- a/src/mesa/drivers/common/meta.h
+++ b/src/mesa/drivers/common/meta.h
@@ -222,8 +222,10 @@ struct blit_shader_table {
};
enum blit_msaa_shader {
- BLIT_MSAA_SHADER_2D_MULTISAMPLE,
- BLIT_MSAA_SHADER_2D_MULTISAMPLE_DEPTH,
+ BLIT_MSAA_SHADER_2D_MULTISAMPLE_RESOLVE,
+ BLIT_MSAA_SHADER_2D_MULTISAMPLE_COPY,
+ BLIT_MSAA_SHADER_2D_MULTISAMPLE_DEPTH_RESOLVE,
+ BLIT_MSAA_SHADER_2D_MULTISAMPLE_DEPTH_COPY,
BLIT_MSAA_SHADER_COUNT,
};