MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/GraphicsProgramming/comments/1siqzhg/started_a_pathtracing_project_in_metal4_very/
r/GraphicsProgramming • u/BlackGoku36 • Apr 11 '26
7 comments sorted by
4
Software or hardware rendering?
7 u/BlackGoku36 Apr 11 '26 Hardware, with M3 Pro 1 u/BigPurpleBlob Apr 11 '26 Does Metal4 allow 64-bit floats? What about 64-bit integers? 4 u/BlackGoku36 Apr 12 '26 64-bits floats (double) aren't allowed but 64-bit integers are supported (int64_t, uint64_t and size_t).https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf (Section 2.1, page 25-26) 2 u/BigPurpleBlob Apr 12 '26 Thanks! 2 u/BlackGoku36 Apr 13 '26 👍 1 u/Plazmatic Apr 13 '26 Weird, I guess since Nvidia hardware actually supports fp64 on consumer hardware through the special function unit I took for granted fp64 support in Vulkan etc..., and emulating fp64 would be a PITA on hardware that doesn't support it...
7
Hardware, with M3 Pro
1 u/BigPurpleBlob Apr 11 '26 Does Metal4 allow 64-bit floats? What about 64-bit integers? 4 u/BlackGoku36 Apr 12 '26 64-bits floats (double) aren't allowed but 64-bit integers are supported (int64_t, uint64_t and size_t).https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf (Section 2.1, page 25-26) 2 u/BigPurpleBlob Apr 12 '26 Thanks! 2 u/BlackGoku36 Apr 13 '26 👍 1 u/Plazmatic Apr 13 '26 Weird, I guess since Nvidia hardware actually supports fp64 on consumer hardware through the special function unit I took for granted fp64 support in Vulkan etc..., and emulating fp64 would be a PITA on hardware that doesn't support it...
1
Does Metal4 allow 64-bit floats? What about 64-bit integers?
4 u/BlackGoku36 Apr 12 '26 64-bits floats (double) aren't allowed but 64-bit integers are supported (int64_t, uint64_t and size_t).https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf (Section 2.1, page 25-26) 2 u/BigPurpleBlob Apr 12 '26 Thanks! 2 u/BlackGoku36 Apr 13 '26 👍 1 u/Plazmatic Apr 13 '26 Weird, I guess since Nvidia hardware actually supports fp64 on consumer hardware through the special function unit I took for granted fp64 support in Vulkan etc..., and emulating fp64 would be a PITA on hardware that doesn't support it...
64-bits floats (double) aren't allowed but 64-bit integers are supported (int64_t, uint64_t and size_t).
https://developer.apple.com/metal/Metal-Shading-Language-Specification.pdf (Section 2.1, page 25-26)
2 u/BigPurpleBlob Apr 12 '26 Thanks! 2 u/BlackGoku36 Apr 13 '26 👍 1 u/Plazmatic Apr 13 '26 Weird, I guess since Nvidia hardware actually supports fp64 on consumer hardware through the special function unit I took for granted fp64 support in Vulkan etc..., and emulating fp64 would be a PITA on hardware that doesn't support it...
2
Thanks!
2 u/BlackGoku36 Apr 13 '26 👍
👍
Weird, I guess since Nvidia hardware actually supports fp64 on consumer hardware through the special function unit I took for granted fp64 support in Vulkan etc..., and emulating fp64 would be a PITA on hardware that doesn't support it...
4
u/KC918273645 Apr 11 '26
Software or hardware rendering?