Post

Replies

Boosts

Views

Activity

Reply to metal encoder dispatch based on value of an atomic counter
dispatchThreadgroups(indirectBuffer:indirectBufferOffset:threadsPerThreadgroup:) solves this. does anyone know why threadsPerThreadgroup: executeState.threadExecutionWidth literally freezes my mac if I use it with the indirectBuffer dispatch? (using MTLSize(1,1,1) works fine); while executeState.threadExecutionWidth works well if I dispatch normally.
Topic: Graphics & Games SubTopic: General Tags:
Aug ’23
Reply to metal encoder dispatch based on value of an atomic counter
dispatchThreadgroups(indirectBuffer:indirectBufferOffset:threadsPerThreadgroup:) solves this. does anyone know why threadsPerThreadgroup: executeState.threadExecutionWidth literally freezes my mac if I use it with the indirectBuffer dispatch? (using MTLSize(1,1,1) works fine); while executeState.threadExecutionWidth works well if I dispatch normally.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to metal encoder dispatch based on value of an atomic counter
Trying to understand how to encode this into an indirect command buffer...
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23