mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
performance: return const ref instead of struct copy from getBindlessInfo
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
bd5ce52ef5
commit
b6eb4792dc
@@ -311,7 +311,7 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
|
||||
bindlessInfo = info;
|
||||
}
|
||||
|
||||
SurfaceStateInHeapInfo getBindlessInfo() {
|
||||
const SurfaceStateInHeapInfo &getBindlessInfo() const {
|
||||
return bindlessInfo;
|
||||
}
|
||||
bool canBeReadOnly() {
|
||||
|
||||
Reference in New Issue
Block a user