removing shaders from resource