mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
feature: add inline samplers bindless addressing support
- inline samplers in bindless addressing mode requires bindless offset passed in cross thread data Related-To: NEO-11748 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7136dfbd38
commit
4c49a08017
@@ -234,6 +234,9 @@ struct KernelDescriptor {
|
||||
bool isNormalized;
|
||||
AddrMode addrMode;
|
||||
FilterMode filterMode;
|
||||
CrossThreadDataOffset bindless = undefined<CrossThreadDataOffset>;
|
||||
uint8_t size = undefined<uint8_t>;
|
||||
|
||||
constexpr uint32_t getSamplerBindfulOffset() const {
|
||||
return borderColorStateSize + samplerStateSize * samplerIndex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user