Bug 308839
| Summary: | REGRESSION(308337@main): Internal macOS engineering build broken with StrictMemorySafety error | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Abrar Rahman Protyasha <a_protyasha> |
| Component: | New Bugs | Assignee: | Abrar Rahman Protyasha <a_protyasha> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | adrian_taylor, a_protyasha, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Abrar Rahman Protyasha
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1357:34: error: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
let blendWeightsBuffer = device.makeBuffer(
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1358:20: note: argument 'bytes' in call to instance method 'makeBuffer' has unsafe type 'UnsafeRawPointer'
bytes: weights,
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1357:41: note: reference to instance method 'makeBuffer(bytes:length:options:)' involves unsafe type 'UnsafeRawPointer'
let blendWeightsBuffer = device.makeBuffer(
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1374:37: error: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
let positionOffsetsBuffer = device.makeBuffer(
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1375:20: note: argument 'bytes' in call to instance method 'makeBuffer' has unsafe type 'UnsafeRawPointer'
bytes: positionOffsets,
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1374:44: note: reference to instance method 'makeBuffer(bytes:length:options:)' involves unsafe type 'UnsafeRawPointer'
let positionOffsetsBuffer = device.makeBuffer(
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1413:81: warning: 'make(_:offset:occupiedLength:elementType:)' is deprecated: use make function with ElementType [#DeprecatedDeclaration]
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1430:89: warning: 'make(_:offset:occupiedLength:elementType:)' is deprecated: use make function with ElementType [#DeprecatedDeclaration]
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1406:38: error: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
let adjacenciesMetalBuffer = device.makeBuffer(
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1407:20: note: argument 'bytes' in call to instance method 'makeBuffer' has unsafe type 'UnsafeRawPointer'
bytes: vertexAdjacencies,
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1406:45: note: reference to instance method 'makeBuffer(bytes:length:options:)' involves unsafe type 'UnsafeRawPointer'
let adjacenciesMetalBuffer = device.makeBuffer(
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1423:46: error: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
let adjacencyEndIndicesMetalBuffer = device.makeBuffer(
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1424:20: note: argument 'bytes' in call to instance method 'makeBuffer' has unsafe type 'UnsafeRawPointer'
bytes: vertexAdjacencyEndIndices,
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1423:53: note: reference to instance method 'makeBuffer(bytes:length:options:)' involves unsafe type 'UnsafeRawPointer'
let adjacencyEndIndicesMetalBuffer = device.makeBuffer(
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/171376078>
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/59597
EWS
Committed 308358@main (519ac545ddce): <https://commits.webkit.org/308358@main>
Reviewed commits have been landed. Closing PR #59597 and removing active labels.