Skip to content
Snippets Groups Projects
Commit cb758b89 authored by Brian Paul's avatar Brian Paul
Browse files

st/mesa: try PIPE_BIND_RENDER_TARGET when choosing float texture formats


For 8-bit RGB(A) texture formats we set the PIPE_BIND_RENDER_TARGET flag
to try to get a hardware format which also supports rendering (for FBO
textures).  Do the same thing for floating point formats.

This allows the Redway3D Flat demo to run.

Cc: 10.6 11.0 <mesa-stable@lists.freedesktop.org>

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Reviewed-by: default avatarRoland Scheidegger <sroland@vmware.com>
parent daf23bd4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment