77a3efc6b907943903190b385fdf107c4acfcdca |
|
18-Jul-2012 |
Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> |
build/glsl: fix location of generated files. Like in src/mesa, use GLSL_BUILDDIR/GLSL_SRCDIR to unambiguously distinguish between in-tree and generated files. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
/external/mesa3d/src/glsl/Makefile.sources
|
a75f2681d26aecad185895c1c2f13dd542281ff9 |
|
11-Jul-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Add a lowering pass to turn complicated UBO references to vector loads. v2: Reduce the impenetrable code in emit_ubo_loads() by 23 lines by keeping the ir_variable as the variable part of the offset from handle_rvalue(), and track the constant offsets from that with a plain old integer value, avoiding a bunch of temporary variables in the array and struct handling. Also, fix file description doxygen. v3: Fix a row vs col typo, and fix spelling in a comment. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/glsl/Makefile.sources
|
68e04cc6014bf7a2c9bd0b3b783b4ec12aa2e824 |
|
29-Jun-2012 |
Jon TURNEY <jon.turney@dronecode.org.uk> |
automake: convert libglsl v2: Use AM_V_GEN to silence generated code rules. Add BUILT_SOURCES to CLEANFILES v3: - Fix an accidental // in a path - Use automake make rules for lex/yacc rather than writing our own - Update .gitignore appropriately - Build a libglcpp convenience library rather than awkwardly including the files in libglsl and delegating the generation - Remove libglsl.a compatibility link on clean v4: - Automake's rules for lex/yacc make .cc if source is .ll or .yy, and apparently we must use those extensions "because of scons", so update everywhere glsl_parser.cpp -> glsl_parser.cc and glsl_lexer.cpp -> glsl_lexer.cc. This fixes 'make tarballs' and building with dricore enabled. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/glsl/Makefile.sources
|
ea606ee7b49d130fdedd5a707e79fc9e37ba280c |
|
11-Jun-2012 |
José Fonseca <jfonseca@vmware.com> |
scons: Fix scons build.
/external/mesa3d/src/glsl/Makefile.sources
|
446faee094ae6f0a4914b59a9eb87077a1f7b3c5 |
|
29-May-2012 |
Eric Anholt <eric@anholt.net> |
automake: Add a prefix variable for libglsl sources. See e86c40a84d241b954594f5ae7df9b9c3fc797a4e for reasoning. In the process I did s/:=/=/ to shut up automake about nonportable make syntax.
/external/mesa3d/src/glsl/Makefile.sources
|
a2e623054b5d8eafebc7499efe93e4bceae16ead |
|
06-Apr-2012 |
Ian Romanick <ian.d.romanick@intel.com> |
glsl: Set initial values for uniforms in the linker v2: Fix handling of arrays-of-structure. Thanks to Eric Anholt for pointing this out. v3: Minor comment change based on feedback from Ken. Fixes piglit glsl-1.20/execution/uniform-initializer/fs-structure-array and glsl-1.20/execution/uniform-initializer/vs-structure-array. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/Makefile.sources
|
3de1395fa5a563c13774ac1c38722c16cecc521d |
|
04-May-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Implement the GLSL 1.30+ discard control flow rule in GLSL IR. Previously, I tried implementing this in the i965 driver, but did so in a way that violated the intent of the spec, and broke Tropics. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/Makefile.sources
|
e21b9f1f19d2345026a7fbe095a776d0b64557ec |
|
04-May-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Remove the opt_discard_simplification pass. This conflicts with the GLSL 1.30+ rules for derivatives after a discard has occurred. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/Makefile.sources
|
599aac95ff2149d881177ed75a48d97d3dcf47bd |
|
19-Mar-2012 |
Eric Anholt <eric@anholt.net> |
glsl: Create an ir_builder helper for hand-generating IR. The C++ constructors with placement new, while functional, are extremely verbose, leading to generation of simple GLSL IR expressions like (a * b + c * d) expanding to many lines of code and using lots of temporary variables. By creating a new ir_builder.h that puts simple generators in our namespace and taking advantage of ralloc_parent(), we can generate much more compact code, at a minor runtime cost. v2: Replace ir_instruction usage with just ir_rvalue. v3: Drop remaining missed as_rvalue() in v2. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
/external/mesa3d/src/glsl/Makefile.sources
|
60177d5e2aec07ed6386a6935b118a356d58c4ec |
|
03-Oct-2010 |
Eric Anholt <eric@anholt.net> |
glsl: Add an array splitting pass. I've had this code laying around almost done for a long time. The idea is like opt_structure_splitting, that we've got a bunch of transforms at the GLSL IR level that only understand scalars and vectors, which just skip complicated dereferences. While driver backends may manage some optimization after they split matrices up themselves, it would be better to bring all of our optimization to bear on the problem. While I wasn't expecting changes quite yet, a few programs end up winning: a gstreamer convolution shader, and the Humus dynamic branching demo: Total instructions: 269430 -> 269342 3/2148 programs affected (0.1%) 1498 -> 1410 instructions in affected programs (5.9% reduction)
/external/mesa3d/src/glsl/Makefile.sources
|
4ff8fd93e8e91672bb02543ecaa0c6e462a87551 |
|
29-Jan-2012 |
Matt Turner <mattst88@gmail.com> |
glsl: rename Makefile.sources' _SOURCES variables automake uses variables named *_SOURCES. Reviewed-by: Eric Anholt <eric@anholt.net> Tested-by: Eric Anholt <eric@anholt.net> Signed-off-by: Matt Turner <mattst88@gmail.com>
/external/mesa3d/src/glsl/Makefile.sources
|
6d4b35c03619148cde89bc5eedaac3288001edd3 |
|
03-Jan-2012 |
Vincent Lejeune <vljn@ovi.com> |
glsl: Add a lowering pass to remove reads of shader output variables. This is similar to Gallium's existing glsl_to_tgsi::remove_output_read lowering pass, but done entirely inside the GLSL compiler. Signed-off-by: Vincent Lejeune <vljn@ovi.com> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/glsl/Makefile.sources
|
ab5c2622b6484df19db7e729f0e434a24dce2d10 |
|
08-Nov-2011 |
Eric Anholt <eric@anholt.net> |
glsl: Move ir_variable.cpp to builtin_variables.cpp. It's only about builtins, not variables in general. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glsl/Makefile.sources
|
dfdb34b7c1ad38027c301ac71d3890c6c5d5751a |
|
30-Oct-2011 |
Chia-I Wu <olvaffe@gmail.com> |
glsl: Refactor source lists to Makefile.sources With the hope that Android.mk and SConscript can share the file to reduce future breakage. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Chad Versace <chad@chad-versace.us>
/external/mesa3d/src/glsl/Makefile.sources
|