Post

Replies

Boosts

Views

Activity

Reply to FPS is very low
fragment function is consuming most of the time to read a 1KB constant buffer.can we create global constant buffer used by both vertex and fragment function? then it can resolve my problem I guess.
May ’22
Reply to Metal fragment function becomes slow
Issue was using metal data types not simd data types in structs and "usage of for loops". now I used simd data types and unrolled "for loops" manually then fragment function works very fast. but why metal compiler is not unrolling for loops automatically? and why is simd data types are faster?
Jun ’22