aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/i915_program.c
Commit message (Collapse)AuthorAgeFilesLines
* st/mesa/r200/i915/i965: eliminate gl_fragment_programTimothy Arceri2016-10-261-8/+8
| | | | | | | | | | Here we move OriginUpperLeft and PixelCenterInteger into gl_program all other fields have been replace by shader_info. V2: Don't use anonymous union/structs to hold vertex/fragment fields suggested by Ian. Reviewed-by: Jason Ekstrand <[email protected]>
* i915: replace __FUNCTION__ with __func__Marius Predut2015-04-141-4/+4
| | | | | | | | Consistently just use C99's __func__ everywhere. No functional changes. Acked-by: Matt Turner <[email protected]> Signed-off-by: Marius Predut <[email protected]>
* s/Tungsten Graphics/VMware/José Fonseca2014-01-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the old copyright name is creating unnecessary confusion, hence this change. This was the sed script I used: $ cat tg2vmw.sed # Run as: # # git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed # # Rename copyrights s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./ s/TUNGSTEN GRAPHICS/VMWARE/g # Rename emails s/[email protected]/[email protected]/ s/[email protected]/[email protected]/g s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/ s/jrfonseca\[email protected]/[email protected]/g s/keithw\[email protected]/[email protected]/g s/[email protected]/[email protected]/g s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/ s/[email protected]/[email protected]/ # Remove dead links s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g # C string src/gallium/state_trackers/vega/api_misc.c s/"Tungsten Graphics, Inc"/"VMware, Inc"/ Reviewed-by: Brian Paul <[email protected]>
* intel: Rename INTEL_DEBUG=fall to INTEL_DEBUG=perf.Eric Anholt2012-08-121-1/+1
| | | | | | | | | I want to introduce some more debug output for performance surprises that includes fallbacks, but aren't necessarily software rasterization. Leave INTEL_DEBUG=fall in place for those that have used that flag before. Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* i915: Only emit program errors when INTEL_DEBUG=wm or INTEL_DEBUG=fallbacksIan Romanick2011-08-021-6/+8
| | | | | | | | | | | | This makes piglit a lot more happy. The errors are logged when INTEL_DEBUG=fallbacks because the application is about to hit a big software fallback. We frequently ask people to run applications that are hitting software fallbacks with INTEL_DEBUG=fallbacks so the we can help them debug the reason for the software fallback. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* Revert "i915: Eliminate redundant CONSTANTS updates"Stéphane Marchesin2011-07-071-26/+25
| | | | This reverts commit 87641cffd97f328e846604d314c21582f426a19a.
* i915: Eliminate redundant CONSTANTS updatesChris Wilson2011-02-211-25/+26
| | | | Signed-off-by: Chris Wilson <[email protected]>
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-1/+1
|
* i915: Provide counts in the error messages for program limits.Eric Anholt2010-04-271-7/+15
|
* Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-271-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * i915: Fix assert.Vinson Lee2009-12-261-1/+1
| |
* | i915: Increase maximum program size to the hardware limits.Eric Anholt2009-10-011-2/+6
| | | | | | | | | | | | This fixes potential heap trashing if the program of choice exceeds limits, and fixes the native instructions limit being lower than what can be used by valid programs.
* | i915: Update and translate the fragment program along with state updates.Eric Anholt2009-10-011-2/+0
| | | | | | | | | | | | | | Previously, we were doing it in the midst of the pipeline run, which gave an opportunity to enable/disable fallbacks, which is certainly the wrong time to be doing so. This manifested itself in a NULL dereference for PutRow after transitioning out of a fallback during a run_pipeline in glean glsl1.
* | i915: Bail when the fragment program has too many total instructions.Eric Anholt2009-10-011-0/+10
| | | | | | | | Previously, we'd go trashing the heap.
* | i915: Let i915_program_error take a format string, and don't use _mesa_problem.Eric Anholt2009-10-011-4/+13
|/ | | | | | It's misleading to report things like the program having too many native instructions as a Mesa implementation error, when the program may just be too big for the hardware.
* i915: Texture instructions use r/t/oC/oD register as texture coordinate.Xiang, Haihao2008-10-131-0/+13
| | | | Fix http://bugs.freedesktop.org/show_bug.cgi?id=16287.
* i915: Refine the texture indirect lookup accounting.Eric Anholt2008-10-041-3/+22
| | | | | | | | | | | | | Without this, we would reject programs which sampled multiple times from registers defined in the same phase (block of instructions with the same texture indirection count), as each sample would count as a new phase beginning. Instead, keep track of which phases registers were written in, and only bump phase when we're reading from one generated in this phase. On the other hand, we failed to count oC or oD texture samples as being new phases. Bug #17865.
* mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul2008-09-181-3/+3
| | | | Makefile.template
* i915: Keith Whitwell's swizzling TEX patch. fix #8283Xiang, Haihao2008-01-071-11/+27
|
* Remove leftover code for i915_texprog.c noticed in crossbar review.Eric Anholt2007-09-241-6/+0
|
* Move i915tex driver into place as just i915.Eric Anholt2007-09-241-0/+515
|
* Remove the old i915 driver now that i915tex works without TTM.Eric Anholt2007-09-241-499/+0
|
* Update DRI drivers for new glsl compiler.Brian2007-02-231-6/+6
| | | | | | Mostly: - update #includes - update STATE_* token code
* Call _mesa_problem() from i915_program_error() so we get a nice error message.Brian Paul2006-11-021-4/+1
|
* Fix writemasks on texture arb fp instructions.Alan Hourihane2006-08-181-17/+35
| | | | Cleanup invarient state emission.
* Re-org and clean-up of vertx/fragment program limits (instructions,Brian Paul2005-11-011-0/+18
| | | | | | | temporaries, parameters, etc). glGetProgramivARB() now returns all the right things. Updated i915 and r300 code to initialize program native limits and current program's native instruction/temporary/etc counts.
* use char* instead of GLubyte* in i915_program_error() to silence warningsBrian Paul2005-09-011-1/+1
|
* don't be fooled into emitting padding for wpos when not usedKeith Whitwell2005-05-101-1/+1
|
* add missing license textsKeith Whitwell2004-06-181-0/+20
|
* New driver for i915 as well as older i830/i845/i865 chipsets.Keith Whitwell2004-06-101-0/+446