gfx-rs / metal-rs

Rust bindings for Metal
Apache License 2.0
567 stars 112 forks source link

raytracing example bugg #305

Open P-Asta opened 5 months ago

P-Asta commented 5 months ago
$ cargo r --example raytracing
    Finished dev [unoptimized + debuginfo] target(s) in 0.03s
     Running `target/debug/examples/raytracing`
2024-04-09 07:49:53.202 raytracing[3325:82928] CAMetalLayer ignoring invalid setDrawableSize width=4294967295.000000 height=4294967295.000000
-[MTLTextureDescriptorInternal validateWithDevice:]:1357: failed assertion `Texture Descriptor Validation
MTLTextureDescriptor has width (4294967295) greater than the maximum allowed size of 16384.
MTLTextureDescriptor has height (4294967295) greater than the maximum allowed size of 16384.
'
fish: Job 1, 'cargo r --example raytracing' terminated by signal SIGABRT (Abort)
xorza commented 3 months ago

winit = "0.28"