-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
Use case
This is an extension to #136025.
Fragment shaders sometimes need lookup tables, for example for color transformations. These tables usually use floating point, since that's the natural way math works on GPUs. GLSL handles this transparently, and APIs like OpenGL have support for this via floating point textures (GL_RGBA32F, GL_R32F, etc).
Proposal
If Flutter adds support for sync texture construction, this should also allow supplying a floating point texture to enable these kinds of operations in fragment shaders.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team