diff options
author | Roland Scheidegger <[email protected]> | 2010-05-29 01:28:21 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2010-05-29 01:28:21 +0200 |
commit | 4bc7b14224bfb9c5efe37e1505345fb90ba69d9e (patch) | |
tree | f98ac222dae92365a416782d28483f3c83ed4678 /src/gallium/drivers/i915/i915_state_emit.c | |
parent | 10baf7ec1d31552a268c38422619abc131a37e2b (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.c | 1 |
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: |