[all] Remove old compute shader code
This commit is contained in:
parent
ddc0938ae4
commit
a49c370ceb
4 changed files with 0 additions and 117 deletions
|
@ -86,22 +86,11 @@ class Renderer: NSObject, MTKViewDelegate {
|
|||
Vertex(position: Point(x: 1, y: 1), textureCoordinate: Point(x: 1, y: 1))
|
||||
]
|
||||
|
||||
// do {
|
||||
// try field.updateBuffers()
|
||||
// } catch let e {
|
||||
// NSLog("Error updating buffers: \(e)")
|
||||
// }
|
||||
field.update()
|
||||
|
||||
let buffer = commandQueue.makeCommandBuffer()
|
||||
buffer.label = "Render"
|
||||
|
||||
// do {
|
||||
// let _ = try field.computeEncoderForSamplingKernel(withDevice: device, commandBuffer: buffer)
|
||||
// } catch let e {
|
||||
// print("\(e)")
|
||||
// }
|
||||
|
||||
if let renderPass = view.currentRenderPassDescriptor {
|
||||
let encoder = buffer.makeRenderCommandEncoder(descriptor: renderPass)
|
||||
encoder.label = "Render Pass"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue