Small refinements to check_stateslots and check_shader_dir