diff options
author | Timothy Arceri <[email protected]> | 2016-03-03 15:26:53 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-03-31 12:52:05 +1100 |
commit | 2fab85aaea59cb2d31d34ea6de94180ca83fe2dd (patch) | |
tree | ce5bee143ecf81de4ef813a80af4709ec4e9aa1c /docs | |
parent | 8120e869b1cde7fd1a3679291782f2f50296cb45 (diff) |
glsl: add xfb_stride link time validation
From the ARB_enhanced_layous spec:
"It is a compile-time or link-time error to have any *xfb_offset*
that overflows *xfb_stride*, whether stated on declarations before
or after the *xfb_stride*, or in different compilation units.
...
When no *xfb_stride* is specified for a buffer, the stride of a
buffer will be the smallest needed to hold the variable placed at
the highest offset, including any required padding."
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions