case SWR_TILE_MODE_WMAJOR: return ComputeTileSwizzle2D<TilingTraits<SWR_TILE_MODE_WMAJOR, 8> >(xOffsetBytes, yOffsetRows, pState);
default: SWR_INVALID("Unsupported tiling mode");
}
- return (uint32_t) NULL;
+ return 0;
}
//////////////////////////////////////////////////////////////////////////
case SWR_TILE_MODE_YMAJOR: return ComputeTileSwizzle3D<TilingTraits<SWR_TILE_MODE_YMAJOR, 32> >(xOffsetBytes, yOffsetRows, zOffsetSlices, pState);
default: SWR_INVALID("Unsupported tiling mode");
}
- return (uint32_t) NULL;
+ return 0;
}
template<bool UseCachedOffsets>
default: SWR_INVALID("Unsupported format");
}
- return (uint32_t) NULL;
+ return 0;
}
typedef void*(*PFN_COMPUTESURFADDR)(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, const SWR_SURFACE_STATE*);