Skip to content

Investigate using integer textures with IEEE 754 float encoding. #551

@nsthorat

Description

@nsthorat

Recently we disabled integer texture mode (which was using fixed point precision) in favor of half floats on iOS.

However, there are still many devices which do not support the OES_texture_float extension, like Raspberry Pis (see this thread) and Mali T720 GPUs like on Android (see this bug #502).

We could reenable fixed point numbers, but the precision is quite terrible. The other option is to implement IEEE 754 in a shader. We already have a 32 bit float => 4, 8-bit float encoder here, we would just need to write the reverse. Even if performance is poor, it might be better than nothing.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions