summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_wm_fp.c
AgeCommit message (Collapse)Author
2009-01-28i965: minor tweak: replace OPCODE_MOV with OPCODE_SWZBrian Paul
Just to reinforce the understanding that an extended swizzle with 0 and 1 terms is possible there.
2009-01-28i965: implement GL_EXT_texture_swizzleBrian Paul
If the texture swizzle is not XYZW (no-op) add an extra MOV instruction after the TEX instruction to rearrange the components.
2009-01-28i965: minor clean-up, comments, etc.Brian Paul
2009-01-21i965: Remove gratuitous whitespace in INTEL_DEBUG=wm output.Eric Anholt
2009-01-12i965: fix broken ARB fp fog optionsBrian Paul
Just call _mesa_append_fog_code() if the fragment program's FogOption is not GL_NONE. This allows us to remove some unnecessary i965 fog code. Note, the arbfplight.c demo can be used to test this (see DO_FRAGMENT_FOG).
2009-01-07i965: allow gl_FragData[0] usage when there's only one color bufferBrian Paul
If gl_FragData[0] is written but not gl_FragCOlor, use the former.
2009-01-07i965: init dst reg RelAddr field to zeroBrian Paul
2008-12-03i965: Fix failure to upload new constant data when changing programs.Eric Anholt
This is fallout from the ffvertex_prog.c work. It doesn't call ProgramStringNotify, so we don't set param_state, so we wouldn't track when VP parameters changed, and constants wouldn't get uploaded. Instead, remove param_state entirely and just use the real value that we want to be tracking. Fixes rendering in openarena since BRW_NEW_BATCH got disentangled from BRW_NEW_INDICES. Bug #18822.
2008-09-18mesa: added "main/" prefix to includes, remove some -I paths from ↵Brian Paul
Makefile.template
2008-08-06i965: update TexSrcUnit for OPCODE_TXBXiang, Haihao
2008-08-05i965: Use program->SamplerUnits[] to get the appropriate texture unit.Xiang, Haihao
inst->TexSrcUnit is used as an index into program->SamplerUnits[] since the commit ade508312c701ce89d3c2cd717994dbbabb4f207, and program->SamplerUnits is a sampler-to-texture-unit mapping.
2008-06-08i965: fix OPCODE_TEX when additional ops are neededRoland Scheidegger
2008-03-26[965] Don't let the negate flags of src0 affect 1 constants in precalc_dst/litEric Anholt
This patch is a variant of a submission by Michal Wajdeczko to fix oglconform fpalu failures.
2008-03-21 [i965] multiple rendering target fixZou Nan hai
2008-03-17[965] Fix fp temp reg release code to not usually release all temps.Andrzej Trznadel
Also, use wrapped ffs() instead of native.
2008-03-13 [i965] multiple rendering target supportZou Nan hai
2008-03-07 [i965] fix fd.o bug #11471 and #11478Zou Nan hai
1. Follow EXT_texture_rectangle with YCbCr texture 2. swap UV component for MESA_FORMAT_YCBCR
2008-02-01[965] Replace XXX comment about constant swizzle with an assert.Eric Anholt
2007-10-26Merge branch '965-glsl'Zou Nan hai
Conflicts: src/mesa/drivers/dri/i965/brw_sf.h src/mesa/drivers/dri/i965/intel_context.c
2007-09-26i965: The cube map texture coordinates must be devided by theXiang, Haihao
component with the largest absolute value before they are delivered. fix bug #12421
2007-08-13i965: fix projtex_maskXiang, Haihao
projtex_mask is only an 8bit field, and wm.input_size_masks includes other attributes' information, therefore right shift is needed.
2007-07-24 DDX DDY support, not very accurateZou Nan hai
2007-06-21 support branch and loop in pixel shaderZou Nan hai
most of the sample working with some small modification
2007-03-26merge of glsl-compiler-1 branchBrian
2007-03-22fix for bug#10339Xiang, Haihao
StateFlags has been updated in _mesa_add_state_reference
2007-02-23Update DRI drivers for new glsl compiler.Brian
Mostly: - update #includes - update STATE_* token code
2006-11-15Add a size parameter to _mesa_add_unnamed_constant() andBrian Paul
_mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4). Always 4 for now...
2006-10-05Quieten debug message.Keith Whitwell
2006-09-20Support ARB_texture_rectangle.Keith Whitwell
2006-09-20restore debug output after brw_wm_fp compilation stageKeith Whitwell
2006-09-07Make sure bmBufferOffset is called for all active buffers every timeKeith Whitwell
we render. Currenly requires that some state be re-examined after every LOCK_HARDWARE().
2006-08-09Add Intel i965G/Q DRI driver.Eric Anholt
This driver comes from Tungsten Graphics, with a few further modifications by Intel.