commit | 9269d1cf95f2ec9208eb50b3f7b82b01708e910a | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olvaffe@gmail.com> | Sat Aug 16 12:47:47 2014 +0800 |
committer | Chia-I Wu <olvaffe@gmail.com> | Sat Aug 16 17:00:13 2014 +0800 |
tree | effb706751d981088bdcdfbf6828038fc21abf67 | |
parent | 5a3232635f9572f63803c9e29f352f3f20a77e9b [diff] [blame] |
intel: add view state emission code from Mesa
diff --git a/icd/intel/gpu.h b/icd/intel/gpu.h index 7afa05e..96adfb2 100644 --- a/icd/intel/gpu.h +++ b/icd/intel/gpu.h
@@ -27,6 +27,10 @@ #include "intel.h" +#define INTEL_GPU_ASSERT(gpu, min_gen, max_gen) \ + assert(intel_gpu_gen(gpu) >= INTEL_GEN(min_gen) && \ + intel_gpu_gen(gpu) <= INTEL_GEN(max_gen)) + enum intel_gpu_engine_type { /* TODO BLT support */ INTEL_GPU_ENGINE_3D,