diff options
author | Kenneth Graunke <[email protected]> | 2016-04-01 20:52:33 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-04-01 21:58:22 -0700 |
commit | 2c5afe1fa98d01eb90577c8dbe785fc408f8608f (patch) | |
tree | 204c5062fa00cb9dd1d224ec62d09d0a3c8fd12b /src/loader/Android.mk | |
parent | 33df1c293504597c195cb2dca6b0b84e462388cf (diff) |
glsl: Make vertex ID lowering declare gl_BaseVertex as hidden.
If the GL_ARB_shader_draw_parameters extension is enabled, we'll already
have a gl_BaseVertex variable. It will have var->how_declared set to
ir_var_declared_implicitly, and will appear in the program resource
list.
If not, we make one for internal use. We don't want it to be listed
in the program resource list, as the application won't be expecting
it. Marking it hidden will properly exclude it.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/loader/Android.mk')
0 files changed, 0 insertions, 0 deletions