Christoph Bumiller [Sat, 5 May 2012 11:28:19 +0000 (13:28 +0200)]
nouveau: fix nouveau_scratch_runout_release bo count underflow
Jordan Justen [Tue, 1 May 2012 07:01:08 +0000 (00:01 -0700)]
mesa: Add primitive restart support to glArrayElement
When primitive restart is enabled, and glArrayElement is called
with the restart index value, then call glPrimitiveRestartNV.
NOTE: This is a candidate for the 8.0 branch.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Brian Paul<brianp@vmware.com>
Baldo Davide [Sat, 5 May 2012 03:50:19 +0000 (04:50 +0100)]
auxiliary/os: Add missing signal.h include.
The signal.h include was missed in the commit
bc16c73407d11bb6702cf7de9925bfaeb80a5272 which leads to broken
compilations under Linux.
Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
Kenneth Graunke [Mon, 5 Mar 2012 21:54:29 +0000 (13:54 -0800)]
intel: Remove pointless software fallback for glBitmap on Gen6.
We already have a meta path below that works just fine; no apparent
regressions in oglconform.
NOTE: This is a candidate for the 8.0 branch.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46834
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Eric Anholt [Tue, 24 Apr 2012 00:24:13 +0000 (17:24 -0700)]
glsl: Fix regression in function out-parameter lvalue detection.
When doing the var->assigned change in
f2475ca424f7e001be50f64dafa5700f6603d684, I overzealously indented the
second block of code into the "if (var)" test. Revert these blocks to
the way they were before, just taking advantage of "var" to avoid
re-calling variable_referenced().
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49066
Eric Anholt [Tue, 24 Apr 2012 00:12:04 +0000 (17:12 -0700)]
mesa: Prevent buffer underrun when handling MESA_GL_EXTENSION_OVERRIDE.
Eric Anholt [Mon, 23 Apr 2012 23:48:09 +0000 (16:48 -0700)]
i965/fs: Fix regression in comparison handling from ANDs change.
I had fixed up the logic ops for delayed ANDing, but not equality
comparisons on bools. Fixes new piglit fs-bool-less-compare-true.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48629
Eric Anholt [Mon, 23 Apr 2012 23:10:12 +0000 (16:10 -0700)]
glsl: Don't consider unused FS out variables as being statically assigned.
I only considered var->assigned for FragColor and FragData, but
ignored when it was false for out vars. Fixes piglit
write-gl_FragColor-and-not-user-output.frag
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=49068
Eric Anholt [Mon, 23 Apr 2012 16:46:15 +0000 (09:46 -0700)]
i965: Add a comment about the state flag for sRGBEnabled.
I thought this might be _NEW_COLOR, but it isn't.
Eric Anholt [Mon, 23 Apr 2012 21:14:11 +0000 (14:14 -0700)]
intel: Return success when asked to allocate a 0-width/height renderbuffer.
It seems silly that GL lets you allocate these given that they're
framebuffer attachment incomplete, but the webgl conformance tests
actually go looking to see if the getters on 0-width/height
depth/stencil renderbuffers return good values. By failing out here,
they all got smashed to 0, which turned out to be correct for all the
getters they tested except for GL_RENDERBUFFER_INTERNAL_FORMAT. Now,
by succeeding but not making a miptree, that one also returns the
expected value.
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Eric Anholt [Wed, 25 Apr 2012 21:59:25 +0000 (14:59 -0700)]
glsl: Always copy the index when cloning a variable.
The index is also used for GL_ARB_blend_func_extended. Cloning in
i965 was dropping a non-ARB_explicit_attrib_location index.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Eric Anholt [Wed, 25 Apr 2012 20:19:28 +0000 (13:19 -0700)]
i965: Add support for GL_ARB_draw_buffers_blend.
Tested with piglit fbo-draw-buffers-blend and intel oglconform.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Christoph Bumiller [Fri, 4 May 2012 15:40:33 +0000 (17:40 +0200)]
nv50: fix typo causing NULL-deref in nv50_resource_resolve
Introduced in
b328949a37fee7b0f68ed3e068ffc4426c083042.
Christoph Bumiller [Fri, 4 May 2012 16:00:40 +0000 (18:00 +0200)]
nv50/ir: move expansion of IMUL to later stage and handle memory operands
Christoph Bumiller [Thu, 3 May 2012 10:50:08 +0000 (12:50 +0200)]
nv50: implement stream output
Christoph Bumiller [Tue, 24 Apr 2012 21:21:41 +0000 (23:21 +0200)]
nv50: enable array textures
Brian Paul [Mon, 30 Apr 2012 22:01:08 +0000 (16:01 -0600)]
svga: specify 4-byte aligned vertex elements
We haven't found a case where this is needed, but it would be prudent
for some hosts, per Jose.
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Brian Paul [Thu, 3 May 2012 23:00:37 +0000 (17:00 -0600)]
gallivm: fix comment typo
Brian Paul [Tue, 1 May 2012 21:49:31 +0000 (15:49 -0600)]
docs: another viewperf bug
Brian Paul [Tue, 1 May 2012 20:46:04 +0000 (14:46 -0600)]
mesa: do more teximage error checking for generic compressed formats
When glTexImage or glCopyTexImage is called with internalFormat being a
generic compressed format (like GL_COMPRESSED_RGB) we need to do the same
error checks as for specific compressed formats. In particular, check if
the texture target is compatible with the format. None of the texture
compression formats we support so far work with GL_TEXTURE_1D, for example.
See also https://bugs.freedesktop.org/show_bug.cgi?id=49124
NOTE: This is a candidate for the 8.0 branch.
Vinson Lee [Tue, 1 May 2012 01:57:38 +0000 (18:57 -0700)]
scons: Do not build EGL on Solaris.
The current EGL headers do not support Solaris.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Jeremy Huddleston [Sun, 29 Apr 2012 06:19:42 +0000 (23:19 -0700)]
darwin: Use ASL for logging
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Jeremy Huddleston [Sat, 28 Apr 2012 23:50:00 +0000 (16:50 -0700)]
darwin: Make reported errors more user-friendly
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Jeremy Huddleston [Sun, 29 Apr 2012 07:27:03 +0000 (00:27 -0700)]
darwin: Fix an error message
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Robert Hooker [Wed, 2 May 2012 23:04:57 +0000 (19:04 -0400)]
egl_dri2: Fix out of tree builds with the wayland backend enabled
Otherwise it fails like so:
CC egl_dri2.lo
In file included from egl_dri2.h:40:0,
from egl_dri2.c:42:
../../../../../../src/egl/wayland/wayland-drm/wayland-drm.h:8:41:
fatal error: wayland-drm-server-protocol.h: No such file or directory
compilation terminated.
Kristian Høgsberg [Wed, 2 May 2012 19:30:13 +0000 (15:30 -0400)]
gbm: Add gbm_bo_write entry point
This new gbm entry point allows writing data into a gbm bo. The bo has
to be created with the GBM_BO_USE_WRITE flag, and it's only required to
work for GBM_BO_USE_CURSOR_64X64 bos.
The gbm API is designed to be the glue layer between EGL and KMS, but there
was never a mechanism initialize a buffer suitable for use with KMS
hw cursors. The hw cursor bo is typically not compatible with anything EGL
can render to, and thus there's no way to get data into such a bo.
gbm_bo_write() fills that gap while staying out of the efficient
cpu->gpu pixel transfer business.
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Tom Stellard [Mon, 30 Apr 2012 14:18:41 +0000 (10:18 -0400)]
r600g/llvm: Mask write of pred_inst in llvm_if()
Tom Stellard [Fri, 27 Apr 2012 20:22:58 +0000 (16:22 -0400)]
r600g/llvm: Lower ULT A, B, C to SETGT_UINT A, C, B
Tom Stellard [Fri, 27 Apr 2012 19:26:30 +0000 (15:26 -0400)]
r600g: Print integer values of literal constants in shader dumps
Tom Stellard [Fri, 27 Apr 2012 19:15:19 +0000 (15:15 -0400)]
r600g: Add support for reading BREAK_LOGICALZ_i32 from bytestream
Tom Stellard [Tue, 24 Apr 2012 17:31:07 +0000 (13:31 -0400)]
r600g/llvm: Don't duplicate R600 intrinsics installed by LLVM
At this point, in order for OpenCL to work correctly with r600g, OpenCL
specific intrinsics need to be defined in the LLVM tree. So, we need
to check for these intrinsics in the LLVM include directory to make sure
not to re-define them.
Tom Stellard [Wed, 2 May 2012 18:51:04 +0000 (14:51 -0400)]
r600g: Fix the evergreen offset/end register definitions
Dylan Noblesmith [Mon, 2 Apr 2012 16:26:05 +0000 (16:26 +0000)]
glsl: report errors via GL_ARB_debug_output
Reviewed-by: Brian Paul <brianp@vmware.com>
Dylan Noblesmith [Mon, 2 Apr 2012 16:14:31 +0000 (16:14 +0000)]
glsl: add gl_context member
Reviewed-by: Brian Paul <brianp@vmware.com>
Dylan Noblesmith [Mon, 2 Apr 2012 16:11:11 +0000 (16:11 +0000)]
mesa: add _mesa_shader_debug()
This should be the one entrypoint libglsl needs
for GL_ARB_debug_output.
v2: added comments.
Reviewed-by: Brian Paul <brianp@vmware.com>
Dylan Noblesmith [Mon, 2 Apr 2012 15:39:38 +0000 (15:39 +0000)]
glsl: consolidate error/warning code
And lay the groundwork for GL_ARB_debug_output.
v2: Add descriptive comments.
Reviewed-by: Brian Paul <brianp@vmware.com>
Tom Stellard [Wed, 2 May 2012 15:53:13 +0000 (11:53 -0400)]
radeon/llvm: Fix MachineInstr dump
Adam Rak [Tue, 17 Apr 2012 19:56:02 +0000 (15:56 -0400)]
r600g: fixed the bug with VTX fetches in TEX clauses for evergreen
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
Tom Stellard [Tue, 20 Mar 2012 17:33:37 +0000 (13:33 -0400)]
winsys/radeon: Get max_pipes from the kernel
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
Tom Stellard [Wed, 29 Feb 2012 21:37:53 +0000 (16:37 -0500)]
r600g: Add support for reading vertex fetches from bytestream
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
Tom Stellard [Mon, 27 Feb 2012 20:47:34 +0000 (15:47 -0500)]
r600g: Add support for reading native instructions from the LLVM bytestream
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
Tom Stellard [Mon, 27 Feb 2012 20:42:48 +0000 (15:42 -0500)]
r600g: Add FC_NATIVE instruction
This is a pseudo instruction that enables the LLVM backend to encode
instructions and pass it through r600_bytecode_build()
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
Dave Airlie [Sun, 22 Apr 2012 19:51:43 +0000 (20:51 +0100)]
r600g: bypass alpha for integer types (v2)
This moves the alpha test control to derived state and disables alpha
testing for integer fbs.
fbo-blending test in piglit gets further when we do this (not a pass
but less fail).
v2: drop the fb_sx_alpha_test_control
Signed-off-by: Dave Airlie <airlied@redhat.com>
José Fonseca [Wed, 25 Apr 2012 15:35:05 +0000 (16:35 +0100)]
gallivm: Use debug_printf in lp_build_printf.
So that its output can be seen on GUI window apps.
Tested-by: James Benton <jbenton@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
José Fonseca [Thu, 23 Feb 2012 09:48:08 +0000 (09:48 +0000)]
gallivm: Avoid LLVMAddGlobalMapping() in lp_bld_assert().
Brittle, complex, and unecesary. Just use function pointer constant.
José Fonseca [Thu, 23 Feb 2012 09:21:26 +0000 (09:21 +0000)]
gallivm: Add a lp_build_const_func_pointer() helper.
To be reused in all places where we want to call C code.
José Fonseca [Thu, 23 Feb 2012 09:44:41 +0000 (09:44 +0000)]
gallivm: Cleanup/simplify lp_build_const_string_variable.
- Move to lp_bld_const where it belongs
- Rename to lp_build_const_string
- take the length from the argument (and don't count the zero terminator twice)
- bitcast the constant to generic i8 *
James Benton [Wed, 25 Apr 2012 10:19:07 +0000 (11:19 +0100)]
gallivm: Added lp_build_const_mask_aos_swizzled
Allows the creation of const aos masks which have the mask swizzled
to match the correct format.
Updated existing mask creation code to use the swizzled version where
necessary (tgsi register masks and llvmpipe aos blending).
Signed-off-by: José Fonseca <jfonseca@vmware.com>
José Fonseca [Wed, 25 Apr 2012 14:49:45 +0000 (15:49 +0100)]
gallivm: Move loop var declaration to beginning of scope.
James Benton [Thu, 19 Apr 2012 17:13:14 +0000 (18:13 +0100)]
gallivm: added a debug function which allows llvm to print vectors of 16 unsigned ints
This is useful for debugging the linear llvm path as it handles pixels in this format
Signed-off-by: José Fonseca <jfonseca@vmware.com>
James Benton [Thu, 19 Apr 2012 17:13:13 +0000 (18:13 +0100)]
llvmpipe: add masking support to aos blend
Signed-off-by: José Fonseca <jfonseca@vmware.com>
James Benton [Wed, 25 Apr 2012 10:19:06 +0000 (11:19 +0100)]
llvmpipe: Check when a shader does not satisfy 0 < imm < 1.
Signed-off-by: José Fonseca <jfonseca@vmware.com>
James Benton [Tue, 1 May 2012 15:56:30 +0000 (16:56 +0100)]
gallivm: fixed memory leak in lp_build_tgsi_aos
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
James Benton [Wed, 18 Apr 2012 14:25:34 +0000 (15:25 +0100)]
llvmpipe: Added support for color masks in AoS blending.
Signed-off-by: José Fonseca <jfonseca@vmware.com>
James Benton [Thu, 19 Apr 2012 12:13:17 +0000 (13:13 +0100)]
gallivm: added aligned pointer get/set
James Benton [Thu, 19 Apr 2012 12:02:57 +0000 (13:02 +0100)]
gallivm: llvm c-style for loops, allows us to create loops with conditions on entry, rather than condition check on loop
Viktor Novotný [Tue, 1 May 2012 13:23:51 +0000 (15:23 +0200)]
dri/nv10-nv20: Add support for S3TC
Signed-off-by: Viktor Novotný <noviktor@seznam.cz>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Viktor Novotný [Tue, 1 May 2012 13:23:50 +0000 (15:23 +0200)]
dri/nouveau: Add general support for compressed formats.
Signed-off-by: Viktor Novotný <noviktor@seznam.cz>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Kenneth Graunke [Tue, 1 May 2012 21:46:12 +0000 (14:46 -0700)]
glsl: Remove some completed tasks from the old "TODO" file.
Tom Stellard [Tue, 1 May 2012 20:40:53 +0000 (16:40 -0400)]
radeon/llvm: Fix build for updated LLVM 3.1 release branch
Brian Paul [Wed, 25 Apr 2012 16:50:06 +0000 (10:50 -0600)]
softpipe: use any_swizzle() helper in sp_tex_sample.c
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Brian Paul [Wed, 25 Apr 2012 16:46:09 +0000 (10:46 -0600)]
softpipe: whitespace, comment clean-ups in sp_tex_sample.c
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Brian Paul [Wed, 25 Apr 2012 16:42:42 +0000 (10:42 -0600)]
softpipe: implement coord clamping for texel fetches (TXF)
The GL spec says out of bounds fetches produce undefined results.
Use clamping to avoid failed assertions or crashes.
Fixes failed assertion in https://bugs.freedesktop.org/show_bug.cgi?id=49125
but the test still fails.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Brian Paul [Fri, 20 Apr 2012 13:58:59 +0000 (07:58 -0600)]
xlib: use _mesa_is_winsys/user_fbo() helpers
Reviewed-by: Eric Anholt <eric@anholt.net>
Brian Paul [Fri, 20 Apr 2012 13:58:59 +0000 (07:58 -0600)]
intel: use _mesa_is_winsys/user_fbo() helpers
Reviewed-by: Eric Anholt <eric@anholt.net>
Brian Paul [Fri, 20 Apr 2012 13:58:59 +0000 (07:58 -0600)]
nouveau: use _mesa_is_winsys/user_fbo() helpers
Reviewed-by: Eric Anholt <eric@anholt.net>
Brian Paul [Fri, 20 Apr 2012 13:58:59 +0000 (07:58 -0600)]
radeon: use _mesa_is_winsys/user_fbo() helpers
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Tom Stellard [Tue, 1 May 2012 17:08:26 +0000 (13:08 -0400)]
radeon/llvm: Add subtarget feature: DumpCode
With this feature enabled, the LLVM backend will dump the MachineIntrs
prior to emitting code. The mesa env variable R600_DUMP_SHADERS will enable
this feature in the backend.
Vinson Lee [Mon, 30 Apr 2012 07:57:56 +0000 (00:57 -0700)]
glsl: Initialize member variable in ir_copy_propagation_elements_visitor.
Fix uninitialized scalar field defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Dragomir Ivanov [Sat, 28 Apr 2012 19:02:48 +0000 (22:02 +0300)]
r600g/llvm: Remove unnecessary dynamic casts
When the result of dynamic_cast is not checked, it can be replaced with
static_cast
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
Dragomir Ivanov [Sun, 29 Apr 2012 18:25:23 +0000 (21:25 +0300)]
r600g/llvm: Add pattern for llvm.AMDGPU.kill v2
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
Tom Stellard [Mon, 30 Apr 2012 20:11:27 +0000 (16:11 -0400)]
r600g/llvm: Fix handling of MASK_WRITE instructions
We can't delete MASK_WRITE instructions from the program, because this
will cause instructions being masked by MASK_WRITE to be marked dead and
then deleted in the dce pass.
Tom Stellard [Mon, 30 Apr 2012 20:10:47 +0000 (16:10 -0400)]
radeon/llvm: Use a custom emit function for TGSI_OPCODE_KIL
Sean V Kelley [Tue, 24 Apr 2012 14:49:10 +0000 (07:49 -0700)]
i965: Support Android RGBX8888 format for EGL generated images
Enabled MESA_FORMAT_RGBX8888_REV for RGBX. Android software
requires RGBX8888 format to be supported for software rendering.
That requires EGL to be capable of generating images from this
format.
Signed-off-by: Sean V Kelley <sean.v.kelley@linux.intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Sean V Kelley [Tue, 24 Apr 2012 14:49:09 +0000 (07:49 -0700)]
egl/android: Add support for RGBX_8888 used in Android native buffers
Add new format __DRI_IMAGE_FORMAT_XBGR8888 to __DRI_IMAGE.
HAL_PIXEL_FORMAT_RGBX_8888 now maps to __DRI_IMAGE_FORMAT_XBGR8888.
Signed-off-by: Sean V Kelley <sean.v.kelley@linux.intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
David Herrmann [Sun, 29 Apr 2012 09:53:16 +0000 (11:53 +0200)]
egl-fbdev: Fix compile-error by including errno.h
We use errno and EINVAL so include errno.h.
This patch introduced this bug:
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/state_trackers/egl/fbdev/native_fbdev.c?id=
b60120608f6ddf4098bc324363197c979ee04cb7
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Cc: Chia-I Wu <olv@lunarg.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Adam Jackson <ajax@redhat.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Ander Conselvan de Oliveira [Mon, 30 Apr 2012 09:32:45 +0000 (12:32 +0300)]
intel: set dri_format field for all images
Only images created with intel_create_image() had the field properly
set. Set it also on intel_dup_image(), intel_create_image_from_name()
and intel_create_image_from_renderbuffer().
Ander Conselvan de Oliveira [Thu, 26 Apr 2012 13:21:19 +0000 (16:21 +0300)]
intel: properly return the image format on intel_query_image
Ander Conselvan de Oliveira [Mon, 30 Apr 2012 10:27:53 +0000 (13:27 +0300)]
gbm: add gbm_bo_get_device() function
Ander Conselvan de Oliveira [Mon, 30 Apr 2012 10:27:52 +0000 (13:27 +0300)]
gbm: update documentation to reflect current behavior
Ander Conselvan de Oliveira [Mon, 30 Apr 2012 10:27:51 +0000 (13:27 +0300)]
gbm: add gbm_bo_get/set_user_data()
This allows the user to associate some data to a gbm_bo and get a
callback when the bo is destroyed.
Ander Conselvan de Oliveira [Mon, 30 Apr 2012 10:27:50 +0000 (13:27 +0300)]
gbm: remove unused fields from gbm_dri_surface
Brian Paul [Mon, 30 Apr 2012 16:37:33 +0000 (10:37 -0600)]
svga: add cases for recently added PIPE_CAP queries
Dylan Noblesmith [Sun, 29 Apr 2012 13:23:53 +0000 (13:23 +0000)]
mesa: reject immutable textures in glEGLImageTargetTexture2DOES()
GL_ARB_texture_storage says:
The commands eglBindTexImage, wglBindTexImageARB, glXBindTexImageEXT or
EGLImageTargetTexture2DOES are not permitted on an immutable-format
texture.
They will generate the following errors:
- EGLImageTargetTexture2DOES: INVALID_OPERATION
- eglBindTexImage: EGL_BAD_MATCH
- wglBindTexImage: ERROR_INVALID_OPERATION
- glXBindTexImageEXT: BadMatch
Fixing the EGL and GLX cases requires extending the DRI interface,
since setTexBuffer2 doesn't currently return any error information.
Reviewed-by: Brian Paul <brianp@vmware.com>
José Fonseca [Mon, 30 Apr 2012 06:47:01 +0000 (07:47 +0100)]
scons: Fix build without llvm.
radeonsi depends on llvm, so it must be disabled if llvm support is not enabled.
José Fonseca [Sun, 29 Apr 2012 20:44:05 +0000 (21:44 +0100)]
scons: Parse = operator in source lists too.
Should fix the scons build.
Christoph Bumiller [Sun, 29 Apr 2012 13:38:20 +0000 (15:38 +0200)]
nv50,nvc0: fix depth/stencil resolve
Cannot sample depth/stencil with a single view, and needed to use
different shader code for nve4.
Christoph Bumiller [Sun, 29 Apr 2012 15:43:46 +0000 (17:43 +0200)]
nvc0/ir/opt: INTERP does not support JOIN
Christoph Bumiller [Sat, 28 Apr 2012 15:06:59 +0000 (17:06 +0200)]
nv50/ir/opt: try to convert ABS(SUB) to SAD
Christoph Bumiller [Fri, 27 Apr 2012 21:27:34 +0000 (23:27 +0200)]
nvc0/ir: try to use the optimal texture op mode
Don't really know what they are yet but for groups of textures, the
last one should use mode "p" and the others "t".
Christoph Bumiller [Sun, 29 Apr 2012 15:59:06 +0000 (17:59 +0200)]
nvc0/ir: initial implementation of nve4 scheduling hints
Christoph Bumiller [Sun, 29 Apr 2012 15:56:57 +0000 (17:56 +0200)]
nvc0/ir: implement better placement of texture barriers
Put them before first uses instead of right after the texturing
instruction and cull unnecessary barriers.
Christoph Bumiller [Sun, 29 Apr 2012 15:36:34 +0000 (17:36 +0200)]
nv50/ir/tgsi: fix handling of early RET
We have to actually emit RET, too, of course, not just the PRERET.
Christoph Bumiller [Sat, 28 Apr 2012 16:04:05 +0000 (18:04 +0200)]
nvc0/ir/emit: fix emitTXQ 2nd src
Christoph Bumiller [Sat, 28 Apr 2012 12:45:05 +0000 (14:45 +0200)]
nvc0/ir/target: integer ADD doesn't support ABS modifier
Marek Olšák [Sun, 29 Apr 2012 15:41:37 +0000 (17:41 +0200)]
u_vbuf: unbind vertex buffers on destroy
Marek Olšák [Sun, 29 Apr 2012 15:31:27 +0000 (17:31 +0200)]
u_blitter: fix resource leak
Marek Olšák [Thu, 26 Apr 2012 10:12:33 +0000 (12:12 +0200)]
radeonsi: make r600_buffer_transfer_unmap a no-op
It's a no-op already in the winsys.
Marek Olšák [Thu, 26 Apr 2012 10:11:12 +0000 (12:11 +0200)]
r600g: make r600_buffer_transfer_unmap a no-op
It's a no-op already in the winsys.
Marek Olšák [Thu, 26 Apr 2012 10:10:06 +0000 (12:10 +0200)]
r300g: make r300_buffer_transfer_unmap a no-op
It's a no-op already in the winsys.