Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-09 | Fix some typing issues in asin. | Kenneth Graunke | |
CorrectFunction.vert now passes. | |||
2010-06-09 | Add a completely bogus implementation of the noise[1234] builtins. | Kenneth Graunke | |
idr suggested this. Eventually we will need a real one. | |||
2010-06-09 | Implement 'acos' builtin. | Kenneth Graunke | |
This is tacked on to the end of the 'asin' file because acos calls asin, whech means asin needs to be defined first. Alphabetical order fail. | |||
2010-06-09 | Implement 'faceforward' builtin. | Kenneth Graunke | |
2010-06-09 | Implement 'distance' builtin. | Kenneth Graunke | |
2010-06-09 | Add remaining signatures for 'clamp' builtin. | Kenneth Graunke | |
2010-06-09 | Add remaining signatures for 'max' builtin. | Kenneth Graunke | |
2010-06-09 | Add remaining signatures for 'min' builtin. | Kenneth Graunke | |
2010-06-09 | Add remaining signatures for 'mod' builtin. | Kenneth Graunke | |
2010-06-09 | ir_function_cloning_visitor: Add support for ir_texture. | Kenneth Graunke | |
2010-06-09 | Don't call _mesa_glsl_initialize_types for every builtin function. | Kenneth Graunke | |
This was clearly wrong; types are now only initialized once. | |||
2010-06-09 | Only initialize types after #extension directives have been processed. | Kenneth Graunke | |
Since _mesa_glsl_initialize_types add types for various extensions, we can't call it until after processing "#extension foo : disable" lines. Fixes tex_rect_02.frag. | |||
2010-06-09 | Commit output of texture_builtins.py and refresh builtin_function.cpp. | Kenneth Graunke | |
2010-06-09 | texture_builtins.py: Support the EXT_texture_array extension. | Kenneth Graunke | |
2010-06-09 | Add EXT_texture_array support. | Kenneth Graunke | |
2010-06-09 | generate_builtins.pl: Support stage-specific builtins even for extensions. | Kenneth Graunke | |
2010-06-09 | texture_builtins.py: Fixes for Array variants. | Kenneth Graunke | |
The array layer is now included as part of the texture coordinate. | |||
2010-06-09 | texture_builtins.py: Add support for 130 Proj variants. | Kenneth Graunke | |
2010-06-09 | Add a python script to generate texture builtins. | Kenneth Graunke | |
2010-06-09 | generate_builtins.pl: Support directiories for each extension. | Kenneth Graunke | |
2010-06-09 | generate_builtins.pl: Support _fs directories as well as _vs. | Kenneth Graunke | |
2010-06-09 | Set the type of ir_texture properly; infer it from the sampler type. | Kenneth Graunke | |
2010-06-09 | ir_reader: Add support for reading ir_texture. | Kenneth Graunke | |
2010-06-09 | ir_reader: Refactor reading of dereferences for later reuse. | Kenneth Graunke | |
2010-06-09 | Add stub visitor support for ir_texture. | Kenneth Graunke | |
2010-06-09 | ir_print_visitor: Add support for ir_texture. | Kenneth Graunke | |
2010-06-09 | Add mappings between ir_texture_opcode and strings. | Kenneth Graunke | |
2010-06-09 | Define IR instruction for texture look-ups | Ian Romanick | |
2010-06-09 | Use array delete operator to delete an array | Ian Romanick | |
This was detected by valgrind. I think GCC still does the right thing, but the C++ spec allows the compiler to do something stupid... like crash or only delete the first entry in the array. | |||
2010-06-07 | Bump GL_MAX_TEXTURE_COORDS from 2 to 4 | Ian Romanick | |
Every platform that supports GLSL sets GL_MAX_TEXTURE_COORDS to at least 4, so hard-code 4 for now. This causes the following tests to pass: glslparsertest/glsl2/norsetto-bumptbn_sh_fp.vert glslparsertest/glsl2/xreal-lighting-d-omni.vert glslparsertest/glsl2/xreal-lighting-db-omni.vert glslparsertest/glsl2/xreal-lighting-dbs-omni.vert | |||
2010-06-07 | Only allow global precision qualifier for int and float | Ian Romanick | |
This causes the following tests to pass: glslparsertest/glsl2/precision-03.vert | |||
2010-06-07 | Fix parsing of precision qualifiers | Ian Romanick | |
This causes the following tests to pass: glslparsertest/glsl2/precision-02.vert glslparsertest/glsl2/precision-04.vert glslparsertest/glsl2/precision-06.vert This causes the following test to fail. This shader was previously failing to compile, but it was failing for the wrong reasons. glslparsertest/glsl2/precision-03.vert | |||
2010-06-07 | Don't process empty shaders | Ian Romanick | |
Some valid shaders, such as 'precision highp float;', evaluate to empty sets of instructions. This causes some of the optimization stages to enter infinite loops. Instead, don't bother processing the empty ones. | |||
2010-06-07 | Generate an error on empty declaration lists | Ian Romanick | |
This causes an error for code such as 'float;' | |||
2010-06-04 | Check variable mode when comparing qualifier lists. | Kenneth Graunke | |
Fixes function-05.vert. | |||
2010-06-02 | ir_dereference_array always operates on an r-value | Ian Romanick | |
ir_dereference_array::array is always an r-value. If the dereference is of a varaible, that r-value will be an ir_dereference_variable. This simplifies the code a bit. | |||
2010-06-02 | There is no class ir_label, so there's no need for ir_instruction::as_label | Ian Romanick | |
2010-06-02 | Remove some cruft from the Makefile | Ian Romanick | |
This was affecting the build, but the files don't actually exist. | |||
2010-06-01 | Add builtin gl_LightSource[]. | Eric Anholt | |
Fixes gst-gl-bumper.vert parsing. | |||
2010-06-01 | builtins: Add support for reflect(). | Eric Anholt | |
Fixes glsl-orangebook-ch06.frag parsing. | |||
2010-06-01 | builtins: Add ftransform(). | Eric Anholt | |
Fixes glsl-orangebook-ch06-bump.vert. | |||
2010-06-01 | Allow arrays of floats as varyings. | Eric Anholt | |
The comment just above the code said arrays were OK, then it didn't handle arrays. Whoops. Partially fixes CorrectUnsizedArray.frat. | |||
2010-06-01 | gl_Normal is a vec3 not a vec4. | Eric Anholt | |
Fixes CorrectSwizzle1.vert. | |||
2010-06-01 | builtins: Add the mix(gentype, gentype, float) variant. | Eric Anholt | |
The broken-in-mesa Regnum Online shader now parses, except for its preprocessor usage. | |||
2010-06-01 | Handle GLSL 1.20 implicit type conversions. | Eric Anholt | |
We were nicely constructing a new expression for the implicit type conversion, but then checking that the previous types matched instead of the new expression's type. Fixes errors in Regnum Online shaders. | |||
2010-06-01 | builtins: Add atan(). | Eric Anholt | |
2010-06-01 | builtins: Add asin(). | Eric Anholt | |
2010-06-01 | ir_constant_expression: Handle several floating point unops. | Eric Anholt | |
Cleans up a bunch of pointless operations in a GStreamer fragment shader. | |||
2010-06-01 | ir_constant_variable: New pass to mark constant-assigned variables constant. | Eric Anholt | |
This removes a bunch of gratuitous moving around of constant values from constructors. Makes a shader ir I was looking at for structure handling almost readable. | |||
2010-06-01 | ir_constant_folding: Look at instructions in functions. | Eric Anholt | |
This was broken in the ir_label -> ir_function rework. |