add sisd matrix calculation
fix texture release bug