summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/format_unpack.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-11-22 13:27:54 -0800
committerEric Anholt <[email protected]>2011-11-22 13:58:38 -0800
commit6216a5b49566fcd3f4b7ed42838858bccd2f0552 (patch)
tree04cfb2d564dee3d04067bcc522f169c9769dc627 /src/mesa/main/format_unpack.c
parentbabe26b3efa56f1afd139d5cfecbadb857a43d8f (diff)
mesa: Fall back to float16 if float32 isn't supported in ChooseTexFormat.
Until GL 3.0, there isn't any requirement on the actual sizes of channels chosen. By falling back to 16 here, we can correctly support ARB_texture_float on original i965 hardware, which can't correctly filter 32-bit floats.
Diffstat (limited to 'src/mesa/main/format_unpack.c')
0 files changed, 0 insertions, 0 deletions