layers: Work around Windows release build crash in cube

DrawState validate_pipeline_shaders is doing something uncool.
1 file changed