aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_state_emit.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-05-29 01:28:21 +0200
committerRoland Scheidegger <[email protected]>2010-05-29 01:28:21 +0200
commit4bc7b14224bfb9c5efe37e1505345fb90ba69d9e (patch)
treef98ac222dae92365a416782d28483f3c83ed4678 /src/gallium/drivers/i915/i915_state_emit.c
parent10baf7ec1d31552a268c38422619abc131a37e2b (diff)
i915g: adapt to clear interface changes
should in theory support separate depth/stencil clears (untested). Also fix some format omissions?
Diffstat (limited to 'src/gallium/drivers/i915/i915_state_emit.c')
-rw-r--r--src/gallium/drivers/i915/i915_state_emit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_state_emit.c b/src/gallium/drivers/i915/i915_state_emit.c
index 4d069fffa85..22082fece82 100644
--- a/src/gallium/drivers/i915/i915_state_emit.c
+++ b/src/gallium/drivers/i915/i915_state_emit.c
@@ -51,6 +51,7 @@ static unsigned translate_format( enum pipe_format format )
static unsigned translate_depth_format( enum pipe_format zformat )
{
switch (zformat) {
+ case PIPE_FORMAT_Z24X8_UNORM:
case PIPE_FORMAT_Z24_UNORM_S8_USCALED:
return DEPTH_FRMT_24_FIXED_8_OTHER;
case PIPE_FORMAT_Z16_UNORM: