commit | 3f4bd10595799c85862868dc21079b9d82283a93 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@lunarg.com> | Fri Dec 19 13:14:42 2014 +0800 |
committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | Wed Feb 04 17:57:22 2015 -0700 |
tree | 22b39a434a7f9946689a60f4170718cc368c8168 | |
parent | 7af7b9c2c40acdff8fc2b9fb2b8dfa636a0996b7 [diff] [blame] |
intel: compute max_threads in intel_pipeline_shader This avoids repeated compuations in command buffer building and enables us to compute the total scratch space when we add support for it.
diff --git a/icd/intel/pipeline.h b/icd/intel/pipeline.h index 1e04625..8b950d3 100644 --- a/icd/intel/pipeline.h +++ b/icd/intel/pipeline.h
@@ -120,7 +120,9 @@ XGL_FLAGS barycentric_interps; + /* these are set up by the driver */ struct intel_pipeline_rmap *rmap; + XGL_UINT max_threads; }; /*