summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_surface.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-05-17 20:52:08 +0200
committerRoland Scheidegger <sroland@vmware.com>2010-05-17 20:52:08 +0200
commit6272d7632a8d2948e45698d1c75eae8c441c3916 (patch)
tree4d8c67d332e576b31923a5928f6408a180268b2c /src/gallium/auxiliary/util/u_surface.c
parent0ae2f59c0287f4baec6c7de5f2f0fdf736fba26d (diff)
gallium: another interface change for multisampling
due to popular request, use nr_samples parameter in is_format_supported() instead of new is_msaa_supported() query. This makes it easily possible to query if a format with a given sample count is also supported not only as render target, but for sampler views (note that texture sampling from multisampled resources isn't supported yet). It is not quite how dx10 format msaa queries work, but we might need to revisit format queries completely in the future anyway.
Diffstat (limited to 'src/gallium/auxiliary/util/u_surface.c')
0 files changed, 0 insertions, 0 deletions