[DF-4706] fix shader recompile logic