Age | Commit message (Collapse) | Author |
|
(cherry picked from commit f490ec9797a396da9d182f1ad4393f1c5c2df440)
|
|
Plus, update the print/debug code.
(cherry picked from commit 777a5c4f2e7c6c6ec0227a239b1af6c6b86dfab2)
|
|
Only one flag defined so far: PROG_PARAM_CENTROID_BIT
(cherry picked from commit 0f228d7ab3b7c03328df369b8db50c469ac5dcd6)
|
|
(cherry picked from commit 2d76a0d77af7be9539f89cba37ce84338c1cdda4)
|
|
Unused uniforms are no longer included in the active uniforms list.
|
|
Some of the headers in src/mesa/main have pretty common names which
easily conflict with third-party code, e.g. config.h
|
|
Fix incorrect uniform/attribute size query results.
Add missing error checking for glUniform, glUniformMatrix params
Fix an array size/allocation error.
|
|
All samplers indexes were zero.
cherry-picked from master (b6fb0940c226373ac235a5d327d3fcfd742bc6b9)
|
|
|
|
GLSL sampler variables indicate which texture unit to use for TEX instructions.
Previously, this was baked into the fragment/vertex program and couldn't be
readily changed once set.
Now, SamplerUnits[] array indicates which texture unit is to be used for
each sampler variable. These values are set with glUniform1i().
This is extra state that must be passed to the fragment/vertex program
executor at runtime.
|
|
|
|
|
|
The later takes a type parameter so we can match uniforms or attributes/inputs.
Used by the GL_ACTIVE_ATTRIBUTE_MAX_LENGTH and GL_ACTIVE_UNIFORM_MAX_LENGTH
queries. Fixes problem reported by Brad King in VTK.
|
|
|
|
|
|
|
|
Users can set explicit binding with glBindAttribLocation(), otherwise the
linker will allocate generic attribute slots.
|
|
|
|
Implement _mesa_uniform_matrix()
Support for program parameters/uniforms with more than 4 elements.
Store 4x4 matrices in column-major order in registers.
Update mat mul built-in functions accordingly.
|
|
|
|
|