repo.or.cz
/
piglit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ext_gpu_shader4: add compiler tests for everything
[piglit.git]
/
tests
/
spec
/
arb_tessellation_shader
/
compiler
/
custom-in-length.tese
blob
9f693a454a60ba994e1a25086ea22804a7409919
1
// [config]
2
// expect_result: pass
3
// glsl_version: 1.50
4
// require_extensions: GL_ARB_tessellation_shader
5
// [end config]
6
7
#version 150
8
#extension GL_ARB_tessellation_shader: require
9
10
in float xs[];
11
12
/* Since xs is unsized, xs.length() is gl_MaxPatchVertices */
13
14
int test[(xs.length() == gl_MaxPatchVertices) ? 1 : -1];