diff options
author | Eric Anholt <[email protected]> | 2009-06-22 11:54:02 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-06-23 19:31:10 -0700 |
commit | a9b03aaebf7ada116d0c63a0f00b50e7b5b2f1eb (patch) | |
tree | d2b448ed676613103cf4fd035ad3c21ef52282f2 | |
parent | 4f1e141c116a1c230db7adfd1b70f09d484aa19b (diff) |
intel: Refuse to do texture tiling if we don't have the kernel support.
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index 32ce0e207b6..a28836a7d8a 100644 --- a/src/mesa/drivers/dri/intel/intel_context.c +++ b/src/mesa/drivers/dri/intel/intel_context.c @@ -731,6 +731,12 @@ intelInitContext(struct intel_context *intel, } intel->use_texture_tiling = driQueryOptionb(&intel->optionCache, "texture_tiling"); + if (intel->use_texture_tiling && + !intel->intelScreen->kernel_exec_fencing) { + fprintf(stderr, "No kernel support for execution fencing, " + "disabling texture tiling"); + intel->use_texture_tiling = GL_FALSE; + } intel->use_early_z = driQueryOptionb(&intel->optionCache, "early_z"); intel->prim.primitive = ~0; |