summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2012-05-03r600g/llvm: Mask write of pred_inst in llvm_if()Tom Stellard1-0/+1
2012-05-03r600g/llvm: Lower ULT A, B, C to SETGT_UINT A, C, BTom Stellard1-0/+7
2012-05-03r600g: Print integer values of literal constants in shader dumpsTom Stellard1-1/+2
2012-05-03r600g: Add support for reading BREAK_LOGICALZ_i32 from bytestreamTom Stellard2-0/+5
2012-05-03r600g/llvm: Don't duplicate R600 intrinsics installed by LLVMTom Stellard4-0/+26
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.
2012-05-02r600g: Fix the evergreen offset/end register definitionsTom Stellard1-9/+5
2012-05-02glsl: report errors via GL_ARB_debug_outputDylan Noblesmith3-0/+21
Reviewed-by: Brian Paul <brianp@vmware.com>
2012-05-02glsl: add gl_context memberDylan Noblesmith2-2/+4
Reviewed-by: Brian Paul <brianp@vmware.com>
2012-05-02mesa: add _mesa_shader_debug()Dylan Noblesmith2-0/+46
This should be the one entrypoint libglsl needs for GL_ARB_debug_output. v2: added comments. Reviewed-by: Brian Paul <brianp@vmware.com>
2012-05-02glsl: consolidate error/warning codeDylan Noblesmith1-14/+23
And lay the groundwork for GL_ARB_debug_output. v2: Add descriptive comments. Reviewed-by: Brian Paul <brianp@vmware.com>
2012-05-02radeon/llvm: Fix MachineInstr dumpTom Stellard2-8/+9
2012-05-02r600g: fixed the bug with VTX fetches in TEX clauses for evergreenAdam Rak1-7/+6
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
2012-05-02winsys/radeon: Get max_pipes from the kernelTom Stellard2-0/+11
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
2012-05-02r600g: Add support for reading vertex fetches from bytestreamTom Stellard1-0/+37
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
2012-05-02r600g: Add support for reading native instructions from the LLVM bytestreamTom Stellard1-0/+10
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
2012-05-02r600g: Add FC_NATIVE instructionTom Stellard3-0/+20
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>
2012-05-02r600g: bypass alpha for integer types (v2)Dave Airlie4-2/+18
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>
2012-05-02gallivm: Use debug_printf in lp_build_printf.José Fonseca1-6/+9
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>
2012-05-02gallivm: Avoid LLVMAddGlobalMapping() in lp_bld_assert().José Fonseca2-26/+16
Brittle, complex, and unecesary. Just use function pointer constant.
2012-05-02gallivm: Add a lp_build_const_func_pointer() helper.José Fonseca3-15/+44
To be reused in all places where we want to call C code.
2012-05-02gallivm: Cleanup/simplify lp_build_const_string_variable.José Fonseca5-29/+29
- 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 *
2012-05-02gallivm: Added lp_build_const_mask_aos_swizzledJames Benton4-11/+31
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>
2012-05-02gallivm: Move loop var declaration to beginning of scope.José Fonseca1-1/+3
2012-05-02gallivm: added a debug function which allows llvm to print vectors of 16 ↵James Benton2-0/+29
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>
2012-05-02llvmpipe: add masking support to aos blendJames Benton3-6/+35
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2012-05-02llvmpipe: Check when a shader does not satisfy 0 < imm < 1.James Benton2-2/+11
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2012-05-02gallivm: fixed memory leak in lp_build_tgsi_aosJames Benton1-0/+1
Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2012-05-02llvmpipe: Added support for color masks in AoS blending.James Benton5-33/+71
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2012-05-02gallivm: added aligned pointer get/setJames Benton4-0/+81
2012-05-02gallivm: llvm c-style for loops, allows us to create loops with conditions ↵James Benton2-0/+94
on entry, rather than condition check on loop
2012-05-02dri/nv10-nv20: Add support for S3TCViktor Novotný4-0/+28
Signed-off-by: Viktor Novotný <noviktor@seznam.cz> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2012-05-02dri/nouveau: Add general support for compressed formats.Viktor Novotný4-33/+138
Signed-off-by: Viktor Novotný <noviktor@seznam.cz> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2012-05-01glsl: Remove some completed tasks from the old "TODO" file.Kenneth Graunke1-13/+1
2012-05-01radeon/llvm: Fix build for updated LLVM 3.1 release branchTom Stellard2-18/+18
2012-05-01softpipe: use any_swizzle() helper in sp_tex_sample.cBrian Paul1-8/+15
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2012-05-01softpipe: whitespace, comment clean-ups in sp_tex_sample.cBrian Paul1-26/+32
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2012-05-01softpipe: implement coord clamping for texel fetches (TXF)Brian Paul1-14/+31
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>
2012-05-01xlib: use _mesa_is_winsys/user_fbo() helpersBrian Paul1-5/+6
Reviewed-by: Eric Anholt <eric@anholt.net>
2012-05-01intel: use _mesa_is_winsys/user_fbo() helpersBrian Paul16-32/+48
Reviewed-by: Eric Anholt <eric@anholt.net>
2012-05-01nouveau: use _mesa_is_winsys/user_fbo() helpersBrian Paul3-3/+7
Reviewed-by: Eric Anholt <eric@anholt.net>
2012-05-01radeon: use _mesa_is_winsys/user_fbo() helpersBrian Paul4-10/+14
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2012-05-01radeon/llvm: Add subtarget feature: DumpCodeTom Stellard5-6/+9
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.
2012-04-30glsl: Initialize member variable in ir_copy_propagation_elements_visitor.Vinson Lee1-0/+1
Fix uninitialized scalar field defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Eric Anholt <eric@anholt.net>
2012-04-30r600g/llvm: Remove unnecessary dynamic castsDragomir Ivanov1-5/+5
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>
2012-04-30r600g/llvm: Add pattern for llvm.AMDGPU.kill v2Dragomir Ivanov2-1/+6
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
2012-04-30r600g/llvm: Fix handling of MASK_WRITE instructionsTom Stellard2-1/+3
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.
2012-04-30radeon/llvm: Use a custom emit function for TGSI_OPCODE_KILTom Stellard1-1/+16
2012-04-30i965: Support Android RGBX8888 format for EGL generated imagesSean V Kelley2-0/+12
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>
2012-04-30egl/android: Add support for RGBX_8888 used in Android native buffersSean V Kelley1-0/+2
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>
2012-04-30egl-fbdev: Fix compile-error by including errno.hDavid Herrmann1-0/+1
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>