Enable Metal API validation and metal shader validation on terminal:
export METAL_DEVICE_WRAPPER_TYPE=1
export MTL_SHADER_VALIDATION=1
Launch Ensemble8 app using metal rendering pipeline.
Select -
3D Cubes or 3D Box demo.
It results in an assertion:
Metal API Validation Enabled
-[MTLDebugBlitCommandEncoder generateMipmapsForTexture:]:1115: failed assertion `Generate Mipmaps For Texture Validation
[tex mipmapLevelCount](1) must be > 1.
'
export METAL_DEVICE_WRAPPER_TYPE=1
export MTL_SHADER_VALIDATION=1
Launch Ensemble8 app using metal rendering pipeline.
Select -
3D Cubes or 3D Box demo.
It results in an assertion:
Metal API Validation Enabled
-[MTLDebugBlitCommandEncoder generateMipmapsForTexture:]:1115: failed assertion `Generate Mipmaps For Texture Validation
[tex mipmapLevelCount](1) must be > 1.
'
- relates to
-
JDK-8271024 ☂ JavaFX : Implement Metal Rendering Pipeline
- Open