diff options
author | Nicolai Hähnle <[email protected]> | 2017-06-09 17:47:34 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-07-31 14:55:38 +0200 |
commit | f37f9aed84b53b1bd7892fa4b0029407248c4fd0 (patch) | |
tree | e7bfa87d23d561417c88d8403d8b9faf0375579b /src/amd/common/ac_shader_abi.h | |
parent | b36b6f76fa44b8bb2c379ccd83ad07ec4ddd2870 (diff) |
ac/nir: add image and write parameter to ac_shader_abi::load_sampler_desc
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_abi.h')
-rw-r--r-- | src/amd/common/ac_shader_abi.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h index 63d31c82b56..fe804cf5c8e 100644 --- a/src/amd/common/ac_shader_abi.h +++ b/src/amd/common/ac_shader_abi.h @@ -67,13 +67,15 @@ struct ac_shader_abi { * sampler variable is not an array) * \param index non-constant part of an array index (may be NULL) * \param desc_type the type of descriptor to load + * \param image whether the descriptor is loaded for an image operation */ LLVMValueRef (*load_sampler_desc)(struct ac_shader_abi *abi, unsigned descriptor_set, unsigned base_index, unsigned constant_index, LLVMValueRef index, - enum ac_descriptor_type desc_type); + enum ac_descriptor_type desc_type, + bool image, bool write); }; #endif /* AC_SHADER_ABI_H */ |