[Piglit] [PATCH 2/4] arb_shader_image_load_store/image: Document behaviour of get_image_stage() if images aren't supported.

Francisco Jerez currojerez at riseup.net
Tue May 12 05:39:12 PDT 2015


---
 tests/spec/arb_shader_image_load_store/image.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/spec/arb_shader_image_load_store/image.h b/tests/spec/arb_shader_image_load_store/image.h
index 54d32ed..f35c89f 100644
--- a/tests/spec/arb_shader_image_load_store/image.h
+++ b/tests/spec/arb_shader_image_load_store/image.h
@@ -270,7 +270,8 @@ const struct image_stage_info *
 image_stages(void);
 
 /**
- * Get information for the specified stage.
+ * Get information for the specified stage, or NULL if the specified
+ * stage doesn't support images.
  */
 const struct image_stage_info *
 get_image_stage(GLenum s);
-- 
2.3.5



More information about the Piglit mailing list