diff options
author | Dave Airlie <[email protected]> | 2015-04-20 10:27:36 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-07-23 17:25:43 +1000 |
commit | 60266863d80bb2af94fa5c189ccd23ee20607ea9 (patch) | |
tree | 9b7a90ddee9f98523508d95a201463f61ddb3126 /.dir-locals.el | |
parent | 44ea8b9b8edc5f59da546683fe64129a1c1be449 (diff) |
glsl: add uniform and program resource support (v2)
This adds linker support for subroutine uniforms, they
have some subtle differences from real uniforms, we also hide
them and they are given internal uniform names.
This also adds the subroutine locations and subroutine uniforms
to the program resource tracking for later use.
v1.1: drop is_subroutine_def
v2: handle explicit location properly, ARB_explicit_location
has a lot of language for subroutine shaders.
Calculate a link time the number of compatible subroutines
for a uniform, to make program resource easier later.
Acked-by: Kenneth Graunke <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions