Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix crashes when some GLX API entrypoints are called with no current context. | Michel Dänzer | 2010-09-07 | 1 | -5/+5 |
| | | | | | | | | | I was hitting this with gliv. The GLX spec explicitly mentions that glXWaitX, glXWaitGL and glXUseXFont calls are ignored when there's no current context. Not sure what if anything the GLX_EXT_texture_from_pixmap spec says about this, but I think ignoring the calls makes more sense than crashing there as well. :) | ||||
* | i965: Don't bother with RNDZ for f2i. | Eric Anholt | 2010-09-07 | 1 | -1/+1 |
| | | | | | The default type conversion for MOV should be fine, and RNDZ actually requires two instructions. | ||||
* | i965: Add some validation on BRW_OPCODE_MUL and ADD's arguments. | Eric Anholt | 2010-09-07 | 1 | -2/+57 |
| | | | | | Now that we're playing with other types in brw_fs.cpp, it's easy to trip over issues like these. | ||||
* | i965: Add assertion for another requirement about types. | Eric Anholt | 2010-09-07 | 1 | -1/+13 |
| | | | | This catches a failure in the FS backend. | ||||
* | i965: Align the start of attribute interp coefficients in FS to use PLN. | Eric Anholt | 2010-09-07 | 1 | -0/+8 |
| | |||||
* | i965: Just assert when we flagged a compile error in the FS for now. | Eric Anholt | 2010-09-07 | 1 | -3/+5 |
| | | | | | | Dumping back to potentially 16-wide dispatch doesn't really work out at the moment, and hopefully I'll just be able to resolve all the failures so we never have to do this at all. | ||||
* | i965: Clean up fs_reg setup by using a helper for constructors. | Eric Anholt | 2010-09-07 | 1 | -27/+16 |
| | |||||
* | i965: When using the new FS backend, don't validate the Mesa IR version. | Eric Anholt | 2010-09-07 | 1 | -0/+16 |
| | |||||
* | i965: Add a bit of validation for some ISA restrictions in the docs. | Eric Anholt | 2010-09-07 | 1 | -0/+70 |
| | |||||
* | i965: set the source width/stride when handling reladdr dests in the VS. | Eric Anholt | 2010-09-07 | 1 | -0/+6 |
| | | | | | This is a requirement specified in the docs. No behavior change in glsl-vs-varying-array.shader_test that violated these requirements. | ||||
* | Make XF86VIDMODE extension optional | Jon TURNEY | 2010-09-07 | 2 | -1/+7 |
| | | | | | | | | | | | | | | Code in glx/glxcmds.c which uses the XF86VIDMODE extension is already guarded. Also use that guard to control inclusion of the xf86vmode.h header, and only enable that guard if the XF86VIDMODE extension is found by pkgconfig. This changes the behaviour on platforms which XF86VIDMODE exists, in that XF86VIDMODE used to be mandatory, but is now optional. Presumably other build systems are already arranging for -DXF86VIDMODE to be supplied to the complier when glxcmds.c is compiled, so are not affected by this change Signed-off-by: Jon TURNEY <[email protected]> | ||||
* | glx: Drop unused dri2proto.h include | Kristian Høgsberg | 2010-09-07 | 1 | -1/+0 |
| | |||||
* | glx: Move dpy and scr fields out of direct rendering conditional | Kristian Høgsberg | 2010-09-07 | 1 | -3/+3 |
| | | | | | | | Nothing direct rendering specific about these fields. Moving them out makes no-direct-rendering compilation work again. Signed-off-by: Kristian Høgsberg <[email protected]> | ||||
* | Some fixes for GLX_INDIRECT_RENDERING only build | Jon TURNEY | 2010-09-07 | 3 | -5/+9 |
| | | | | | | | This fixes some of the build issues with GLX_INDIRECT_RENDERING but !GLX_DIRECT_RENDERING due to recent changes. Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Kristian Høgsberg <[email protected]> | ||||
* | dri: Make it a little clearer that we're not dereferencing a NULL pointer | nobled | 2010-09-07 | 1 | -1/+2 |
| | |||||
* | dri: Use the right type for the API token | nobled | 2010-09-07 | 1 | -1/+3 |
| | | | | | Pass mesa_api to CreateContext, and abort early if the requested API isn't recognized. | ||||
* | libgl-xlib: Fix --enable-gallium-llvm build. | Chia-I Wu | 2010-09-07 | 1 | -1/+9 |
| | | | | Check MESA_LLVM and link to LLVM as other targets do. | ||||
* | llvmpipe: Add lp_rast_debug.c to Makefile. | Chia-I Wu | 2010-09-07 | 1 | -0/+1 |
| | |||||
* | glx: Only clear the stored context tag when the context has been unbound | Jon TURNEY | 2010-09-07 | 1 | -5/+8 |
| | | | | | | | | | | | | | | The calling order of ->bind and ->unbind changed and then ->unbind would clear the currentContextTag of the old context before ->bind could reuse it in the make current request, in the indirect case. Instead, clear the old currentContextTag if and only if we send a request to the server to actually unbind it or reassign it to another context. https://bugs.freedesktop.org/show_bug.cgi?id=29977 Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Kristian Høgsberg <[email protected]> | ||||
* | llvmpipe: Refactor lp_scene_add_resource_reference | José Fonseca | 2010-09-07 | 1 | -14/+15 |
| | | | | Less goto spaghetti. | ||||
* | llvmpipe: Fix negated logic in lp_scene_add_resource_reference(). | José Fonseca | 2010-09-07 | 1 | -1/+1 |
| | | | | Fixes performance regression. | ||||
* | llvmpipe: move more coef setup into lp_setup_coef.c | Keith Whitwell | 2010-09-07 | 4 | -40/+61 |
| | |||||
* | llvmpipe: declare fence handle struct | Keith Whitwell | 2010-09-07 | 1 | -0/+1 |
| | |||||
* | llvmpipe: rasterization debugging helpers | Keith Whitwell | 2010-09-07 | 7 | -0/+428 |
| | |||||
* | llvmpipe: use opcodes instead of function pointers in bins | Keith Whitwell | 2010-09-07 | 15 | -441/+513 |
| | | | | Also, move some state from rasterizer struct to the scene. | ||||
* | llvmpipe: rearrange queries | Keith Whitwell | 2010-09-07 | 4 | -116/+53 |
| | |||||
* | llvmpipe: enforce fixed memory limit on scenes | Keith Whitwell | 2010-09-07 | 11 | -341/+459 |
| | |||||
* | llvmpipe: clean up deferred zstencil clears | Keith Whitwell | 2010-09-07 | 6 | -79/+41 |
| | |||||
* | llvmpipe: rework fences and queries | Keith Whitwell | 2010-09-07 | 7 | -92/+124 |
| | |||||
* | llvmpipe: move whole-tile emit into a function | Keith Whitwell | 2010-09-07 | 2 | -8/+42 |
| | |||||
* | llvmpipe: put fs variant dumping in a function | Keith Whitwell | 2010-09-07 | 2 | -4/+15 |
| | |||||
* | Replace reference to tgsi-instruction-set.txt. | Tilman Sauerbeck | 2010-09-07 | 1 | -1/+1 |
| | | | | | | That file has been replaced by tgsi.rst. Signed-off-by: José Fonseca <[email protected]> | ||||
* | nouveau: restore nouveau_class.h for nv04-nv20 | Luca Barbieri | 2010-09-07 | 1 | -1/+4953 |
| | | | | | Sorry, I deleted the Gallium copy without realizing that the DRI one was just a symlink to it. | ||||
* | nvfx: fix return in vp main | Luca Barbieri | 2010-09-06 | 1 | -17/+39 |
| | |||||
* | mesa: Define C99's __func__ macro on MSVC. | José Fonseca | 2010-09-06 | 1 | -0/+12 |
| | |||||
* | r600g: add error print for no literals for r700s as well | Dave Airlie | 2010-09-06 | 1 | -0/+3 |
| | |||||
* | r600g: fixup r700 assembler for clamp/relative addressing | Dave Airlie | 2010-09-06 | 1 | -13/+18 |
| | |||||
* | r600g: add script to generate header file with offsets into state objects. | Dave Airlie | 2010-09-06 | 3 | -412/+564 |
| | | | | | | | | This was inherently fragile as any changes to r600_states.h would also need manual updating of all of the bits in radeon.h. Just add a simple python script to do the conversion, its not hooked up to make at all. This also will make adding evergreen a bit easier. | ||||
* | r600g: fix up surface references | Dave Airlie | 2010-09-06 | 1 | -4/+2 |
| | | | | | We end up referencing the new surf and derefing the old surface which is a copy of the pointer to the new surf. So just bump the ref count directly. | ||||
* | r600g: search for sampler views in context on removal. | Dave Airlie | 2010-09-06 | 1 | -0/+17 |
| | | | | Need to remove from context as well. | ||||
* | r600g: add missing printf operand | Dave Airlie | 2010-09-06 | 1 | -1/+1 |
| | |||||
* | nvfx: support nv30 simulation on nv40 | Luca Barbieri | 2010-09-05 | 7 | -32/+50 |
| | |||||
* | radeon: Add radeon_buffer_objects.c. | Henri Verbeet | 2010-09-05 | 1 | -0/+1 |
| | |||||
* | r200: Add radeon_buffer_objects.c. | Henri Verbeet | 2010-09-05 | 3 | -0/+3 |
| | |||||
* | radeon: Make do_blit_readpixels() into a PBO work. | Henri Verbeet | 2010-09-05 | 1 | -11/+31 |
| | |||||
* | mesa: don't smash the stack in _mesa_find_used_registers | Luca Barbieri | 2010-09-05 | 1 | -2/+6 |
| | | | | | | At some point this actually triggered, not sure if it still does. Give a meaningful assert and refuse to smash the stack anyway. | ||||
* | mesa: don't expose unsupported GL_ARB_geometry_shader4 for now | Luca Barbieri | 2010-09-05 | 1 | -1/+2 |
| | | | | | | | The new GLSL compiler doesn't support it. Advertising it prevents Unigine Heaven from working, since it attempts to use it. | ||||
* | nouveau: delete nouveau_class.h, move nv50 regs to nv50_reg.h | Luca Barbieri | 2010-09-05 | 4 | -9050/+1775 |
| | | | | | | | nv50 should switch to rules-ng-ng too at some point. The classic Mesa Nouveau driver also includes a copy of nouveau_class.h, and should convert to rules-ng-ng too and remove it. | ||||
* | nvfx: move nv04_2d to rules-ng-ng | Luca Barbieri | 2010-09-05 | 3 | -17/+1518 |
| | |||||
* | nvfx: switch to rules-ng-ng register headers | Luca Barbieri | 2010-09-05 | 18 | -334/+2587 |
| | | | | | | | | | | This is the new register generation toolkit in use by nouveau. As far as I know, this is the best register description toolkit in existence, and you should use it too for your hardware :) Thanks to Marcin Kościelnicki for inventing it and performing invaluable reverse engineering work of nVidia chips. |