Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-09-09 | glsl/builtins: normalize of a negative scalar should be -1.0. | Kenneth Graunke | |
2010-09-09 | mesa: Only reference logging symbols in debug builds | Kristian Høgsberg | |
2010-09-09 | mesa: Don't reuse DummyFramebuffer as the incomplete framebuffer | Kristian Høgsberg | |
Binding framebuffer 0 on a context that doesn't have a winsys drawable will try to bind the incomplete framebuffer. That fails when that's also the dummy framebuffer. | |||
2010-09-09 | glapi: Fix non-debug builds | Jakob Bornecrantz | |
2010-09-09 | st/dri: support EGL_MESA_image_drm: queryImage | ben | |
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com> | |||
2010-09-09 | st/dri: support EGL_MESA_image_drm: createImage | ben | |
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com> | |||
2010-09-09 | eglglx: Convert glx visuals/fbconfigs straight to EGL configs | Kristian Høgsberg | |
In other words, skip the __GLcontextModes middle man. | |||
2010-09-09 | egl: Remove old egldri driver | Kristian Høgsberg | |
This driver doesn't work with any of the DRI drivers in the source tree. | |||
2010-09-09 | nv50: fix can_load check for 3rd source | Christoph Bumiller | |
2010-09-09 | nv50: address regs are 16 bit | Christoph Bumiller | |
2010-09-09 | nv50: duplicate interps in load_proj_tex_coords | Christoph Bumiller | |
Otherwise we might clobber the origin interpolation result or use the result of the RCP before its definition. | |||
2010-09-09 | nv50: create value references with the right type | Christoph Bumiller | |
Since atm our OPs aren't typed but instead values are, we need to take care if they're used as different types (e.g. a load makes a value u32 by default). Maybe this should be changed (also to match TGSI), but it should work as well if done properly. | |||
2010-09-09 | nv50: use actual loads/stores if TEMPs are accessed indirectly | Christoph Bumiller | |
2010-09-09 | nv50: don't parse again in tgsi_2_nc | Christoph Bumiller | |
2010-09-09 | nv50: prepare for having multiple functions | Christoph Bumiller | |
At some point we'll want to support real subroutines instead of just inlining them into the main shader. Since recursive calls are forbidden, we can just save all used registers to a fixed local memory region and restore them on a return, no need for a stack pointer. | |||
2010-09-09 | nv50: save tgsi instructions | Christoph Bumiller | |
2010-09-09 | glapi: Implement optional dispatch logging | Kristian Høgsberg | |
There's a useful feature buried in glapi to log all API calls to stderr. Unfortunately it requires editing the code and then it's enabled unconditionally for that build. This patch builds in API logging for debug builds and makes it run-time switchable by setting MESA_DEBUG=dispatch. | |||
2010-09-09 | glx: Optimize out no-op make current calls | Kristian Høgsberg | |
This make a lot more sense now that we might have to recreate the glx drawables for legacy code paths. | |||
2010-09-10 | egl: Use _EGL_CHECK_DISPLAY in eglCreateContext. | Chia-I Wu | |
_EGL_CHECK_DISPLAY checks the display and returns from eglCreateContext on error. | |||
2010-09-10 | egl: Display may be NULL in _eglLookup*. | Chia-I Wu | |
This fixes several NULL dereferences. | |||
2010-09-09 | llvmpipe: remove redundant tgsi_dup_tokens() call | Brian Paul | |
We were calling this twice so the first allocation was orphaned/leaked. | |||
2010-09-09 | dri/nouveau: Expose EXT_texture_env_combine. | Francisco Jerez | |
2010-09-09 | dri/nv10-nv20: Add support for NV_texture_env_combine4. | Francisco Jerez | |
2010-09-09 | dri/nv04: Add support for NV_texture_env_combine4. | Francisco Jerez | |
2010-09-09 | dri/nouveau: Minor cleanup. | Francisco Jerez | |
2010-09-09 | glx: Fix another use-after-free problem | Kristian Høgsberg | |
2010-09-09 | r600: add TXL instruction and note about TXB | Andre Maasikas | |
2010-09-09 | r600: remove depth exports move, just set to output x <- z in the export ↵ | Andre Maasikas | |
intruction | |||
2010-09-09 | r600: protect cleanup instructions from double free | Andre Maasikas | |
We might get the cleanup when we have not translated the shader yet e.g 2 programstringnotifys in a row | |||
2010-09-09 | r600: remove mask from output intructions | Andre Maasikas | |
in case of relative addressing we never get to know which comps were really written. | |||
2010-09-09 | r600: allow relative addressing of temps, inputs, outputs | Andre Maasikas | |
2010-09-09 | r600: handle LIT writemask | Andre Maasikas | |
2010-09-09 | r600: fix rsq from negative input | Andre Maasikas | |
arbfp specifies rsq of abs value | |||
2010-09-08 | glsl: add several EmitNo* options, and MaxUnrollIterations | Luca Barbieri | |
This increases the chance that GLSL programs will actually work. Note that continues and returns are not yet lowered, so linking will just fail if not supported. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-09-08 | glsl: make compiler options per-target | Luca Barbieri | |
This allows us to specify different options, especially useful for chips without unified shaders. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-09-08 | mesa: add PIPE_SHADER_* like constants and conversions to/from enums (v2) | Luca Barbieri | |
Changes in v2: - No longer adds tessellation enums | |||
2010-09-08 | glsl: Add info about talloc and optimization passes to the README. | Eric Anholt | |
2010-09-08 | glsl: Update README talking about multi-instruction operations. | Eric Anholt | |
The previous thing taking multiple instructions ended up being handled at the IR level, as we suggested would be the common result. Pick a new one. | |||
2010-09-08 | glx: Destroy pixmap after destroying glx and dri drawables | Kristian Høgsberg | |
Now that we suppress BadDrawable from DRI2DestroyDrawable, this doesn't matter, but we would get that error before when destroying pbuffers. | |||
2010-09-08 | glsl/builtins: Set the API in the fake context. | Kenneth Graunke | |
Otherwise it gets used uninitialized. | |||
2010-09-08 | glsl2: Clear out profile pointers in _mesa_glsl_release_functions | Ian Romanick | |
Otherwise builtin_profiles contains dangling pointers the next time _mesa_read_profile is called. I suspect this may fix bugzilla #29847, but I was never able to reproduce it. | |||
2010-09-08 | mesa: Refactor parameter processing in set_combiner_(operand|source) | Ian Romanick | |
The enum values were chosen to have sequential values for a reason. Use that to compact and simplify the code. | |||
2010-09-08 | mesa: Fix handling of texenv operands for EXT vs ARB version | Ian Romanick | |
GL_EXT_texture_env_combine has slightly more restrictive limits on the valid sources for some operands. This wasn't caught before because almost every driver in Mesa that supports the EXT version also supports the ARB version. Inspired by a patch posted the the mesa-dev mailing list by Andrew Randrianasulu. | |||
2010-09-08 | glx: Ignore DRI2 event for drawables we've destroyed | Kristian Høgsberg | |
Since we now actually destroy GLX drawables, we get into situations where we get events for drawables that no longer exist. Just ignore the event in that case. | |||
2010-09-08 | glx: Fix use after free problem | Kristian Høgsberg | |
2010-09-08 | glsl: Fix for scalar float built-in definitions. | Kenneth Graunke | |
These need abs, and we need more tests. | |||
2010-09-08 | glsl: regenerate builtins | Eric Anholt | |
2010-09-08 | glsl: Fix typo in builtin step() using a wrong channel. | Eric Anholt | |
2010-09-08 | ir_validate: Ensure ir_binop_dot is only used on vector types. | Kenneth Graunke | |
2010-09-08 | glsl: Refresh automatically generated file builtin_function.cpp. | Kenneth Graunke | |