summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/nine_pipe.h
diff options
context:
space:
mode:
authorAxel Davy <axel.davy@ens.fr>2015-01-21 08:59:05 +0100
committerAxel Davy <axel.davy@ens.fr>2015-02-06 00:07:19 +0100
commitd8d48f6f7181fa6cc7c4ff5b1c0e8883d6f8ce6d (patch)
treef698ecba2619e225cc9c8b8cdc23831c673c308b /src/gallium/state_trackers/nine/nine_pipe.h
parenta1d369e804623663e78002c0101d668bd3d42762 (diff)
downloadexternal_mesa3d-d8d48f6f7181fa6cc7c4ff5b1c0e8883d6f8ce6d.zip
external_mesa3d-d8d48f6f7181fa6cc7c4ff5b1c0e8883d6f8ce6d.tar.gz
external_mesa3d-d8d48f6f7181fa6cc7c4ff5b1c0e8883d6f8ce6d.tar.bz2
st/nine: Fix multisampling support detection
Reviewed-by: Tiziano Bacocco <tizbac2@gmail.com> Signed-off-by: Axel Davy <axel.davy@ens.fr>
Diffstat (limited to 'src/gallium/state_trackers/nine/nine_pipe.h')
-rw-r--r--src/gallium/state_trackers/nine/nine_pipe.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/gallium/state_trackers/nine/nine_pipe.h b/src/gallium/state_trackers/nine/nine_pipe.h
index 7295bdf..17844d5 100644
--- a/src/gallium/state_trackers/nine/nine_pipe.h
+++ b/src/gallium/state_trackers/nine/nine_pipe.h
@@ -309,31 +309,6 @@ d3d9_to_pipe_format_checked(struct pipe_screen *screen,
return PIPE_FORMAT_NONE;
}
-/* same that above, but determines binding flags */
-static INLINE enum pipe_format
-d3d9_to_pipe_format_checked_no_bind(struct pipe_screen *screen,
- D3DFORMAT format,
- enum pipe_texture_target target,
- unsigned sample_count,
- boolean srgb)
-{
- enum pipe_format result;
- unsigned bindings;
-
- result = d3d9_to_pipe_format_internal(format);
- if (result == PIPE_FORMAT_NONE)
- return PIPE_FORMAT_NONE;
-
- bindings = util_format_is_depth_or_stencil(result) ?
- PIPE_BIND_DEPTH_STENCIL : PIPE_BIND_RENDER_TARGET;
- if (srgb)
- result = util_format_srgb(result);
-
- if (format_check_internal(result))
- return result;
- return PIPE_FORMAT_NONE;
-}
-
static INLINE const char *
d3dformat_to_string(D3DFORMAT fmt)
{