Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-07-29 | ir_to_mesa: Don't emit a duplicate return at the end of a function. | Eric Anholt | |
It was harmless, but ugly. | |||
2010-07-29 | glsl2: Allow use of _mesa_print_ir without a parse state on hand. | Eric Anholt | |
2010-07-29 | ir_constant_variable: Don't mark variable from outside our scope as constant. | Eric Anholt | |
Fixes (with software, except for alpha): glsl1-function with early return(3) | |||
2010-07-29 | glsl2: When dumping IR for debug, indent nested blocks. | Eric Anholt | |
No more trying to match parens in my head when looking at the body of a short function containing an if statement. | |||
2010-07-29 | glsl2: When dumping IR for debug, skip all the empty builtin prototypes. | Eric Anholt | |
2010-07-29 | glsl2: Fix spelling of "sentinel." | Eric Anholt | |
2010-07-29 | glsl2: Fix spelling of "initializer." | Eric Anholt | |
2010-07-29 | glsl2: Remove an inlined unvalued return statement. | Eric Anholt | |
We already have asserts that it was the last call in the function, so it's safe to remove after it got cloned in. Fixes: glsl-fs-functions-4. | |||
2010-07-29 | glx: Fix linked list deletion in __glXCloseDisplay() | Kristian Høgsberg | |
I hate single linked lists. | |||
2010-07-29 | intel: Declare the various tracked state variables using "extern" | Kristian Høgsberg | |
2010-07-29 | intel: Don't depend on context config values when picking texture formats | Kristian Høgsberg | |
2010-07-29 | egl_dri2: Set API version for DRM display | Kristian Høgsberg | |
2010-07-29 | r300g/swtcl: fix crash in ETQW and minor fixups | Marek Olšák | |
The Draw flush inside r300_flush was the culprit. Also, no need to flush Draw when changing a state since the flush is already inside swtcl_draw_vbo. | |||
2010-07-29 | r300g/swtcl: fix crash after the draw_vbo merge | Marek Olšák | |
2010-07-29 | llvmpipe: also test the new lp_build_assert() function | Brian Paul | |
2010-07-29 | llvmpipe: don't call LLVMCreateJITCompiler() twice | Brian Paul | |
Fixes a failed assertion with LLVM 2.6: <unnamed>::JITResolver::JITResolver(llvm::JIT&): Assertion `TheJITResolver == 0&& "Multiple JIT resolvers?"' failed. Though, not everyone seems to experience this problem. | |||
2010-07-29 | gallivm: added lp_build_assert() function to make assertions in LLVM code | Brian Paul | |
2010-07-29 | Revert "gallivm: fix lp_build_sample_offset() crash when indexing a 1-D texture" | José Fonseca | |
This reverts commit 5f90e76c54bbf4456c977b3cbca450d7a570179e. Bad cherry-pick. | |||
2010-07-29 | gallivm: fix lp_build_sample_offset() crash when indexing a 1-D texture | Brian Paul | |
If y==NULL and y_stride==NULL it means the texture is 1D. Return zero for out_i and the offset instead of garbage. | |||
2010-07-29 | util: add uint version of pack_z_stencil | Keith Whitwell | |
Useful for packing mask values. | |||
2010-07-29 | scons: Use the current python executable for code generation. | José Fonseca | |
Less susceptible to be broken. | |||
2010-07-29 | draw: Also emit EMMS on generated LLVM IR. | José Fonseca | |
2010-07-29 | llvmpipe: Avoid corrupting the FPU stack with MMX instructions on 32bit OSes. | José Fonseca | |
Unfortunately LLVM doesn't emit EMMS itself, and there is no easy/effective way to disable MMX. http://llvm.org/bugs/show_bug.cgi?id=3287 | |||
2010-07-29 | util: Don't include xmmintrin.h. | José Fonseca | |
Unnecessary. | |||
2010-07-29 | mesa: implement RCC opcode | Brian Paul | |
2010-07-29 | mesa: update table of opcodes used by GLSL | Brian Paul | |
2010-07-29 | r600: since 8744c36e added asserts - use another random register for shader ↵ | Andre Maasikas | |
with no output | |||
2010-07-29 | st/python: Adapt to interface change. | Chia-I Wu | |
This is only compile tested. | |||
2010-07-29 | graw/tests: Use pipe_context::draw_vbo. | Chia-I Wu | |
The other drawing variants such as draw_arrays or draw_elements_instanced were removed. This fixes fdo bug #29287. | |||
2010-07-29 | gallium: Avoid void pointer arithmetic. | Chia-I Wu | |
This fixes fdo bug #29286. | |||
2010-07-28 | mesa: Reduce arrayobj.h header file inclusion. | Vinson Lee | |
Directly include mtypes.h instead of including context.h to include mtypes.h. | |||
2010-07-28 | mesa: Remove unnecessary header. | Vinson Lee | |
2010-07-29 | gallium/docs: Document draw_vbo and set_index_buffer. | Chia-I Wu | |
Document the new unified drawing method and remove references to old ones. | |||
2010-07-29 | gallium: Keep only pipe_context::draw_vbo. | Chia-I Wu | |
That is, remove pipe_context::draw_arrays, pipe_context::draw_elements, pipe_context::draw_arrays_instanced, pipe_context::draw_elements_instanced, pipe_context::draw_range_elements. | |||
2010-07-29 | gallium: Use unified pipe_context::draw_vbo. | Chia-I Wu | |
Update u_draw_quad, st/vega, and st/mesa to use pipe_context::draw_vbo. | |||
2010-07-29 | gallium: Implement draw_vbo and set_index_buffer for all drivers. | Chia-I Wu | |
Some drivers define a generic function that is called by all drawing functions. To implement draw_vbo for such drivers, either draw_vbo calls the generic function or the prototype of the generic function is changed to match draw_vbo. Other drivers have no such generic function. draw_vbo is implemented by calling either draw_arrays and draw_elements. For most drivers, set_index_buffer does not mark the state dirty for tracking. Instead, the index buffer state is emitted whenever draw_vbo is called, just like the case with draw_elements. It surely can be improved. | |||
2010-07-29 | gallium: Add pipe_context::draw_vbo and pipe_context::set_index_buffer. | Chia-I Wu | |
This commit adds a new unified draw_vbo method to pipe_context. Unlike other draw methods, draw_vbo treats the index buffer as a state which is set with set_index_buffer. | |||
2010-07-28 | mesa: Remove unnecessary header. | Vinson Lee | |
2010-07-28 | egl: Fix deref before NULL-check | Kristian Høgsberg | |
2010-07-28 | intel: Implement EGL_KHR_surfaceless extension | Kristian Høgsberg | |
2010-07-28 | egl_dri2: Implement EGL_KHR_surfaceless_* extensions | Kristian Høgsberg | |
2010-07-28 | egl: EGL_KHR_surfaceless_* extensions | Kristian Høgsberg | |
These extensions allow an application to make a context current by passing EGL_NO_SURFACE for the write and read surface in the call to eglMakeCurrent. The motivation is that applications that only want to render to client API targets (such as OpenGL framebuffer objects) should not need to create a throw-away EGL surface just to get a current context. | |||
2010-07-28 | Untangle gallium/egl/glx source sharing mess and make it compile again | Kristian Høgsberg | |
2010-07-28 | glsl2: Actually fix glsl-version-define. | Eric Anholt | |
2010-07-28 | glcpp: Add __VERSION__ define to the current language version. | Eric Anholt | |
Fixes: glsl-version-define glsl-version-define-110 glsl-version-define-120 | |||
2010-07-28 | glcpp: Print integer tokens as decimal, not hex. | Eric Anholt | |
2010-07-28 | glsl2: Make lowp, mediump, highp, and precision identifiers pre-1.20. | Eric Anholt | |
Fixes glsl-precision-110. | |||
2010-07-28 | r600g: state context ptr in sampler_view & add I8/L8 buffer format | Jerome Glisse | |
Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-28 | r600g: switch btw flat/linear interpolation | Jerome Glisse | |
I am not sure how to properly handle flat shading regarding non color parameter to fragment shader. It seems we should still interpolate non color using linear interpolation and flat shade only apply to color. Signed-off-by: Jerome Glisse <jglisse@redhat.com> | |||
2010-07-28 | glsl2/Makefile: Append to DEFINES rather than replacing them. | Kenneth Graunke | |
Otherwise, we lose DEBUG, which causes mtypes.h to set NDEBUG, which causes assertions to not happen, which is no fun for anyone. |