<div dir="ltr">On 23 August 2013 11:02, Nicholas Mack <span dir="ltr"><<a href="mailto:nichmack@gmail.com" target="_blank">nichmack@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
.../varying-struct-basic-vs-gs-fs.shader_test | 141 +++++++++++++++++++++<br>
1 file changed, 141 insertions(+)<br>
create mode 100644 tests/spec/glsl-1.50/execution/varying-struct-basic-vs-gs-fs.shader_test<br>
<br>
diff --git a/tests/spec/glsl-1.50/execution/varying-struct-basic-vs-gs-fs.shader_test b/tests/spec/glsl-1.50/execution/varying-struct-basic-vs-gs-fs.shader_test<br>
new file mode 100644<br>
index 0000000..e59e2b5<br>
--- /dev/null<br>
+++ b/tests/spec/glsl-1.50/execution/varying-struct-basic-vs-gs-fs.shader_test<br></blockquote><div><br></div><div>The name is a little misleading, since this test only verifies varying structs going from gs to fs. I'd recommend renaming this test to varying-struct-basic-gs-fs.<br>
<br></div><div>With the name changed, this patch is:<br><br></div><div>Reviewed-by: Paul Berry <<a href="mailto:stereotype441@gmail.com">stereotype441@gmail.com</a>><br><br>As a follow-up patch, I think we also need to test structured varyings going from vs to
gs. (The vs to gs case is important since gs inputs are arrays, so it's
likely that vs to gs varying structs exercise a different code path). Thanks!<br></div></div></div></div>