style: correct variable naming

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
Artur Harasimiuk
2022-05-16 13:46:02 +00:00
committed by Compute-Runtime-Automation
parent eecde1e1f3
commit d643c587b9
13 changed files with 96 additions and 96 deletions

View File

@@ -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);
}