summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_formats.c
Commit message (Collapse)AuthorAgeFilesLines
* gallium: merge PIPE_SWIZZLE_* and UTIL_FORMAT_SWIZZLE_*Marek Olšák2016-04-221-4/+4
| | | | | | | | Use PIPE_SWIZZLE_* everywhere. Use X/Y/Z/W/0/1 instead of RED, GREEN, BLUE, ALPHA, ZERO, ONE. The new enum is called pipe_swizzle. Acked-by: Jose Fonseca <jfonseca@vmware.com>
* vc4: Avoid overflowing various static tables.Eric Anholt2015-07-301-1/+1
|
* vc4: Flip around the depth/stencil fields.Eric Anholt2014-09-091-2/+2
| | | | | After implementing depth stores, it looks like this is the way things actually are, according to hiz-depth-read-fbo-d24-s0's probes.
* vc4: Add support for all the texture and FBO formats we can.Eric Anholt2014-08-221-0/+169
Now that tiling is in place, we can expose the other formats. Depth is still broken (need to make changes in the shader), but if you don't expose it things crash all over. SNORM is dropped, but we could re-add it later with some shader fixes to handle converting between [0,1] and [-1,1].