mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Fix set allocation adress in SS when offset is patched
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
42057a8f65
commit
689ceacfe6
@ -247,9 +247,7 @@ struct EncodeSurfaceState {
|
||||
return ~(getSurfaceBaseAddressAlignment() - 1);
|
||||
}
|
||||
|
||||
static constexpr uintptr_t getSurfaceBaseAddressMinimumAlignment() { return 4; }
|
||||
|
||||
static constexpr uintptr_t getSurfaceBaseAddressAlignment() { return MemoryConstants::pageSize; }
|
||||
static constexpr uintptr_t getSurfaceBaseAddressAlignment() { return 4; }
|
||||
|
||||
static void getSshAlignedPointer(uintptr_t &ptr, size_t &offset);
|
||||
static bool doBindingTablePrefetch();
|
||||
|
Reference in New Issue
Block a user