diff options
author | Kenneth Graunke <[email protected]> | 2016-03-15 11:13:25 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-03-16 00:09:56 -0700 |
commit | b566317e7e6eb78a22cac759a4af2e9d78f74a32 (patch) | |
tree | f587ab9b4363e3310624267708d2f56d0562b63d /src/mesa/drivers/dri/nouveau | |
parent | 9d9965c06f18f7d609933e511b98514570e85909 (diff) |
meta: Use ARB_explicit_attrib_location in the rest of the meta shaders.
This is cleaner than using glBindAttribLocation().
Not all drivers support the extension, but I don't think those drivers
use GLSL in the first place. Apparently some Meta shaders already use
GL_ARB_explicit_attrib_location, so I think it should be okay.
Honestly, I'm not sure how the old code worked anyway - we bound the
attribute location for "texcoords", while all the shaders capitalized
or spelled it differently.
v2: Convert another instance in brw_meta_fast_clear.c.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/nouveau')
0 files changed, 0 insertions, 0 deletions