• Home
  • Raw
  • Download

Lines Matching +full:block +full:- +full:end

1 // Copyright 2015-2021 The Khronos Group Inc.
3 // SPDX-License-Identifier: Apache-2.0
13 === latexmath block 1
17 f = { c \over { 2^b - 1 } }
20 === latexmath block 2
24 f = \max\left( {c \over {2^{b-1} - 1}}, -1.0 \right)
39 === latexmath block 3
43 s = {1 \over 2} + { \left( x_p - x_f \right) \over \text{size} }
48 t = {1 \over 2} + { \left( y_p - y_f \right) \over \text{size} }
51 === latexmath block 4
55 t = {{( \mathbf{p}_r - \mathbf{p}_a ) \cdot ( \mathbf{p}_b - \mathbf{p}_a )}
56 \over {\| \mathbf{p}_b - \mathbf{p}_a \|^2 }}
59 === latexmath block 5
63 f = {{ (1-t) {f_a / w_a} + t { f_b / w_b} } \over
64 {(1-t) / w_a + t / w_b }}
67 === latexmath block 6
71 a = -{1 \over 2}\sum_{i=0}^{n-1}
72 x_f^i y_f^{i \oplus 1} -
80 === latexmath block 7
89 === latexmath block 8
99 === latexmath block 9
103 f = { c \over { 2^b - 1 } }
106 === latexmath block 10
110 f = \max\left( {c \over {2^{b-1} - 1}}, -1.0 \right)
125 === latexmath block 11
129 s = {1 \over 2} + { \left( x_p - x_f \right) \over \text{size} }
133 t = {1 \over 2} + { \left( y_p - y_f \right) \over \text{size} }
136 === latexmath block 12
140 t = {{( \mathbf{p}_r - \mathbf{p}_a ) \cdot ( \mathbf{p}_b - \mathbf{p}_a )}
141 \over {\| \mathbf{p}_b - \mathbf{p}_a \|^2 }}
144 === latexmath block 13
148 f = {{ (1-t) {f_a / w_a} + t { f_b / w_b} } \over
149 {(1-t) / w_a + t / w_b }}
152 === latexmath block 14
156 a = -{1 \over 2}\sum_{i=0}^{n-1}
157 x_f^i y_f^{i \oplus 1} -
165 === latexmath block 15
174 === latexmath block 16
182 === latexmath block 17
193 === latexmath block 18
201 === latexmath block 19
209 === latexmath block 20
223 \end{cases}
230 latexmath:[\frac{1}{n}, \frac{2}{n}, \ldots, \frac{n-1}{n}]
234 === latexmath block 21
242 sharedexp_{max} & = \frac{(2^N-1)}{2^N} \times 2^{(E_{max}-B)}
243 \end{aligned}
246 === latexmath block 22
254 & \text{for}\ max_{clamped} > 2^{-(B+1)} \\
256 & \text{for}\ max_{clamped} \leq 2^{-(B+1)}
257 \end{cases}
258 \end{aligned}
261 === latexmath block 23
268 \frac{max_{clamped}}{2^{(exp'-B-N)}}+\frac{1}{2}
270 \end{aligned}
273 === latexmath block 24
282 \end{cases}
283 \end{aligned}
286 === latexmath block 25
293 \frac{red_{clamped}}{2^{(exp_{shared}-B-N)}}+ \frac{1}{2}
297 \frac{green_{clamped}}{2^{(exp_{shared}-B-N)}}+ \frac{1}{2}
301 \frac{blue_{clamped}}{2^{(exp_{shared}-B-N)}}+ \frac{1}{2}
303 \end{aligned}
306 === latexmath block 26
321 \end{cases} \\
323 \end{aligned}
326 === latexmath block 27
340 \end{cases}
341 \end{aligned}
344 === latexmath block 28
355 \end{aligned}
358 === latexmath block 29
363 dPdx_{i_1,j_0} & = dPdx_{i_0,j_0} & = P_{i_1,j_0} - P_{i_0,j_0} \\
364 dPdx_{i_1,j_1} & = dPdx_{i_0,j_1} & = P_{i_1,j_1} - P_{i_0,j_1} \\
366 dPdy_{i_0,j_1} & = dPdy_{i_0,j_0} & = P_{i_0,j_1} - P_{i_0,j_0} \\
367 dPdy_{i_1,j_1} & = dPdy_{i_1,j_0} & = P_{i_1,j_1} - P_{i_1,j_0}
368 \end{aligned}
371 === latexmath block 30
380 \end{cases} \\
385 \end{cases}
386 \end{aligned}
389 === latexmath block 31
401 \end{aligned}
405 === latexmath block 32
413 \end{aligned}
416 === latexmath block 33
425 \end{aligned}
428 === latexmath block 34
444 -s_c \times {\partial{r_{c}}}/{\partial{x}}}
447 \end{aligned}
450 === latexmath block 35
460 -s_c \times {\partial{r_{c}}}/{\partial{y}}}
468 -t_c \times {\partial{r_{c}}}/{\partial{x}}}
476 -t_c \times {\partial{r_{c}}}/{\partial{y}}}
479 \end{aligned}
482 === latexmath block 36
489 \end{aligned}
492 === latexmath block 37
505 === latexmath block 38
511 \end{aligned}
514 === latexmath block 39
521 shaderOp.Lod & \text{(from optional SPIR-V operand)} \\
523 \end{cases} \\
524 \lambda'(x,y) & = \lambda_{base} + \mathbin{clamp}(sampler.bias + shaderOp.bias,-maxSamplerLo…
531 \end{cases}
532 \end{aligned}
535 === latexmath block 40
543 Bias & \text{(from optional SPIR-V operand)} \\
545 \end{cases} \\
549 MinLod & \text{(from optional SPIR-V operand)} \\
551 \end{cases} \\
555 \end{aligned}
558 === latexmath block 41
571 \end{cases}
572 \end{aligned}
575 === latexmath block 42
582 \left \lceil level_{base}+\lambda + \frac{1}{2}\right \rceil - 1, &
586 \end{cases}
587 \end{aligned}
590 === latexmath block 43
599 \end{cases} \\
604 \end{cases}
605 \end{aligned}
608 === latexmath block 44
618 \end{cases} \\
623 \end{cases} \\
629 \end{cases}
630 \end{aligned}
633 === latexmath block 45
640 …dTiesToEven}(a) & \text{preferred, from IEEE Std 754-2008 Floating-Point Arithmet…
642 \end{cases}
643 \end{aligned}
646 === latexmath block 46
654 (size-1) - \mathbin{mirror}
655 ((i \bmod (2 \times size)) - size) & \text{for mirrored repeat} \\
656 \mathbin{clamp}(i,0,size-1) & \text{for clamp to edge} \\
657 \mathbin{clamp}(i,-1,size) & \text{for clamp to border} \\
658 \mathbin{clamp}(\mathbin{mirror}(i),0,size-1) & \text{for mirror clamp to edge}
659 \end{cases}
660 \end{aligned}
664 === latexmath block 47
672 -(1+n) & \text{otherwise}
673 \end{cases}
674 \end{aligned}
677 === latexmath block 48
686 \end{aligned}
689 === latexmath block 49
700 \end{cases}\\
701 comp & \,\text{from SPIR-V operand Component}
702 \end{aligned}
705 === latexmath block 50
715 \end{cases}
716 \end{aligned}
719 === latexmath block 51
724 \tau_{3D}[level] & = (1-\alpha)(1-\beta)(1-\gamma)\tau_{i0j0k0}[level] \\
725 & \, + (\alpha)(1-\beta)(1-\gamma)\tau_{i1j0k0}[level] \\
726 & \, + (1-\alpha)(\beta)(1-\gamma)\tau_{i0j1k0}[level] \\
727 & \, + (\alpha)(\beta)(1-\gamma)\tau_{i1j1k0}[level] \\
728 & \, + (1-\alpha)(1-\beta)(\gamma)\tau_{i0j0k1}[level] \\
729 & \, + (\alpha)(1-\beta)(\gamma)\tau_{i1j0k1}[level] \\
730 & \, + (1-\alpha)(\beta)(\gamma)\tau_{i0j1k1}[level] \\
732 \end{aligned}
735 === latexmath block 52
740 \tau_{2D}[level] & = (1-\alpha)(1-\beta)\tau_{i0j0}[level] \\
741 & \, + (\alpha)(1-\beta)\tau_{i1j0}[level] \\
742 & \, + (1-\alpha)(\beta)\tau_{i0j1}[level] \\
744 \end{aligned}
747 === latexmath block 53
752 \tau_{1D}[level] & = (1-\alpha)\tau_{i0}[level] \\
754 \end{aligned}
757 === latexmath block 54
767 \end{cases}
768 \end{aligned}
771 === latexmath block 55
779 (1-\delta)\tau[d_{hi}]+\delta\tau[d_{lo}], & \text{for mip mode LINEAR}
780 \end{cases}
781 \end{aligned}
784 === latexmath block 56
792 u \left ( x - \frac{1}{2} + \frac{i}{N+1} , y \right ),
793 \left ( v \left (x-\frac{1}{2}+\frac{i}{N+1} \right ), y
800 u \left ( x, y - \frac{1}{2} + \frac{i}{N+1} \right ),
801 \left ( v \left (x,y-\frac{1}{2}+\frac{i}{N+1} \right )
805 \end{aligned}
810 === latexmath block 57
815 -w_c \leq x_c \leq w_c \\
816 -w_c \leq y_c \leq w_c \\
818 \end{array}
821 === latexmath block 58
830 \end{array}\right)
833 === latexmath block 59
842 \end{array}
849 \end{array}
855 latexmath:[\frac{k}{2^m - 1}]
859 === latexmath block 60
866 \begin{bmatrix}1 & \omega & \omega^2 & \omega^3 \end{bmatrix}
870 -1 & 0 & 1 & 0 \\
871 2 & -5 & 4 & 1 \\
872 -1 & 3 & -3 & 1
873 \end{bmatrix}
880 \end{bmatrix}
881 \end{aligned}
884 === latexmath block 61
893 \end{cases}
894 \end{aligned}
899 === latexmath block 62
904 i_{0} & = \left \lfloor u - \frac{3}{2} \right \rfloor & i_{1} & = i_{0} + 1 & i_{2} & = i_{1} + 1…
905 j_{0} & = \left \lfloor u - \frac{3}{2} \right \rfloor & j_{1} & = j_{0} + 1 & j_{2} & = j_{1} + 1…
907 \alpha & = \mathbin{frac} \left ( u - \frac{1}{2} \right ) \\[1em]
908 \beta & = \mathbin{frac} \left ( v - \frac{1}{2} \right )
909 \end{aligned}
920 latexmath:[\frac{1 - \frac{x}{2}}{x - 1}]
924 latexmath:[\mathbf{c} = t \mathbf{c}_1 + (1-t) \mathbf{c}_2.]
926 === latexmath block 63
935 \end{cases}
936 \end{aligned}
939 === latexmath block 64
945 (-1)^S \times 0.0, & E = 0, M = 0 \\
946 (-1)^S \times 2^{-14} \times { M \over 2^{10} },
948 (-1)^S \times 2^{E-15} \times { \left( 1 + { M \over 2^{10} } \right) },
950 (-1)^S \times Inf, & E = 31, M = 0 \\
952 \end{cases}