summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915
Commit message (Collapse)AuthorAgeFilesLines
* i915: Set bit field of length 1 light_twoside to unsigned.Vinson Lee2010-01-301-1/+1
|
* tgsi: add caps for fragment coord conventions (v3)Luca Barbieri2010-01-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in v3: - Renumber caps to accomodate caps to add to master in the meantime - Document caps - Add unsupported caps to *_screen.c too Changes in v2: - Split for properties patch - Use positive caps instead of negative caps This adds 4 caps to indicate support of each of the fragment coord conventions. All drivers are also modifed to add the appropriate caps. Some drivers were incorrectly using non-Gallium-default conventions, and caps for them have them set so that they will behave correctly after the later state tracker patches. This drivers are softpipe/llvmpipe (uses integer rather than half integer) and pre-nv50 Nouveau (uses lower left rather than upper left). Other drivers might be broken. With this patchset, fixing them is only a matter of exposing the appropriate caps that match the behavior of the existing code. Drivers are encouraged to support all conventions themselves for better performance, and this feature is added to softpipe in a later patch.
* Merge commit 'origin/perrtblend'Roland Scheidegger2010-01-281-14/+14
|\ | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_screen.c src/gallium/include/pipe/p_defines.h
| * i915g: adapt to blend changesRoland Scheidegger2010-01-251-14/+14
| |
* | gallium: Enable multiple constant buffers for vertex and geometry shaders.Michal Krol2010-01-281-1/+1
| |
* | i915g: Remove unnecessary headers.Vinson Lee2010-01-262-3/+0
| |
* | Merge branch 'mesa_7_7_branch'Brian Paul2010-01-229-15/+0
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c src/gallium/auxiliary/pipebuffer/Makefile src/gallium/auxiliary/pipebuffer/SConscript src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/tgsi/tgsi_scan.c src/gallium/drivers/i915/i915_surface.c src/gallium/drivers/i915/i915_texture.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/softpipe/sp_prim_vbuf.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/winsys/drm/intel/gem/intel_drm_api.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_drm.c src/gallium/winsys/drm/vmware/core/vmw_screen_dri.c src/mesa/state_tracker/st_cb_clear.c
| * i915g: Remove unnecessary header.Vinson Lee2010-01-211-1/+0
| |
| * i915g: Remove unnecessary headers.Vinson Lee2010-01-199-17/+0
| |
* | Merge branch 'gallium-noconstbuf'Roland Scheidegger2010-01-152-7/+8
|\ \ | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c src/mesa/state_tracker/st_draw_feedback.c
| * | gallium: remove const qualifier from pipe_buffer argument in set_constant_bufferRoland Scheidegger2010-01-111-1/+1
| | |
| * | gallium: adapt drivers to pipe_constant_buffer removalRoland Scheidegger2009-12-242-7/+8
| | |
* | | gallium: remove PIPE_TEX_FILTER_ANISOLuca Barbieri2010-01-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes PIPE_TEX_FILTER_ANISO. Anisotropic filtering is enabled if and only if max_anisotropy > 1.0. Values between 0.0 and 1.0, inclusive, of max_anisotropy are to be considered equivalent, and meaning to turn off anisotropic filtering. This approach has the small drawback of eliminating the possibility of enabling anisotropic filter on either minification or magnification separately, which Radeon hardware seems to support, is currently support by Gallium but not exposed to OpenGL. If this is actually useful it could be handled by splitting max_anisotropy in two values and adding an appropriate OpenGL extension. NOTE: some fiddling & reformatting by keithw to get this patch to apply. Hopefully nothing broken in the process.
* | | Merge commit 'origin/gallium-draw-retval'Keith Whitwell2010-01-051-10/+8
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/identity/id_context.c
| * | | gallium: propogate draw retval changes into more driversKeith Whitwell2009-12-211-10/+8
| | | |
* | | | Merge branch 'mesa_7_7_branch'Brian Paul2009-12-312-2/+3
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
| * | | i915g: Silence unused variable warning.Vinson Lee2009-12-271-0/+1
| | | |
| * | | Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_network.c src/gallium/auxiliary/util/u_network.h src/gallium/drivers/i915/i915_state.c src/gallium/drivers/trace/tr_rbug.c src/gallium/state_trackers/vega/bezier.c src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/xlib/xlib_brw_context.c src/mesa/main/mtypes.h
* | | | gallium: add geometry shader support to galliumZack Rusin2009-12-252-6/+6
| |_|/ |/| |
* | | Merge branch 'gallium-edgeflags'Roland Scheidegger2009-12-221-7/+0
|\ \ \ | |_|/ |/| | | | | | | | Conflicts: src/mesa/state_tracker/st_draw.c
| * | gallium: fix up drivers for edgeflag changesRoland Scheidegger2009-12-191-7/+0
| | | | | | | | | | | | | | | several drivers which chose to ignore edgeflags might require some more work, while edgeflags never worked there they might now crash.
* | | Move the remaining format pf_get_* functions to u_format.h.Michal Krol2009-12-172-46/+48
|/ / | | | | | | | | Previously they depended on format blocks, but after removing those they started depending on format encoding.
* | Merge branch 'gallium-noblocks'Roland Scheidegger2009-12-042-82/+64
|\ \ | | | | | | | | | | | | Conflicts: src/gallium/state_trackers/xorg/xorg_exa.c
| * | gallium: adapt drivers to interface cleanupsRoland Scheidegger2009-12-022-82/+64
| | |
* | | Merge commit 'origin/tgsi-simplify-ext'Keith Whitwell2009-12-011-76/+75
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_vs.c
| * | | tgsi: rename fields of tgsi_full_src_register to reduce verbosityKeith Whitwell2009-11-241-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | SrcRegister -> Register SrcRegisterInd -> Indirect SrcRegisterDim -> Dimension SrcRegisterDimInd -> DimIndirect
| * | | tgsi: rename fields of tgsi_full_dst_register to reduce verbosityKeith Whitwell2009-11-241-5/+5
| | | | | | | | | | | | | | | | | | | | DstRegister -> Register DstRegisterInd -> Indirect
| * | | tgsi: rename fields of tgsi_full_declaration to reduce verbosityKeith Whitwell2009-11-241-4/+4
| | | | | | | | | | | | | | | | DeclarationRange -> Range
| * | | tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosityKeith Whitwell2009-11-241-58/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | InstructionPredicate -> Predicate InstructionLabel -> Label InstructionTexture -> Texture FullSrcRegisters -> Src FullDstRegisters -> Dst
| * | | gallium: try and update r300 and nv drivers for tgsi changesKeith Whitwell2009-11-241-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It would be nice if these drivers built under the linux-debug header so that these types of interface changes can be minimally propogated into those drivers by people without the hardware. They don't have to generate a working driver -- though a command-dumping winsys would be an excellent for regression checking.
| * | | gallium: simplify tgsi tokens furtherKeith Whitwell2009-11-241-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop anonymous 'Extended' fields, have every optional token named explicitly in its parent. Eg. there is now an Instruction.Label flag, etc. Drop destination modifiers and other functionality which cannot be generated by tgsi_ureg.c, which is now the primary way of creating shaders. Pull source modifiers into the source register token, drop the second negate flag. The source register token is now full - if we need to expand it, probably best to move all of the modifiers to a new token and have a single flag for it.
* | | i915: Update for renamed sampler/texture state setters.Michal Krol2009-12-011-2/+2
| |/ |/|
* | Merge branch 'width0'Roland Scheidegger2009-11-272-52/+46
|\ \ | |/ |/| | | | | | | | | Conflicts: src/gallium/drivers/r300/r300_texture.c src/gallium/state_trackers/xorg/xorg_exa.c src/mesa/state_tracker/st_cb_texture.c
| * gallium: don't use arrays for texture width,height,depthKeith Whitwell2009-11-192-52/+46
| |
* | i915g: Add missing break statement in i915_debug.c.Vinson Lee2009-11-201-0/+1
| |
* | i915g: replace //-style commentsBrian Paul2009-11-171-2/+4
| |
* | i915g: remove trailing commas in enum lists to silence warningsBrian Paul2009-11-171-3/+3
|/
* i915g: Fix memory leak when pci id is unknown.Vinson Lee2009-11-101-0/+1
|
* i915g: Fix comment in is buffer referencedJakob Bornecrantz2009-11-071-7/+3
|
* gallium: remove extended negate also, and also the ExtSwz tokenKeith Whitwell2009-10-231-11/+2
| | | | | | Likewise, the extended negate functionality hasn't been used since mesa switched to using tgsi_ureg to build programs, and has been translating the SWZ opcode internally to a single MAD.
* gallium: remove the swizzling parts of ExtSwizzleKeith Whitwell2009-10-231-15/+5
| | | | | | | | | These haven't been used by the mesa state tracker since the conversion to tgsi_ureg, and it seems that none of the other state trackers are using it either. This helps simplify one of the biggest suprises when starting off with TGSI shaders.
* i915g: Fix warningsJakob Bornecrantz2009-10-142-2/+2
|
* i915g: Fix MSVC build.Vinson Lee2009-10-071-1/+1
|
* i915g: Use buffer write instead of map for lit verticesJakob Bornecrantz2009-10-071-2/+37
|
* i915g: Change order of buffer_write argumentsJakob Bornecrantz2009-10-071-3/+3
| | | | | | They now follow the pipe_buffer_write style, its the gallium driver that sets the interface not the winsys.
* i915g: Disable vbuf fifo and minor commenting of vbuf codeJakob Bornecrantz2009-10-071-11/+26
| | | | | The vbuf fifo doesn't appear to help once the libdrm reuse flag has been set.
* i915g: Tweek vertexbuffer sizeJakob Bornecrantz2009-10-061-4/+4
|
* i915g: Drop the simple sufixJakob Bornecrantz2009-10-0535-0/+10485
None of the other driver have a silly sufix, so just drop it. Nothing new added in this commit or any other commit but this is better marketing.