Manual
Programming Reference
enum OptimizationLevel : u8 { none speed full }
Specifies the shader optimization level.
none
Do not perform any optimization. This can be used if you want to debug shader code using shader debugging tools.
speed
Specifies shader optimization level 1.
full
Specifies shader optimization level 2.