mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
style: correct variable naming
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
eecde1e1f3
commit
d643c587b9
@@ -126,12 +126,12 @@ void HwHelperHw<Family>::setRenderSurfaceStateForBuffer(const RootDeviceEnvironm
|
||||
RENDER_SURFACE_STATE state = Family::cmdInitRenderSurfaceState;
|
||||
auto surfaceSize = alignUp(bufferSize, 4);
|
||||
|
||||
SURFACE_STATE_BUFFER_LENGTH Length = {0};
|
||||
Length.Length = static_cast<uint32_t>(surfaceSize - 1);
|
||||
SURFACE_STATE_BUFFER_LENGTH length = {0};
|
||||
length.Length = static_cast<uint32_t>(surfaceSize - 1);
|
||||
|
||||
state.setWidth(Length.SurfaceState.Width + 1);
|
||||
state.setHeight(Length.SurfaceState.Height + 1);
|
||||
state.setDepth(Length.SurfaceState.Depth + 1);
|
||||
state.setWidth(length.SurfaceState.Width + 1);
|
||||
state.setHeight(length.SurfaceState.Height + 1);
|
||||
state.setDepth(length.SurfaceState.Depth + 1);
|
||||
if (pitch) {
|
||||
state.setSurfacePitch(pitch);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user