f8cf79936b42405a8366613b80e3bde21aadaa02 |
|
24-Mar-2012 |
Dave Airlie <airlied@redhat.com> |
mesa: add support for ARB_blend_func_extended (v4) Add implementations of the two API functions, Add a new strings to uint mapping for index bindings Add the blending mode validation for SRC1 + SRC_ALPHA_SATURATE Add get for MAX_DUAL_SOURCE_DRAW_BUFFERS v2: Add check in valid_to_render to address case in spec ERRORS. v3: Add index to ir.h so this patch compiles on its own fixup comment v4: fixup Brian's comments The GLSL patch will setup the indices. Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/main/shader_query.cpp
|
e6c314f7d2ed99714376fec6b7509a55535fa3ff |
|
22-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Allow generic attributes for glGetActiveAttrib and GL_ACTIVE_ATTRIBUTES Page 77 (page 91 of the PDF) says about glGetActiveAttrib: "The returned attribute name can be the name of a generic attribute or a conventional attribute (which begin with the prefix "gl_", see the OpenGL Shading Language specification for a complete list)." Page 261 (page 275 of the PDF) says about glGetProgramiv: "If pname is ACTIVE_ATTRIBUTES, the number of active attributes in program is returned." It doesn't say anything about built-in vs. user-defined attributes. From the language around glGetActiveAttrib and the lack of an exclusion of built-in attributes, which exists other places (e.g., around glBindAttribLocation), we can infer that GL_ACTIVE_ATTRIBUTES should include the active attribute count. It should also be included in the values returned by glGetActiveAttrib. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43138 Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Yi Sun <yi.sun@intel.com>
/external/mesa3d/src/mesa/main/shader_query.cpp
|
59012c31337f104aedfe69ca6d3cf784581df544 |
|
05-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Implement glGetFragDataLocation Fixes piglit's getfragdatalocation test. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/shader_query.cpp
|
b12b5d9ab5c0153c93ca5ad9cd93cb36e41be4eb |
|
05-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
linker: Use app-specified fragment data location during linking Fixes piglit's bindfragdata-link-error. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/shader_query.cpp
|
4464a4b27b66f832acbe52b0a002c04415924c14 |
|
04-Nov-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Stub implementation of glBindFragDataLocation This just validates the input parameters so far. Fixes piglit's bindfragdata-invalid-parameters test. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Paul Berry <stereotype441@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/shader_query.cpp
|
35613afee3e038b70ada210b2dfbbc9abc883f4f |
|
19-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused gl_program::Attributes Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/shader_query.cpp
|
24409ba1968cc49cbde6a111464c91271babc68a |
|
19-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Determine GL_ACTIVE_ATTRIBUTE_MAX_LENGTH by walking the GLSL IR. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/shader_query.cpp
|
c097c63aa880e2b84e6b1d78a8808d42864f72fc |
|
19-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Determine GL_ACTIVE_ATTRIBUTES by walking the GLSL IR. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/shader_query.cpp
|
a339ee8d852c08ce7af51a518e0b18b9f0ab324c |
|
19-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Remove unused gl_shader_program::Attributes Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/shader_query.cpp
|
84d71a07bb06fe5fe231b8983558fbd3608ec6f0 |
|
19-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Make _mesa_GetActiveAttribARB use the attributes in the shader IR Instead of relying on the mirror in the Mesa IR assembly shader, just use the variables actually stored in the GLSL IR. This will be a bit slower, but nobody cares about the performance of glGetActiveAttrib. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/shader_query.cpp
|
7a80c1bbc56b61525634f2b699f995e863dfade2 |
|
18-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Move _mesa_GetActiveAttribARB to shader_query.cpp This just folds get_active_attrib into _mesa_GetActiveAttribARB and moves the resulting function function to the other source file. More changes are coming soon. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/shader_query.cpp
|
015d4f61ef9116c9e844299ab9f2b15c653c0450 |
|
18-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Add gl_shader_program::AttributeBindings This currently mirrors the state tracking gl_shader_program::Attributes, but I'm working towards eliminating that. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/shader_query.cpp
|
2fd80534f01a5c684c47eff3946f412192ae3c0b |
|
18-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Move _mesa_BindAttribLocationARB to shader_query.cpp This just folds bind_attrib_location into _mesa_BindAttribLocationARB and moves the resulting function function to the other source file. More changes are coming soon. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/shader_query.cpp
|
b7fa0d0727a3a9e1f64d3cfc7a0f157b35dec09e |
|
16-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Move _mesa_GetAttribLocationARB to shader_query.cpp This allows querying the linked shader itself rather than the Mesa IR. This is the first step towards removing gl_program::Attributes. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/shader_query.cpp
|