Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-23 | r600g: Fix SCons build. | Vinson Lee | |
2010-07-23 | scons: Use '-Wmissing-field-initializers' on GCC 4.0 and greater only. | Vinson Lee | |
2010-07-23 | mesa: Fix Cygwin build with llvm enabled. | Vinson Lee | |
On Cygwin locale_t in not available but 'llvm-config --cppflags' adds the compiler flag -D_GNU_SOURCE to the build. | |||
2010-07-23 | gallium: Fix build with llvm installed in non-standard location | Christopher James Halse Rogers | |
The es1, es2 and gl state trackers include draw_pipe.h, which includes the llvm headers if MESA_LLVM is true, so we also need to add the llvm seachpaths. Similarly, gallivm and other gallium drivers need LLVM_CFLAGS to build when enabled. Also fix xorg drivers, they didn't include LDFLAGS. | |||
2010-07-23 | r600g: fix dp2, dp3, dp4 tokens | Jerome Glisse | |
We need to make sure dp are all mirror accross the alu unit. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-23 | r600g: add RSQ token support | Jerome Glisse | |
Could serve as an example on how to add more token support. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-23 | r600g: drop compiler stuff and switch over dumb tgsi assembler | Jerome Glisse | |
Writing a compiler is time consuming and error prone in order to allow r600g to further progress in the meantime i wrote a simple tgsi assembler, it does stupid thing but i would rather keep the code simple than having people trying to optimize code it does. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-23 | glx: Don't try to swap a front buffer if we don't have one. | Eric Anholt | |
Fixes glean glsl1 since 7b7845a076c933e096ac511b4184141ba194449a | |||
2010-07-23 | st/mesa: get rid of unneeded ureg_writemask() | Brian Paul | |
2010-07-23 | st/mesa: fix bug in emit_adjusted_wpos() | Brian Paul | |
If we bias x,y we still need to pass through z,w in case the shader reads gl_FragCoord.z or .w. Fixes fd.o bug 29183 (piglit glsl-bug-22603). NOTE: This is a candidate for the 7.8 branch. | |||
2010-07-23 | i965: Cleanly fail programs with unsupported array access. | Eric Anholt | |
This should be more useful for developers and for bug triaging than just generating wrong code. | |||
2010-07-23 | i965: Add support for VS relative addressing of temporary arrays. | Eric Anholt | |
Fixes glsl-vs-arrays. Bug #27388. | |||
2010-07-23 | draw: add small ybias factor for drawing wide points | Brian Paul | |
Fixes minor rasterization error detected by some tests. | |||
2010-07-23 | docs: document new extensions for Gallium | Brian Paul | |
2010-07-23 | softpipe: Check for NULL pointer in sp_destroy_tile_cache(). | Michal Krol | |
2010-07-23 | softpipe: Check for NULL pointer in sp_destroy_tex_tile_cache(). | Michal Krol | |
2010-07-23 | nv50: implement depth clamp | Christoph Bumiller | |
2010-07-23 | xorg/vmwgfx: Implement early mode pruning based on max fb size. | Thomas Hellstrom | |
Also move some initialization from screen init to pre-init, now that it is possible. Also import a new vmwgfx drm (1.3) header. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> | |||
2010-07-23 | st/xorg: Init the Gallium3D / libkms resources in pre-init. | Thomas Hellstrom | |
This makes it possible to prune modes already in pre-init. We also keep these resources alive across server generations, and they are implicitly closed on server exit. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> | |||
2010-07-23 | st/xorg: Kill a couple of compilation warnings | Thomas Hellstrom | |
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> | |||
2010-07-23 | st/xorg vmwgfx/xorg: Add a pre-init customizer callback | Thomas Hellstrom | |
Add a customizer callback just before initial config setting, so that the customizer code can initialize the mode validator using the drm file-descriptor. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> | |||
2010-07-23 | st/xorg: Add a possibility to prune modes and limit fb allocation size based ↵ | Thomas Hellstrom | |
on max fb size. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> | |||
2010-07-22 | llvmpipe: Partially fix resource texture from_handle | Jakob Bornecrantz | |
2010-07-22 | llvmpipe: Don't align values already aligned | Jakob Bornecrantz | |
2010-07-22 | i915g: Rename winsys debug options | Jakob Bornecrantz | |
2010-07-22 | i915g: Allow wrapping with software pipes | Jakob Bornecrantz | |
2010-07-22 | i915g: Set total_nblocksy in from_handle | Jakob Bornecrantz | |
2010-07-22 | i915g: Add some debug prints in texture code | Jakob Bornecrantz | |
2010-07-22 | i915g: Ifdef out debug code on non-debug builds | Jakob Bornecrantz | |
2010-07-22 | tgsi: Fix error message on invalid swizzle parse | Jakob Bornecrantz | |
2010-07-22 | glx: Drop screen argument to GetGLXDRIDrawable | Kristian Høgsberg | |
We'll just get it from the returned drawable when we need it. | |||
2010-07-22 | glx: Move WaitGL, WaitX, UseXFont to context vtable functions | Kristian Høgsberg | |
2010-07-22 | glx: Allocate the __GLXcontext in the DRI drivers | Kristian Høgsberg | |
2010-07-22 | glx: Use _Xglobal_lock for protecting extension display list | Kristian Høgsberg | |
Avoids double locking glXLock in the X wire to event handlers. | |||
2010-07-22 | ir_constant_expression: Fix broken code for floating point modulus. | Kenneth Graunke | |
It's supposed to be x - y * floor(x/y), not (x - y) * floor(x/y). | |||
2010-07-22 | glsl2: Refresh autogenerated file builtin_function.cpp. | Kenneth Graunke | |
2010-07-22 | glsl2/builtins: Add 1.30 bvec variant of the "mix" builtin. | Kenneth Graunke | |
2010-07-22 | glsl2/builtins: Fix 1.30 sign implementation for ints. | Kenneth Graunke | |
2010-07-22 | glsl2/builtins: Fix "mod" builtin to use scalar/vector operations. | Kenneth Graunke | |
2010-07-22 | glsl2: Initialize ir_instruction::type and ir_rvalue::type. | Kenneth Graunke | |
Top-level instructions now get NULL as their default type (since type is irrelevant for things like ir_function), while ir_rvalues get error_type by default. This should make it easier to tell if we've forgotten to set a type. It also fixes some "Conditional jump or move depends on uninitialized value" errors in valgrind caused by ir_validate examining the type of top level ir_instructions, which weren't set. | |||
2010-07-22 | glsl2: Make ir_assignment derive from ir_instruction, not ir_rvalue. | Kenneth Graunke | |
Assignments can only exist at the top level instruction stream; the residual value is handled by assigning the value to a temporary and returning an ir_dereference_variable of that temporary. | |||
2010-07-22 | glsl2: Fix standalone compiler to not crash horribly. | Kenneth Graunke | |
ir_to_mesa was updated for the _mesa_glsl_parse_state constructor changes, but main.cpp was not. | |||
2010-07-22 | ir_print_visitor: Add "temporary" to mode string printing. | Kenneth Graunke | |
Variables with mode ir_var_temporary were causing an out of bounds array access and filling my screen with rubbish. I'm not sure if "temporary" is the right thing to print. | |||
2010-07-22 | glcpp: Fix function-like macros with an argument used multiple times. | Carl Worth | |
It's really hard to believe that this case has been broken, but apparently no test previously exercised it. So this commit adds such a test and fixes it by making a copy of the argument token-list before expanding it. This fix causes the following glean tests to now pass: glsl1-Preprocessor test 6 (#if 0, #define macro) glsl1-Preprocessor test 7 (multi-line #define) | |||
2010-07-22 | glsl2: Put side effects of the RHS of logic_or in the right branch. | Eric Anholt | |
Kind of missing the point to only do the side effects if the LHS evaluates as true. Fixes: glsl1-|| operator, short-circuit | |||
2010-07-22 | glsl2: Validate that ir_if conditions are actually bool. | Eric Anholt | |
2010-07-22 | ir_to_mesa: Fix the swizzles on record and array dereferences. | Eric Anholt | |
Fixes: glsl1-struct (1) glsl1-struct (2) glsl1-struct (3) glsl1-struct (4) | |||
2010-07-22 | glsl2: When setting the size of an unsized array, set its deref's size too. | Eric Anholt | |
2010-07-22 | glsl: remove invalid _mesa_problem() call | Brian Paul | |
Fixes fd.o bug 29206. | |||
2010-07-22 | glsl2: Set the type on cloned tex instructions. | Eric Anholt | |