adding render state to pipeline