summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_shader_util.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-12-15 15:37:18 +0100
committerSamuel Pitoiset <[email protected]>2017-12-18 11:50:48 +0100
commit55f8431c76adcfb91d644edbbe57be6a15a04654 (patch)
tree36d397ceb5bf36b4b164db5dd7b22f5ff8910801 /src/amd/common/ac_shader_util.h
parentbb01661918119f00dbef1ea07a3af3ebea537114 (diff)
amd/common: add ac_get_cb_shader_mask() helper
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_util.h')
-rw-r--r--src/amd/common/ac_shader_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_util.h b/src/amd/common/ac_shader_util.h
index 1f971e76f16..d3804b8fb13 100644
--- a/src/amd/common/ac_shader_util.h
+++ b/src/amd/common/ac_shader_util.h
@@ -30,4 +30,7 @@ unsigned
ac_get_spi_shader_z_format(bool writes_z, bool writes_stencil,
bool writes_samplemask);
+unsigned
+ac_get_cb_shader_mask(unsigned spi_shader_col_format);
+
#endif