On 08/09/2013 03:43 AM, Topi Pohjolainen wrote:
v2 (Chad):
    - be more specific: rename try_as_non_external_texture() as
      try_as_texture_2d()
    - skip the test if EGL stack does not support the chosen format
    - add dependency to 'EGL_KHR_image_base'

Signed-off-by: Topi Pohjolainen <topi.pohjolai...@intel.com>
---
  tests/all.tests                                    |   1 +
  .../ext_image_dma_buf_import/CMakeLists.gles1.txt  |   1 +
  .../intel_external_sampler_only.c                  | 152 +++++++++++++++++++++
  3 files changed, 154 insertions(+)
  create mode 100644 
tests/spec/ext_image_dma_buf_import/intel_external_sampler_only.c



+/**
+ * @file intel_external_sampler_only.c
+ *
+ * Intel driver does not allow imported dma-buffers to be rendered but to be
+ * read only. In addition the driver allows the buffers to be sampled onyl 
using
                                                                         ^^^^
                                                                         only



+void
+piglit_init(int argc, char **argv)
+{
+       static const char intel_id[] = "Intel Open Source Technology Center";

Eventually, we should put the logic of determining the driver's vendor into core
piglit, into piglit-util*.c. But, using hand-rolled code here in piglit_init()
is good for now.


With the small typo fixed, this is
Reviewed-by: Chad Versace <chad.vers...@linux.intel.com>

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to