diff options
author | Chia-I Wu <[email protected]> | 2015-06-25 07:43:47 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2015-06-26 13:45:28 +0800 |
commit | 2ee95f6d64aca9e9490c1ac293dd711b5f60a16b (patch) | |
tree | 1b0a56430afd92fdd6fa4f8c0238b8625c9976e4 /src/gallium/drivers/ilo/ilo_state.c | |
parent | dc2e92b2d3d216fc9657f2ef594d7c5d0b03370e (diff) |
ilo: always use the specified image format
Move silent promotion of PIPE_FORMAT_ETC1_RGB8 or combined depth/stencil out
of core.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_state.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.c b/src/gallium/drivers/ilo/ilo_state.c index 445df1966f9..20d3c001188 100644 --- a/src/gallium/drivers/ilo/ilo_state.c +++ b/src/gallium/drivers/ilo/ilo_state.c @@ -2048,7 +2048,7 @@ ilo_create_sampler_view(struct pipe_context *pipe, info.type = tex->image.type; if (templ->format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT && - tex->image.separate_stencil) { + tex->separate_s8) { info.format = ilo_format_translate_texture(dev, PIPE_FORMAT_Z32_FLOAT); } else { |