mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 10:38:30 +02:00
i965: Use R16G16B16A16_FLOAT for 3-component half-float.
The RGBX version isn't supported as a vertex input type, but since we
force the last channel's value anyway, this should be fine. The only
potential risk I see is in the limiter on VBO reads past the end of
the buffer forcing the whole vertex to 0 when the A channel lands past
the end.
Fixes piglit draw-vertices-half-float.
(cherry picked from commit f5bd48cf67)
This commit is contained in:
parent
fc0b912f1e
commit
eb99b66737
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ static GLuint half_float_types[5] = {
|
|||
0,
|
||||
BRW_SURFACEFORMAT_R16_FLOAT,
|
||||
BRW_SURFACEFORMAT_R16G16_FLOAT,
|
||||
0, /* can't seem to render this one */
|
||||
BRW_SURFACEFORMAT_R16G16B16A16_FLOAT,
|
||||
BRW_SURFACEFORMAT_R16G16B16A16_FLOAT
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue