diff options
author | Samuel Pitoiset <[email protected]> | 2017-12-21 17:53:15 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-12-22 10:38:49 +0100 |
commit | 38f9b87af24762d932891e67ff25db97cdbde6b5 (patch) | |
tree | ab155d2efca0008506b06d4fea1941fe47252e6d /src/amd/common/ac_shader_util.h | |
parent | 03ef2641469286423e587d17b2952713ffe48585 (diff) |
amd/common: add ac_export_mrt_z() 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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/amd/common/ac_shader_util.h b/src/amd/common/ac_shader_util.h index 1bdf909e099..e4cf2bf5764 100644 --- a/src/amd/common/ac_shader_util.h +++ b/src/amd/common/ac_shader_util.h @@ -28,6 +28,7 @@ #include <stdint.h> #include "amd_family.h" +#include "ac_llvm_build.h" unsigned ac_get_spi_shader_z_format(bool writes_z, bool writes_stencil, @@ -39,4 +40,9 @@ ac_get_cb_shader_mask(unsigned spi_shader_col_format); uint32_t ac_vgt_gs_mode(unsigned gs_max_vert_out, enum chip_class chip_class); +void +ac_export_mrt_z(struct ac_llvm_context *ctx, LLVMValueRef depth, + LLVMValueRef stencil, LLVMValueRef samplemask, + struct ac_export_args *args); + #endif |