Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-20 | glsl2: Add definitions of the builtin constants present in GLSL 1.10. | Eric Anholt | |
Fixes: glsl1-built-in constants | |||
2010-07-20 | glsl2: Fix asin() implementation. | Eric Anholt | |
I'd flipped around the order of two operations in paren-balancing adventures, and left out the multiply by sign(x) required for negative x. Fixes: glsl1-acos(vec4) function glsl1-asin(vec4) function glsl1-atan(vec4) function | |||
2010-07-20 | r600g: split trans unit computation | Jerome Glisse | |
Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-20 | glsl2: notEqual() produces a boolean value, not the base type of the args. | Eric Anholt | |
Fixes: glsl1-vector relational (bvec2 ==,!=) glsl1-vector relational (vec4 !=) | |||
2010-07-20 | glsl2: Constant-fold assignment conditions. | Eric Anholt | |
2010-07-20 | glsl2: Don't validate IR if there were compilation errors | Ian Romanick | |
2010-07-20 | ir_to_mesa: Fix swizzled writemasks with swapped component ordering. | Eric Anholt | |
I hadn't noticed you could do this, but glsl1 tests caught it. Fixes: glsl1-Swizzled writemask glsl1-Swizzled writemask (2) glsl1-Swizzled writemask (rgba) glsl1-Swizzled writemask (stpq) | |||
2010-07-20 | st/mesa: implement and advertise GL_ARB_draw_elements_base_vertex | Marek Olšák | |
Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-07-20 | draw: correctly handle max_index=0xffffffff case in vcache code | Brian Paul | |
If max_index=0xffffffff and elt_bias > 0 the test for elt_bias + max_index >= DRAW_PIPE_MAX_VERTICES was wrong. Check earlier if max_index=0xffffffff and do the "fail" case. This fixes the piglit draw-elements-base-vertex test (and probably some other things). | |||
2010-07-20 | st/mesa: implement depth texture modes | Marek Olšák | |
2010-07-20 | mesa: call ctx->Driver.ChooseTextureFormat() only when necessary. | Brian Paul | |
When defining mipmap level 'L' and level L-1 exists and the new level's internalFormat matches level L-1's internalFormat, then use the same hw format. Otherwise, do the regular ctx->Driver.ChooseTextureFormat() call. This avoids a problem where we end up choosing different hw formats for different mipmap levels depending on how the levels are defined (glTexImage vs. glCopyTexImage vs. glGenerateMipmap, etc). The root problem is the ChooseTextureFormat() implementation in some drivers uses the user's glTexImage format/type parameters in the choosing heuristic. Later mipmap levels might be generated with different calls (ex: glCopyTexImage()) so we don't always have format/type info and the driver may choose a different format. For more background info see the July 2010 mesa-dev thread "Bug in _mesa_meta_GenerateMipmap" | |||
2010-07-20 | graw/tests: pass -e option to test draw_elements_instanced() | Brian Paul | |
2010-07-20 | softpipe: Support non-depth-stencil formats in sp_tile_cache_flush_clear(). | Michal Krol | |
2010-07-20 | glx: #ifdef DRI specific prototype | Kristian Høgsberg | |
https://bugs.freedesktop.org/show_bug.cgi?id=29162 | |||
2010-07-20 | glx/dri2: Fix dri2CopySubBuffer() again. | Michel Dänzer | |
Only refresh the fake front buffer if there is one, and only destroy the region once. Fixes X11 protocol errors reported by 'mcgreg' on IRC. | |||
2010-07-20 | util: mempool: initialize last block's magic number in a page | Marek Olšák | |
2010-07-20 | st/egl: Fixes for recent GLX cleanup. | Chia-I Wu | |
Mainly, the type of __GLXdisplayPrivateRec::screenConfigs has changed from "__GLXscreenConfigs *" to "__GLXscreenConfigs **". | |||
2010-07-20 | st/dri: Remove driFrameTrackingExtension. | Chia-I Wu | |
The extension has been removed in 22266c391fbe17603b15a83d4ccf5fa9455ccf8d. | |||
2010-07-19 | glx: Move DRI CopySubBuffer extension to DRI1 code | Kristian Høgsberg | |
We do this in the X server for DRI2. | |||
2010-07-19 | glx: Move driver_configs to DRI screen privates | Kristian Høgsberg | |
2010-07-19 | glx: Move drawHash to display private | Kristian Høgsberg | |
The XIDs are display wide so the natural location of the hash is here. This way we don't have to lookup in each of the screen hashes. | |||
2010-07-19 | glx: Don't use __glXInitialize() when we might be holding __glXLock() | Kristian Høgsberg | |
2010-07-19 | glx: Workaround mismatch in signedness between extensions and protocol | Kristian Høgsberg | |
The DRI2 protocol for ust, msc and sbc are unsigned but the extensions talk about int64_t. Do a little dance to make the compiler shut up. | |||
2010-07-19 | glx: Move __DRIdrawable pointers to DRI drawable privates | Kristian Høgsberg | |
2010-07-19 | glx: Remove support for MESA_swap_frame_usage | Kristian Høgsberg | |
The extension never worked, the implementation returns GLX_BAD_CONTEXT when enabling the frame tracking. | |||
2010-07-19 | glx: Move __driScreen into the dri screen privates | Kristian Høgsberg | |
2010-07-19 | glx: Move DRI1 specific extensions and code to DRI1 screen private | Kristian Høgsberg | |
2010-07-19 | glx: Move DRI2 extensions to DRI2 screen private | Kristian Høgsberg | |
2010-07-19 | glx: Drop support for GLX_MESA_allocate_memory | Kristian Høgsberg | |
Only r200 implemented it. | |||
2010-07-19 | glx: Add screen privates for dri drivers and moved some fields there | Kristian Høgsberg | |
GLXscreenConfigs is badly named and a dumping ground for a lot of stuff. This patch creates private screen structs for the dri drivers and moves some of their fields over there. | |||
2010-07-19 | glx: Rename various DRI structs away from obnoxious __GLXfooRec convention | Kristian Høgsberg | |
Enough is enough. | |||
2010-07-19 | glx: Factor out common code from dri2WaitGL() and dri2WaitX() | Kristian Høgsberg | |
2010-07-19 | glx: Dont use dri2WaitX() to update fake front | Kristian Høgsberg | |
This saves a superfluous flush and a create/destryo region. | |||
2010-07-19 | i965: Mostly fix glsl-max-varyings. | Eric Anholt | |
There was confusion on both the size of message we can send, and on what the URB destination offset means. The remaining problems appear to be due to spilling of regs in the fragment shader being broken. | |||
2010-07-19 | i965: Clean up message register setup in emit_vertex_write(). | Eric Anholt | |
2010-07-19 | i965: Reduce repeated calculation of the attribute-offset-in-VUE. | Eric Anholt | |
This cleans up some chipset dependency sprinkled around, and fixes a potential overflow of the attribute offset array for many vertex results. | |||
2010-07-19 | i965: Clarify the nr_regs calculation in brw_clip.c | Eric Anholt | |
2010-07-19 | i965: Don't set up VUE space for the disabled user clip distances on gen6. | Eric Anholt | |
2010-07-19 | draw: fix incorrect instancing divisor in LLVM code | Brian Paul | |
2010-07-19 | linker: Remove the FINISHME comment for intrastage linking | Ian Romanick | |
2010-07-19 | linker: Remove redundant check for 'main' in shaders | Ian Romanick | |
This is now handled in link_intrastage_shaders. | |||
2010-07-19 | linker: Track and validate GLSL versions used in shaders | Ian Romanick | |
2010-07-19 | glsl2: Use Elements macro | Ian Romanick | |
2010-07-19 | linker: Recursively resolve function calls in imported functions | Ian Romanick | |
2010-07-19 | linker: look up function signatures during linking instead of using callee | Ian Romanick | |
Instead of using ir_call::callee, search for the signature in the linked shader. This will allow resolving calls from functions imported from other shaders. The ir_call::callee pointer in the imported function will still reference a signature in the original shader. | |||
2010-07-19 | linker: Pull find_matching_signature out of call_link_visitor | Ian Romanick | |
The list of shaders to search needs to be provided as an explicit parameter to support coming changes. At that point there is no reason for it to be in the class. Also, fix some of the 'const' decorators. | |||
2010-07-19 | glsl2: Explicitly walk lists in ir_function::parameter_lists_match | Ian Romanick | |
Give ir_function::parameter_lists_match_exist similar treatment. Make the parameters const, and propogate the constness as far as it will trivially go. | |||
2010-07-19 | linker: Add comment about bug in initializer handling | Ian Romanick | |
2010-07-19 | linker: First bits of intrastage, intershader function linking | Ian Romanick | |
This handles the easy case of linking a function in a different compilation unit that doesn't call any functions or reference any global variables. | |||
2010-07-19 | ir_function_signature: Make actual_parameters public | Ian Romanick | |