boolean has_stream_out;
boolean has_stencil_export;
boolean has_texture_multisample;
+ boolean has_tex_lz;
boolean cached_all_shaders;
/* The Draw module overrides these functions.
ctx->has_texture_multisample =
pipe->screen->get_param(pipe->screen, PIPE_CAP_TEXTURE_MULTISAMPLE);
+ ctx->has_tex_lz = pipe->screen->get_param(pipe->screen,
+ PIPE_CAP_TGSI_TEX_TXF_LZ);
+
/* blend state objects */
memset(&blend, 0, sizeof(blend));
*shader = util_make_fragment_tex_shader(pipe, tgsi_tex,
TGSI_INTERPOLATE_LINEAR,
stype, dtype,
- false, false);
+ ctx->has_tex_lz, false);
}
return *shader;
*shader =
util_make_fragment_tex_shader_writedepth(pipe, tgsi_tex,
TGSI_INTERPOLATE_LINEAR,
- false, false);
+ ctx->has_tex_lz, false);
}
return *shader;
*shader =
util_make_fragment_tex_shader_writedepthstencil(pipe, tgsi_tex,
TGSI_INTERPOLATE_LINEAR,
- false,
+ ctx->has_tex_lz,
false);
}
*shader =
util_make_fragment_tex_shader_writestencil(pipe, tgsi_tex,
TGSI_INTERPOLATE_LINEAR,
- false, false);
+ ctx->has_tex_lz, false);
}
return *shader;