summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)AuthorFilesLines
2014-06-06nvc0: don't bother trying to set up compute for gk110+Ilia Mirkin1-3/+3
The nouveau fw currently prints a bunch of errors. No point in seeing those all the time, esp since compute doesn't really work in the first place. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ben Skeggs <bskeggs@redhat.com> Cc: "10.2" <mesa-stable@lists.freedesktop.org>
2014-06-06gk110: add in forgotten code for gk110 isaIlia Mirkin1-0/+13
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ben Skeggs <bskeggs@redhat.com> Cc: "10.2" <mesa-stable@lists.freedesktop.org>
2014-06-06gk110/ir: emit texbar the same way that the blob doesIlia Mirkin1-1/+1
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ben Skeggs <bskeggs@redhat.com> Cc: "10.2" <mesa-stable@lists.freedesktop.org>
2014-06-05i915g: Remove 4444 and 5551 formatsStéphane Marchesin2-4/+2
They don't seem to work 100%, I need to investigate but in the meantime let's remove them.
2014-06-06nvc0/ir: Handle OP_POPCNT when folding constant expressionsTobias Klausmann1-0/+13
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> [imirkin: make sure to only fold 1-arg popcnt in opnd] Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
2014-06-06nvc0/ir: Handle OP_BFIND when folding constant expressionsTobias Klausmann1-0/+17
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
2014-06-06nvc0/ir: Handle reverse subop for OP_EXTBF when folding constant expressionsTobias Klausmann1-2/+6
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
2014-06-06nv50/ir: clear subop when folding constant expressionsTobias Klausmann1-0/+1
Some operations (e.g. OP_MUL/OP_MAD/OP_EXTBF) might have a subop set. After folding, make sure that it is cleared Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
2014-06-04st/omx/enc: enable b framesLeo Liu2-3/+5
Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
2014-06-04radeon/vce: implement h264 profile supportLeo Liu1-1/+4
Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
2014-06-04st/omx/enc: implement h264 profile supportLeo Liu2-2/+49
Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
2014-06-04vl: add more avc profilesLeo Liu2-1/+9
Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
2014-06-04wgl: Disable CRT message boxes when Windows system error messages boxes are ↵José Fonseca3-0/+43
disabled. At least on MSVC we statically link against the CRT, so we must disable the CRT message boxes if we want unattended testing. The messages are convenient when running manually, so let them be if the system error message boxes are not disabled.
2014-06-03r600g,radeonsi: don't use hardware MSAA resolve if dst is fast-clearedMarek Olšák2-2/+4
It doesn't work and our docs say so too. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2014-06-03radeonsi: BlitFramebuffer should follow render conditionMarek Olšák1-5/+6
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2014-06-03r600g: BlitFramebuffer should follow render conditionMarek Olšák1-5/+6
2014-06-03r300g: BlitFramebuffer should follow render conditionMarek Olšák1-3/+4
2014-06-03r600g,radeonsi: disable fast clear if render condition is onMarek Olšák1-0/+3
For some reason, CP DMA doesn't follow the predicate bit if I enable it, so this is the only option. This fixes piglit: spec/NV_conditional_render/clear Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2014-06-02radeonsi: enable ARB_sample_shadingMarek Olšák1-1/+1
2014-06-02radeonsi: implement SAMPLEMASK fragment shader outputMarek Olšák1-3/+15
2014-06-02radeonsi: interpolate varyings at sample when full sample shading is enabledMarek Olšák3-12/+15
2014-06-02radeonsi: implement SAMPLEPOS fragment shader inputMarek Olšák5-0/+76
The sample positions are read from a constant buffer.
2014-06-02radeonsi: implement SAMPLEID fragment shader inputMarek Olšák1-1/+17
2014-06-02radeonsi: implement set_min_samplesMarek Olšák4-2/+36
This is how per-sample shading is enabled.
2014-06-02radeon: add basic register setup for per-sample shadingMarek Olšák4-9/+13
Only for Cayman, SI, CIK.
2014-06-02radeon: split cayman_emit_msaa_state into 2 functionsMarek Olšák4-14/+22
The other function will be split up from the framebuffer state.
2014-06-02r600g: use TGSI_PROPERTY to disable viewport and clippingChristoph Bumiller9-9/+72
v2 get rid of magic value, use DEFINES v3 update clip_disable together with vs_position_window_space Big thanks to Marek Olšák! Signed-off-by: David Heidelberger <david.heidelberger@ixit.cz> Signed-off-by: Marek Olšák <marek.olsak@amd.com>
2014-06-02gallium: create TGSI_PROPERTY to disable viewport and clippingChristoph Bumiller19-1/+49
Marek v2: add a cap Signed-off-by: Marek Olšák <marek.olsak@amd.com>
2014-06-02r600g: remove assert on draw with count == 0Christoph Bumiller1-1/+0
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
2014-06-02r600g: HW bug workaround for TGSI_OPCODE_BREAKCChristoph Bumiller3-4/+22
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
2014-06-02r600g: implement TGSI_OPCODE_BREAKCChristoph Bumiller1-1/+24
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
2014-06-02r600g: support all channels of TGSI_FILE_ADDRESSChristoph Bumiller1-28/+58
It's allowed in SM3. v2: fix multi-component tgsi_r600_arl (FLT_TO_INT is trans-only) Signed-off-by: Marek Olšák <marek.olsak@amd.com>
2014-06-02r600g: check for PIPE_BIND_BLENDABLE in is_format_supportedChristoph Bumiller2-0/+18
v2: added !util_format_is_depth_or_stencil(format) Signed-off-by: Marek Olšák <marek.olsak@amd.com>
2014-06-02r600g: handle PIPE_QUERY_GPU_FINISHEDChristoph Bumiller1-0/+9
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
2014-05-31llvmpipe: (trivial) drop "unswizzled" from some function namesRoland Scheidegger2-28/+30
This made sense when swizzled storage layout was used for rendering to tiles. But nowadays the name just adds confusion (and makes for long lines). Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2014-05-31llvmpipe: fix crash when not all attachments are populated in a fbRoland Scheidegger1-3/+9
Framebuffers can have NULL attachments since a while. llvmpipe handled that properly for lp_rast_shade_quads_mask but it seems the change didn't make it to lp_rast_shade_tile. This fixes piglit fbo-drawbuffers-none test (though I need to increase the FB_SIZE from 32 to 256 so the tris cover some tiles fully). https://bugs.freedesktop.org/show_bug.cgi?id=79421 Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2014-05-31softpipe: honor the render_condition_enable bit in blits.Roland Scheidegger1-0/+3
Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2014-05-31llvmpipe: honor the render_condition_enable bit in blits.Roland Scheidegger1-0/+3
This fixes piglit nv_conditional_render-blitframebuffer. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2014-05-31gallium/docs: improve documentation of render condition wrt blits.Roland Scheidegger2-5/+9
Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2014-05-31svga: use svga_shader_too_large() in compile_vs()Brian Paul1-8/+36
And rework the dummy shader code to match the fragment shader case. Reviewed-by: José Fonseca <jfonseca@vmware.com>
2014-05-31svga: use svga_shader_too_large() in compile_fs()Brian Paul1-3/+1
Reviewed-by: José Fonseca <jfonseca@vmware.com>
2014-05-31svga: added svga_shader_too_large() helperBrian Paul1-0/+21
To check if a shader bytcode exceeds the device limit. There's no limit when using GBS. Reviewed-by: José Fonseca <jfonseca@vmware.com>
2014-05-30util: Do not use __builtin_clrsb with Intel C++ Compiler.Vinson Lee1-1/+1
This patch fixes this build error with icc 14.0.2. In file included from state_tracker/st_glsl_to_tgsi.cpp(63): ../../src/gallium/auxiliary/util/u_math.h(583): error: identifier "__builtin_clrsb" is undefined return 31 - __builtin_clrsb(i); ^ Signed-off-by: Vinson Lee <vlee@freedesktop.org>
2014-05-30st/wgl: use _debug_printf() instead of fprintf()Brian Paul1-7/+3
This should print output both for debug and release builds. Suggested by Jose. Reviewed-by: José Fonseca <jfonseca@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>
2014-05-30st/wgl: formatting fixes in stw_framebuffer.cBrian Paul1-82/+70
And remove some unneeded #includes and INLINE qualifiers. Reviewed-by: Charmaine Lee <charmainel@vmware.com>
2014-05-30st/wgl: make stw_lookup_context_locked() an inline functionBrian Paul2-15/+9
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
2014-05-30st/wgl: fix implementation of wglCreateContextAttribsARB()Brian Paul3-22/+136
wglCreateContextAttribsARB() didn't work previously since it returned a context ID that wasn't allocated by OPENGL32.DLL. So if that context ID was later passed to wglMakeCurrent(), etc. it was rejected. Now when wglCreateContextAttribsARB() is called we actually call wglCreateContext() in order to get a valid context ID. Then we replace the context data which was created with new context data which reflects the arguments passed to wglCreateContextAttribsARB(). If there were a DrvCreateContextAttribs() function in the ICD this work-around wouldn't be necessary. Reviewed-by: Charmaine Lee <charmainel@vmware.com> Conflicts: src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c src/gallium/state_trackers/wgl/stw_getprocaddress.c
2014-05-30st/wgl: add debug code to check that pixel format initialization workedBrian Paul1-3/+9
If the assertion fails, it means something is really broken. Before, if this happened we reverted to the GDI renderer without any warning. Reviewed-by: Matthew McClure <mcclurem@vmware.com>
2014-05-30st/wgl: change PFD_SWAP_COPY to PFD_SWAP_EXCHANGE.Brian Paul1-1/+1
To reflect our actual SwapBuffers implementation. See stw_st_swap_framebuffer_locked(). This fixes various rendering issues with SolidEdge. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
2014-05-29st/egl: do not link against libloaderEmil Velikov1-1/+0
Move the link to the final targets, like any other place in mesa/gallium. This allows better visibilty and will prevent us from including the library archive twice. Resolves multiple definition of `loader_get_pci_id_for_fd' multiple definition of `loader_get_pci_id_for_fd' Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79263 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79382 Cc: Chia-I Wu <olv@lunarg.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Chia-I Wu <olv@lunarg.com> Tested-by: Michel Dänzer <michel.daenzer@amd.com>