ce220540744c0dde30e5670441bbc7eab915cf89 |
|
27-Nov-2012 |
Matt Turner <mattst88@gmail.com> |
mesa: Set transform feedback's default buffer mode to INTERLEAVED_ATTRIBS Fixes part of es3conform's transform_feedback_init_defaults test. NOTE: This is a candidate for the stable branch. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Brian Paul <brianp@vmware.com> (cherry picked from commit 13f9012ad3837c98a2c891244e64878fa61f9cd2)
/external/mesa3d/src/mesa/main/shaderobj.c
|
82ce93a8fdcb18b17263a388fa0bd8dbc1889857 |
|
13-Jun-2012 |
Brian Paul <brianp@vmware.com> |
mesa: move variable declaration out of loop to fix MSVC build
/external/mesa3d/src/mesa/main/shaderobj.c
|
e2e9b4b10fcf3ba6358b9be54638f850523af82e |
|
25-May-2012 |
Antoine Labour <piman@chromium.org> |
mesa: Free uniforms correclty. This is an array of uniforms, not a single one. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> NOTE: This is a candidate for the 8.0 branch.
/external/mesa3d/src/mesa/main/shaderobj.c
|
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/shaderobj.c
|
0f68d88034a9815445ae0a35aacc500f82f33a18 |
|
12-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Fix leak of uniform storage records on shader program link/free. NOTE: This is a candidate for the 8.0 branch.
/external/mesa3d/src/mesa/main/shaderobj.c
|
501e2e3b6d64de9937d397b49ad3930d4bac3083 |
|
03-Jan-2012 |
Eric Anholt <eric@anholt.net> |
mesa: Remove the dead Varyings list in the program. Reviewed-by: Paul Berry <stereotype441@gmail.com>
/external/mesa3d/src/mesa/main/shaderobj.c
|
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/shaderobj.c
|
be4524aeed7fb67bdc45861d299d4c5ca99c4d6c |
|
19-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
Delete code made dead by previous uniform related patches Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/mesa/main/shaderobj.c
|
719909698c67c287a393d2380278e7b7495ae018 |
|
19-Oct-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Rewrite the way uniforms are tracked and handled Switch all of the code in ir_to_mesa, st_glsl_to_tgsi, glUniform*, glGetUniform, glGetUniformLocation, and glGetActiveUniforms to use the gl_uniform_storage structures in the gl_shader_program. A couple of notes: * Like most rewrite-the-world patches, this should be reviewed by applying the patch and examining the modified functions. * This leaves a lot of dead code around in linker.cpp and uniform_query.cpp. This will be deleted in the next patches. v2: Update the comment block (previously a FINISHME) in _mesa_uniform about generating GL_INVALID_VALUE when an out-of-range sampler index is specified. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
/external/mesa3d/src/mesa/main/shaderobj.c
|
de772c402215b956ab3aa0875330fc1bf7cdf95b |
|
21-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use gl_shader_program::_LinkedShaders instead of FragmentProgram Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/shaderobj.c
|
39348bf79fb247eec895c93e52f23afe138be46a |
|
20-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use gl_shader_program::_LinkedShaders instead of GeometryProgram Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/shaderobj.c
|
010cc547ca8c1fb2107106b0ad0de560780ce9aa |
|
20-Aug-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Use gl_shader_program::_LinkedShaders instead of VertexProgram Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/mesa/main/shaderobj.c
|
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/shaderobj.c
|
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/shaderobj.c
|
89193933cbd322cd08fb54232411a8a9221fcca8 |
|
29-Jul-2011 |
Ian Romanick <ian.d.romanick@intel.com> |
mesa: Ensure that gl_shader_program::InfoLog is never NULL This prevents assertion failures in ralloc_strcat. The ralloc_free in _mesa_free_shader_program_data can be omitted because freeing the gl_shader_program in _mesa_delete_shader_program will take care of this automatically. A bunch of this code could use a refactor to use ralloc a bit more effectively. A bunch of the things that are allocated with malloc and owned by the gl_shader_program should be allocated with ralloc (using the gl_shader_program as the context). Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/mesa/main/shaderobj.c
|
5e9aa9926b9bdf1260ce7350b88908bda337388b |
|
26-Feb-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Remove the CompileShader driver hook; it's just a no-op.
/external/mesa3d/src/mesa/main/shaderobj.c
|
9c7231c1d9cda244444dbfa05f15ead1bf581dc3 |
|
05-Nov-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Don't try to remove an internal shader_program from the hash. It fails on assertions if the key isn't actually present.
/external/mesa3d/src/mesa/main/shaderobj.c
|
d3073f58c17d8675a2ecdd5dfa83e5520c78e1a8 |
|
21-Jan-2011 |
Kenneth Graunke <kenneth@whitecape.org> |
Convert everything from the talloc API to the ralloc API.
/external/mesa3d/src/mesa/main/shaderobj.c
|
db61b9ce39bccc43140357652ceb78baaf2aea44 |
|
07-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Directly include mfeatures.h in files that perform feature tests.
/external/mesa3d/src/mesa/main/shaderobj.c
|
0117da40cd7edd3d165bb28569c289b37eca12b9 |
|
06-Jan-2011 |
Vinson Lee <vlee@vmware.com> |
mesa: Include mtypes.h in files that use gl_context struct. Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file.
/external/mesa3d/src/mesa/main/shaderobj.c
|
c628fd743ee3c3305e9beac7f0e6efacf6982115 |
|
23-Nov-2010 |
Brian Paul <brianp@vmware.com> |
mesa: replace #defines with new gl_shader_type enum
/external/mesa3d/src/mesa/main/shaderobj.c
|
3322fbaf3b5e305ce00c1d08c26965bb98e0cef0 |
|
14-Oct-2010 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Slightly change the semantic of _LinkedShaders Previously _LinkedShaders was a compact array of the linked shaders for each shader stage. Now it is arranged such that each slot, indexed by the MESA_SHADER_* defines, refers to a specific shader stage. As a result, some slots will be NULL. This makes things a little more complex in the linker, but it simplifies things in other places. As a side effect _NumLinkedShaders is removed. NOTE: This may be a candidate for the 7.9 branch. If there are other patches that get backported to 7.9 that use _LinkedShader, this patch should be cherry picked also.
/external/mesa3d/src/mesa/main/shaderobj.c
|
f9995b30756140724f41daf963fa06167912be7f |
|
12-Oct-2010 |
Kristian Høgsberg <krh@bitplanet.net> |
Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/main/shaderobj.c
|
c5dde53f4e42612518cd927bb58f08c0e22db17a |
|
03-Sep-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Fix printf-like warnings.
/external/mesa3d/src/mesa/main/shaderobj.c
|
9ce0d92ae70362a1cd8c07c9f7ac25bcbcd09959 |
|
27-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: move null ptr check (fdo bug 29843)
/external/mesa3d/src/mesa/main/shaderobj.c
|
476adf796b150ca93fcfaf6c6d97a9eedd678561 |
|
27-Aug-2010 |
Brian Paul <brianp@vmware.com> |
mesa: fix double-underscore naming
/external/mesa3d/src/mesa/main/shaderobj.c
|
a1bebf73dfdaf2cd23286aa74271b87166589901 |
|
11-Aug-2010 |
Eric Anholt <eric@anholt.net> |
i965: Start building 965 FS backend.
/external/mesa3d/src/mesa/main/shaderobj.c
|
56a0690a81cd6a0e7db4c041430ca38e5063e145 |
|
18-Aug-2010 |
Eric Anholt <eric@anholt.net> |
mesa: Free linked shaders when deleting the shader program.
/external/mesa3d/src/mesa/main/shaderobj.c
|
d19eecef54384c163af27a470496ed885a5a271b |
|
11-Aug-2010 |
Eric Anholt <eric@anholt.net> |
glsl2: Move ir_to_mesa handling to driver CompileShader and LinkShader hooks. This lets drivers override ir_to_mesa with their own codegen, or at least have a native alternative.
/external/mesa3d/src/mesa/main/shaderobj.c
|
afe125e0a18ac3886c45c7e6b02b122fb2d327b5 |
|
27-Jul-2010 |
Eric Anholt <eric@anholt.net> |
Merge remote branch 'origin/master' into glsl2 This pulls in multiple i965 driver fixes which will help ensure better testing coverage during development, and also gets past the conflicts of the src/mesa/shader -> src/mesa/program move. Conflicts: src/mesa/Makefile src/mesa/main/shaderapi.c src/mesa/main/shaderobj.h
|
ae8164a67b05cdc6d9b520b9704330537f3a6024 |
|
02-Jul-2010 |
Brian Paul <brianp@vmware.com> |
mesa: add geometry shader fields to gl_shader_program These 3 fields are per shader-program. Copy them into the geometry program at link time for convenient access later. Also, add some missing glGetProgramiv() queries.
/external/mesa3d/src/mesa/main/shaderobj.c
|
da7bd6a90e1fee5c16327338fd251c0f6be34e36 |
|
28-Jun-2010 |
Zack Rusin <zackr@vmware.com> |
mesa: initial support for ARB_geometry_shader4 laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
/external/mesa3d/src/mesa/main/shaderobj.c
|
ecd8c66d6a44c4bdcbbd63feae88c3cf1c371a87 |
|
26-Jun-2010 |
Vinson Lee <vlee@vmware.com> |
mesa: Remove unnecessary header.
/external/mesa3d/src/mesa/main/shaderobj.c
|
ec2b92f98c2e7f161521b447cc1d9a36bce3707c |
|
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: rename src/mesa/shader/ to src/mesa/program/
/external/mesa3d/src/mesa/main/shaderobj.c
|
a37b2219d6e3f299379c6434d65f300660d12c3e |
|
11-Jun-2010 |
Brian Paul <brianp@vmware.com> |
mesa: refactor shader api / object code Remove the unneeded ctx->Driver hooks for shader-related functions. Move state and API-related things into main/.
/external/mesa3d/src/mesa/main/shaderobj.c
|