1. A method for encoding video data, the method comprising: generating, based on one or more predictive blocks and a block of the video data, a residual sample block; generating, based on the residual sample block, a coefficient block; encoding, during a first coding pass of coefficients of the coefficient block, a first set of syntax elements that correspond to coefficients of the coefficient block; and encoding, during a second coding pass of the coefficients of the coefficient block, a second set of syntax elements that correspond to at least some of the coefficients of the coefficient block, wherein encoding the second set of syntax elements comprises: generating a first syntax element, the first syntax element being in the second set of syntax elements and corresponding to a current coefficient of the coefficient block; selecting, based at least in part on a second syntax element and a third syntax element, a coding context for the first syntax element, wherein the second syntax element is in the first set of syntax elements and corresponds to a non-causal coefficient, wherein the third syntax element is in the second set of syntax elements and corresponds to a causal coefficient, the non-causal coefficient occurring after the current coefficient in a coding order of the second coding pass, the causal coefficient occurring before the current coefficient in the coding order of the second coding pass; and entropy encoding, based at least in part on the coding context selected for the first syntax element, the first syntax element.