History log of /external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1906d2b46b21a8e7496409e0639d8463ad86dcfe 27-Jun-2012 Marcin Slusarz <marcin.slusarz@gmail.com> nv50: dynamically allocate space for shader local storage

Fixes 21 piglit tests:
spec/glsl-1.10/execution/variable-indexing/
fs-temp-array-mat4-index-col-row-wr
vs-temp-array-mat4-index-col-row-wr
vs-temp-array-mat4-index-row-wr

spec/glsl-1.20/execution/variable-indexing/
fs-temp-array-mat3-index-col-row-rd
fs-temp-array-mat3-index-row-rd
fs-temp-array-mat4-col-row-wr
fs-temp-array-mat4-index-col-row-rd
fs-temp-array-mat4-index-col-row-wr
fs-temp-array-mat4-index-row-rd
fs-temp-array-mat4-index-row-wr
vs-temp-array-mat3-index-col-row-rd
vs-temp-array-mat3-index-col-row-wr
vs-temp-array-mat3-index-row-rd
vs-temp-array-mat3-index-row-wr
vs-temp-array-mat4-col-row-wr
vs-temp-array-mat4-index-col-row-rd
vs-temp-array-mat4-index-col-row-wr
vs-temp-array-mat4-index-col-wr
vs-temp-array-mat4-index-row-rd
vs-temp-array-mat4-index-row-wr
vs-temp-array-mat4-index-wr

... and prevents a lot of GPU lockups
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
3232a86efe76df9fcee869c4ed4af8d68824920c 05-Jun-2012 Marcin Slusarz <marcin.slusarz@gmail.com> nv50: fix nv50_stream_output_state leak
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
cfa7cb991ce7d2fd77ea7f5abf96c90d8a1ea68c 05-Jun-2012 Marcin Slusarz <marcin.slusarz@gmail.com> nv50: fix symbol table memory leak
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
ecc7e5e85b65bf7c87e31126f893065d4466246a 07-May-2012 Marcin Slusarz <marcin.slusarz@gmail.com> nv50: handle VP without inputs
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
02fac2930581b9bea9f6d221eb6d6b471fc3b9c6 03-May-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: implement stream output
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
29a0c8cd60b6e1fc9ad39e626852ce598fe4d2b4 24-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix typo in nv50_fragprog_assign_slots
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
48aec56559a0199d8099d9edff8e51312f55f15c 17-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: specify location of UCPs to code generator

Was made configurable in e44089b2f79aa2dcaacf348911433d1e21235c0c
for Kepler but forgot to update nv50.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
e55c276255db9cba0a3b6780913a1e924cb6ff6b 15-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: use correct semantic map value for undefined PointSize output
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
0bbf1659df3adf51784bcb376e681c05f49b6070 14-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: hook up to new shader code generator
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
6d1cdec3ba151168bfc3aef222fba6265dfb41fb 06-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nouveau: switch to libdrm_nouveau-2.0
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
f6b994b3058d1c6cd7c28eef522c08df3d83bea7 11-Jan-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: zero out program struct on program_destroy

Prevent any state from carrying over to a new translation in cases
where we assume that data is still zero from initial calloc (these
would require us to do individual zeroing before translation which
would be more code).
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
d2d19ea51fa3575a8d014a69a9b835c335728817 14-Sep-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50/ir: add missing license headers
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
3afabfb929cf24a783c10c99bf0d86245e70a94a 13-Sep-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: hook up to new shader code generator

Also includes loading of shared shader library code (used for f64
and integer division) and setting up the immediate array buffer
which is appended to the code.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
116133af3499947500a6d0c877fbc8f564ee4c76 19-May-2011 Maxim Levitsky <maximlevitsky@gmail.com> nv50: add support for user clip planes

Clip distance is calculated each time vertex position is written
which is suboptiomal is some cases but very safe.
User clip planes are an obsolete feature anyway.

Every time number of clip planes increases, the vertex program
is recompiled.
That ensures no overhead in normal case (no user clip planes)
and reasonable overhead otherwise.

Fixes 3D windows in compiz, and reflection effect in neverball.
Also fixes compiz expo plugin when windows were dragged and each
window shown 3 times.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
74559abbef5e5bcd3dbe1b8bbb8a39391a8a8671 10-Apr-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: silence shader debug output
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
8f060df60d1f5ad63a341e39f2ec5a0c3c452cf5 29-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: implement colour clamping controls
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
533bf171d4c926e4ab6fcd0d51396b195b9e024f 05-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: support the InstanceID system value
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
f80c03e1875fe96ff2f4c022e3cb76357828140d 28-Feb-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: replace most of it with nvc0 driver ported to nv50

We'll have to do some unification now to reduce code duplication.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
3a62365f402b1159afd526fb4b510cdb51de1365 16-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: get shader fixups/relocations into working state
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
84d170bbcef8e26017ac8e2f3bacbaeb20f889d3 15-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: put low limit on REG_ALLOC_TEMP and FP_RESULT_COUNT
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
f30810cb68a53c4fef360778a230126ed0ee0ee3 09-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: use actual loads/stores if TEMPs are accessed indirectly
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
d91b8865ec2bb41f9b58ad5ce2df7f6f48f98281 07-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: prepare for having multiple functions

At some point we'll want to support real subroutines instead of
just inlining them into the main shader.

Since recursive calls are forbidden, we can just save all used
registers to a fixed local memory region and restore them on a
return, no need for a stack pointer.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
217542a061ef31150b1b04f1b45b6099bcc153fe 05-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: save tgsi instructions
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
e08f70a41d1012a0270468866614485a3415168e 31-Aug-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: make use of TGSI immediate type
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
d90502b2b468732e2a42985580bbbe9d9fdfd14e 31-Aug-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: turn off verbose debug output by default
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
3844c365947082550565accefd996c10fbb15cc4 28-Aug-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: set the FragDepth output index
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
1bbbc8e0c8230d33cb1eae89cc47b5296edefc10 17-Aug-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: initialize edgeflag input index
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
3a68fcfb6b406cf864afbf200e436fc384fd0865 10-Aug-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: begin implementing loops
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
633f5ac6124b1b57152c09becba92d176e905ae9 23-Jul-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: import new compiler
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
db7ed20730a7329c902352cac99686cbcc6611bf 09-Jun-2010 Zack Rusin <zack@kde.org> nv: fix compile after the latest gs changes
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
828053726bc4216ad7fd4c4a5665c6ad4c743b49 20-May-2010 Xavier Chantry <chantry.xavier@gmail.com> nv50: fix too long shader uploads by splitting them
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
f5a4d70189bdd8e25bc1f30b9f4fe8f31999cf0e 30-Apr-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: raise constant buffers size to maximum

Removed the param heaps, haven't been using them for a long
time now.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
6df1e5c4aa980d52e98b991e6cdbd20a3c746845 29-Apr-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: don't segfault on OPCODE_END for empty programs
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
03e97e7f8d87f500c008cadd4982537adcfa4969 20-Apr-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix FP result counting for depth output
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
117bf856d876f8627459eecd579c5f6079a2be71 20-Apr-2010 Brian Paul <brianp@vmware.com> nv50: move declaration before code
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
891e9d6f3f123e9e4a89743535d18bfb543626d3 18-Apr-2010 Vinson Lee <vlee@vmware.com> nv50: Initialize variables.

Silences GCC uninitialized variable warnings.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
287c94ea4987033f9c99a2f91c5750c9083504ca 10-Apr-2010 Keith Whitwell <keithw@vmware.com> Squashed commit of the following:

commit 0189cb2fde9f5d7326fd4bfbc2e52db4cce73b3e
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Apr 10 12:48:43 2010 +0100

gallium: don't use generic get_transfer func for textures

It doesn't know and can't fill in the stride value.

commit 65bc6f88fd9ce8ff90175b250e580bef2739ea35
Author: Chia-I Wu <olv@lunarg.com>
Date: Sat Apr 10 13:49:34 2010 +0800

i915g: Initialize screen surface function.

commit eb56e64986790aa2fa35534ce652b78656b0c3c5
Merge: f8b0a7f e7f1e5c
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Apr 10 00:38:43 2010 +0100

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/drivers/r300/r300_texture.c

commit f8b0a7f6a3a98fd36ce90a81073ec8c8f09b684c
Merge: a3c9980 f43c679
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Apr 10 00:35:09 2010 +0100

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/drivers/r300/r300_texture.c

commit a3c99807de37dc2c072f1d75ed3a11da333bc9a1
Author: unknown <michal@.(none)>
Date: Fri Apr 9 18:51:39 2010 +0200

scons: Add missing sources.

commit 927cec79cedb457efa9e6f335727cfcb8e4908e2
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 18:07:56 2010 +0200

gallium: fix another compile warning after merge. Hmpf.

commit 52953cd7b0e51deafecb812bdc40f9e45f9ac62a
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 18:02:11 2010 +0200

gallium: fix comment

commit 7c8763aa6cfc74adf1ea49c2bab25ca17b32575f
Author: unknown <michal@.(none)>
Date: Fri Apr 9 18:05:20 2010 +0200

util: Fix type cast.

commit 9d0086411a104b7cc9297aac0d1f82853118d7bf
Author: unknown <michal@.(none)>
Date: Fri Apr 9 18:04:33 2010 +0200

libgl-gdi: Use proper unwrap functions for resources.

commit 251a5cdd18ba31c690ef61f133dfc65cd4a45cf8
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 17:51:23 2010 +0200

gallium: more comments fixup

commit 8f3f9d5e1e9c0de98a3dfb19e81250d2c32ee4e9
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 17:48:18 2010 +0200

gallium: another fix after merge

commit 41f00a32ee5be91512c048bacb89ede0e04bc08d
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 17:44:30 2010 +0200

gallium: more pipe_texture/resource fixes after merge

commit faf53328d1154c51d8a59513f2bfcae62272b0bf
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 17:44:24 2010 +0200

gallium: fix comments for changed USAGE flags

commit fdcb17bea4b0798d316b56deea69832f41142adf
Author: Roland Scheidegger <sroland@vmware.com>
Date: Fri Apr 9 16:40:07 2010 +0200

gallium/pb: pb uses PB_USAGE_ flags, not PIPE_TRANSFER_ (same value anyway)

commit c95f7278ecc6db417ec1053279f2a8172c47aee9
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Apr 9 13:44:35 2010 +0100

llvmpipe: fix merge glitches

commit 28f8b8683175149a381be5eff263d4c20568bce7
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Apr 9 13:41:39 2010 +0100

r300g: update after merge for pipe_resources

commit 248c93cbc066ba6e3fadd94c5fcf3bdbb373d8fd
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Apr 9 13:41:20 2010 +0100

st/mesa: fix old pipe_texture usages

commit a563b1c5c2cb57b3ef28a3654d9b477460d13ced
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Apr 9 13:40:56 2010 +0100

r300g: remove unused variable

commit 734500131d828c9dfd68c5fa26b3e6b07e086d2d
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Apr 9 13:40:36 2010 +0100

nv50: fix compiler warning

commit efd402e13037e5c3e29759fa5b1c754c6d65d0e2
Merge: fec8a1d 5452615
Author: Keith Whitwell <keithw@vmware.com>
Date: Fri Apr 9 13:33:57 2010 +0100

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/drivers/cell/ppu/cell_screen.c
src/gallium/drivers/cell/ppu/cell_texture.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/drivers/r300/r300_transfer.c
src/gallium/state_trackers/egl/common/egl_g3d.h
src/gallium/state_trackers/egl/kms/native_kms.c
src/gallium/state_trackers/egl/x11/native_dri2.c
src/gallium/state_trackers/egl/x11/native_ximage.c

commit fec8a1db13fac04ef56f6ece799d1f20aa3011db
Author: Marek Olšák <maraeo@gmail.com>
Date: Sat Apr 3 07:58:34 2010 +0200

util: fix assertion failures in pipe_buffer_flush_mapped_range

commit 1ff3984c2edce9927744f3cce3e7b07778990170
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 8 17:44:54 2010 +0200

docs: fix transfer_map description

commit 20bf14be8ac6438cb1afa38212e306fc06a5ed40
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Apr 8 14:39:13 2010 +0100

util: fix up several uses of pipe_map_buffer_range

This function used to return a pointer to where the start of the
actual buffer would have been, even though only the requested range is
being mapped.

In the resources change, the function was modified to use a transfer
internally, and started returning the pointer to the beginning of the
transfer, ie the mapped range.

Some users of the function were changed to reflect this new behaviour,
some were not. Since then the function has reverted to its original
behaviour, matching master.

This change restores some of the users of the map_buffer_range helper
to expect the old/original behaviour.

commit 33179a86058b68b518f40971030db337dc26fe6e
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Apr 8 14:38:54 2010 +0100

mesa/st: fix up several uses of pipe_map_buffer_range

This function used to return a pointer to where the start of the
actual buffer would have been, even though only the requested range is
being mapped.

In the resources change, the function was modified to use a transfer
internally, and started returning the pointer to the beginning of the
transfer, ie the mapped range.

Some users of the function were changed to reflect this new behaviour,
some were not. Since then the function has reverted to its original
behaviour, matching master.

This change restores some of the users of the map_buffer_range helper
to expect the old/original behaviour.

commit 3f5363d4dc9d7ad48467ae82d58d5f3d9bd10698
Author: Keith Whitwell <keithw@vmware.com>
Date: Wed Apr 7 17:26:52 2010 +0100

util: map_range and flush_range have offsets relative to start of buffer

commit 7eb1bfb97a790c73188d6b616d54fb3849e69b1e
Author: Keith Whitwell <keithw@vmware.com>
Date: Wed Apr 7 17:26:08 2010 +0100

nv50: fix compiler warning

commit d040daff0642dd791ac38e9b353dc251b03fc873
Author: Keith Whitwell <keithw@vmware.com>
Date: Wed Apr 7 17:25:58 2010 +0100

nvfx: fix compiler warning

commit 49ec01dffb8e99ab3ff8f856287db7b4df3efed6
Author: Chia-I Wu <olv@lunarg.com>
Date: Mon Apr 5 11:58:53 2010 +0800

mesa/es: Fixes for gallium-resources.

commit 47c87ada452be45766928a01b6d69da63e3a5f5e
Author: Marek Olšák <maraeo@gmail.com>
Date: Sat Apr 3 05:19:20 2010 +0200

r300g: fix transfers for textures created from winsys handles

commit 5f2701fddaef9c18d85c049311c2819c49cc1ae0
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Sat Apr 3 03:52:38 2010 +0200

nouveau: don't use the staging usage

Maybe it could make sense, but for now dynamic is enough.

None of these avoid uncached reads from GART on AGP cards.

commit 0db20fa49e008f35911007fa7ed9be1d678a2161
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Sat Apr 3 03:27:19 2010 +0200

i965: add brw_resource.c to Makefile

commit b94f3e7389cbd1b6465de3c04e8059ce73f1ea1f
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Sat Apr 3 01:48:33 2010 +0200

nouveau: fix for gallium-resources

commit a01ff99a19986e6beb7903431e60a074945b09bc
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 1 19:26:35 2010 +0200

gallium: fix missing includes

commit 26aeded562ce947a6deeb867fe22bf8daf7b1a1a
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 1 19:19:18 2010 +0200

gallium: remove video interface and related stuff

These interfaces weren't quite was needed, and building disabled for a while.
Some code actually build since some branch merge, and were now not fully
converted to gallium-resources.
See http://www.mail-archive.com/mesa3d-dev@lists.sourceforge.net/msg09619.html
for a discussion of this. Video related work is done in origin/pipe-video
branch.

commit c64285aea45997a276fb141d7badc8a04f617c7c
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 1 18:45:54 2010 +0200

python: fixes for resource changes

doesn't look quite ok yet, but sort of compiles.

commit 03d4d5a41f5cf158a358fd705c695e1c987a328f
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 1 18:34:46 2010 +0200

gallium: s/u_box_orgin_2d/u_box_origin_2d

commit 2444f023142bcaf7bd310b44794580f273254408
Author: Marek Olšák <maraeo@gmail.com>
Date: Thu Apr 1 03:26:50 2010 +0200

r300g: fix segfault when the transfers functions are used

Still broken.

commit 6f09bf4066ab651b323c131bb07978e700519805
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 1 00:05:12 2010 +0200

r300g: compile fixes

commit 76711ff40d2092f9ef03d452de7458c4e76d9246
Author: Roland Scheidegger <sroland@vmware.com>
Date: Thu Apr 1 00:04:47 2010 +0200

nvfx: more compile fixes

commit c5d2e90c9cc119447a447dc04a4bce4ab91fc671
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Mar 31 23:18:50 2010 +0200

gallium: more mostly merge fallout fixes...

commit fbc3722696790857f4adc936190406e74dffd969
Merge: 86d9225 d97f696
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Mar 31 22:09:35 2010 +0200

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/drivers/cell/ppu/cell_screen.c
src/gallium/drivers/i915/i915_buffer.c
src/gallium/drivers/i915/i915_context.h
src/gallium/drivers/i915/i915_resource_texture.c
src/gallium/drivers/i915/i915_screen.c
src/gallium/drivers/i915/i915_state_emit.c
src/gallium/drivers/i965/brw_resource_texture.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/nvfx/nv30_fragtex.c
src/gallium/drivers/nvfx/nv40_fragtex.c
src/gallium/drivers/nvfx/nvfx_miptree.c
src/gallium/drivers/nvfx/nvfx_screen.c
src/gallium/drivers/nvfx/nvfx_transfer.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/svga/svga_screen_texture.c
src/gallium/state_trackers/dri/common/dri_drawable.c
src/gallium/state_trackers/dri/common/dri_screen.c
src/gallium/state_trackers/dri/common/dri_st_api.h
src/gallium/state_trackers/dri/drm/dri1.c
src/gallium/state_trackers/dri/drm/dri1.h
src/gallium/state_trackers/dri/drm/dri2.c
src/gallium/state_trackers/python/st_device.c
src/gallium/state_trackers/python/st_sample.c
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_readpixels.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_extensions.c

commit 86d9225d19d194eebbbe95b059695697c3307d15
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Mar 31 19:06:06 2010 +0200

gallium: more fixes for bind changes

commit a215ef0606347e34669a580ec8df93ede7e46399
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Mar 31 18:48:36 2010 +0200

gallium/docs: some updates for bind changes

commit c6c7e6746cbc7af59f7972719ed76f43e8ac16fc
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 30 20:24:26 2010 +0200

gallium: more bind change compile fixes

commit a83fa1504b78180524a5eb454ae186741a27cdf8
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 30 17:37:13 2010 +0200

compile fixes

commit 30dc8afcd243d6a160571bac5f06d773e54a4196
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 30 16:56:28 2010 +0200

fix some merge issues

commit 30aa617fee11fe50c0a9c2f33fcd120a474f5e34
Merge: 1dde609 3a830bc
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 30 16:09:45 2010 +0200

Merge commit 'origin/gallium-buffer-usage-cleanup' into gallium-resources

Conflicts:
src/gallium/drivers/nouveau/nouveau_screen.c
src/gallium/drivers/nvfx/nvfx_transfer.c
src/gallium/winsys/drm/radeon/core/radeon_drm_buffer.c

commit 1dde609ad6c9d2dfa0a5f7167f3c5bcf023b7c4d
Author: Roland Scheidegger <sroland@vmware.com>
Date: Wed Mar 24 02:35:00 2010 +0100

docs: some updates for pipe_resource

commit f236f9660d31b936f54b64ae07e569f8637067bd
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Wed Mar 24 01:31:28 2010 +0100

nvfx: fix for gallium-resources

It seems to work with basic applications but almost surely needs more work.

In particular, it probably shouldn't use PIPE_BUFFER_USAGE_* flags
and should use PIPE_TRANSFER_* in several places.

Also, we probably don't want the vtable indirect calls and that ought
to be replaced with something better instead.

commit 5a136ad7b63768cb9a753eff8686c44592e62325
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Wed Mar 24 01:31:19 2010 +0100

nv50: fix build in gallium-resources

Not actually tested.

Also needs next patch tee to actually build, this is just the nv50 part
split from the rest.

commit 3a830bc4a3f0f60c925b9434845a6bcad9a913c5
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 23 14:00:52 2010 -0700

st/egl: fix up for binding flags

commit c6a80dc32ef17bc972d4137ce7444ebed4d28ebb
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 23 13:52:15 2010 -0700

r300: restore 4k alignment for oqbo buffers

commit e75a8d5ea9e0ffcf67bc858e08937e10b4fc74ba
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 23 13:00:07 2010 -0700

gallium: bind flags

commit 1f5b509543a7f399835fd9edf27c18e1643fab7d
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 23 19:32:21 2010 +0100

i965g: scons compile fixes

commit 2c385f8f905ec794d9119c05c6293e0b1b9b565a
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 23 19:20:33 2010 +0100

nouveau: drm compile fix

commit b285086ebd5132b47c340897c4622cc9fbd286cb
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 23 18:36:19 2010 +0100

r300g: pipe_resource compile fixes

bring back mistakenly deleted radeon_buffer.h
plus some more

commit 7810606f423ef2f51f0a14b919640c2fd2c931aa
Author: Michal Krol <michal@vmware.com>
Date: Tue Mar 23 16:21:03 2010 +0100

softpipe: Map GS constants, too.

commit 366f1176fb89d2b1978da6cfe60000b76bbc7338
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 23 15:51:52 2010 +0100

failover: update for pipe_resources

commit 615f44d70d293704ed821bc0b21fcfe6e363895d
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 23 15:51:02 2010 +0100

identity: remove double is_resource_reference assignment

commit 7008586020395905ddfff333d02b3893de369796
Author: Roland Scheidegger <sroland@vmware.com>
Date: Tue Mar 23 15:50:32 2010 +0100

trace: compile fix

commit 058c5697bda4c9cf7b49d26ee27a34586544efaa
Merge: dd7ba13 b33fd3c
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 23 06:40:39 2010 -0700

Merge commit 'origin/gallium-resources' into gallium-buffer-usage-cleanup

Conflicts:
src/gallium/state_trackers/vega/api_filters.c
src/mesa/state_tracker/st_cb_drawpixels.c

commit b33fd3ce3daf2921a895367d0ed3fd9c718a8575
Author: Michal Krol <michal@vmware.com>
Date: Mon Mar 22 21:03:26 2010 +0100

gallium: Usage parameter of get_transfer/transfer_inline_write is a bitfield.

commit 9c1162d9d656062a490a529997def3f674cc61fc
Author: Michal Krol <michal@vmware.com>
Date: Mon Mar 22 20:50:49 2010 +0100

scons: Update file lists after gallium-resources changes.

commit af9793ab9e5386b150d6b25c0d1978fdc67172e4
Author: Michal Krol <michal@vmware.com>
Date: Mon Mar 22 20:04:39 2010 +0100

gallium: Do not use `template` for formal parameter names.

commit dc2e12d714c444af9ff1acdd5a7e91408b116c99
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:41:34 2010 +0000

ws/nouveau: remove pipe_texture reference

commit b94c72329f1be85887d40d49b0586979da469d77
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:40:41 2010 +0000

ws/xlib: remove pipe_buffer reference in comment

commit 0a2af3eeae7de1d1cb433f0a2c35136b115f9920
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:39:34 2010 +0000

st/vega: clean up reference to pipe_texture

commit 437ce98daae46be5d532fbb04c7cbf4a503c1623
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:39:02 2010 +0000

st/python: begin conversion to pipe_resources, much more to do

commit 1b02e1ee3e5e87774f0c9e5f0e1898b7f8de1b16
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:29:34 2010 +0000

st/xorg: update for pipe_resources

commit eb39977fe7a1d9f0c3f4f2d4303a93c2c613cc3b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:23:51 2010 +0000

st/dri: update for pipe_resources

commit e447aeff597a4d8c0f5de25854c14c99f2cc138c
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:23:36 2010 +0000

st/egl: update for pipe_resources

commit e4cc48da8fdbd7d521257a6d7cd10e6fc5aa1a65
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:08:44 2010 +0000

r300: drop use of R300 DONT SYNC flag

commit 129a83ab4d32e44ded5faea3f86ae5e1e62cddb6
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:08:17 2010 +0000

pipebuffer: use transfer flag

commit 575b35ee6b683d77095ef21c573c1de207107e79
Merge: f29ac73 9fc6c8b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 22:03:25 2010 +0000

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_texture.c
src/gallium/winsys/drm/radeon/core/radeon_buffer.h

commit f29ac73f3f626d5779a627b7fa6fecdb60a35aab
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 18:37:25 2010 +0000

cell: attempt to convert to pipe_resources

Can't even compile test this driver.

commit 484b1947f4af81bab60b41f21c3c23ea6f67488c
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 17:25:50 2010 +0000

nvfx: restore usage of pipe_winsys

The interface that cannot be killed...

commit ac76ac6eb30f4f9aa9f5733d60358b357925953a
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 17:25:10 2010 +0000

nv50: fix warning

commit 9683f4423449fa5acf6c019c571223650473bd82
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 17:14:31 2010 +0000

util: restore u_simple_screen, nouveau still relies on it

commit 961cbcb62232689c959965384c6aa9b8eca697c1
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 16:51:54 2010 +0000

nouveau: convert nvfx and nv50 to pipe_resources

Compile tested only.

This was a deeper change than I was hoping for, due to the
layering of the pipe_texture implementation in each driver on
top of a shared pipe_buffer implementation in the shared code.

Have modified the shared code to act as a set of convenience
routines operating on nouveau_bo objects.

Each driver now uses the u_resource_vtbl technique to split the
implementation of pipe_resources between the existing miptree code
for textures and a new, minimal buffer implementation in each
driver.

Eventually these should be combined, not least because APIs are now
allowing things like binding buffer resources as textures and render
targets.

commit 18ba74016db13b23282f5033ee37b628a12ee566
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 10:02:54 2010 +0000

r300: fix compilation after merge

Also build r300 by default.

commit eb9c0175c8e4baca3fcb0b8364f83ceba9d74e0d
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 09:59:49 2010 +0000

st/vega: fix up after merge

commit ea8dd1d4ae7b58c9315c3491046ef3852ddd3377
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 09:59:44 2010 +0000

aux: remove unused piperesource helpers

commit be7af29d3ad1a10409b0ea689d882cf30a4e1d62
Merge: d22c2c6 12deb9e
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 21 09:54:53 2010 +0000

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/cso_cache/cso_context.h
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r300/r300_state_derived.c
src/gallium/state_trackers/vega/api_filters.c
src/gallium/state_trackers/vega/image.c
src/gallium/state_trackers/vega/image.h
src/gallium/state_trackers/vega/mask.c
src/gallium/state_trackers/vega/mask.h
src/gallium/state_trackers/vega/paint.c
src/gallium/state_trackers/vega/paint.h
src/gallium/state_trackers/vega/renderer.c
src/gallium/state_trackers/vega/renderer.h
src/gallium/state_trackers/vega/shader.c
src/gallium/state_trackers/vega/vg_context.h
src/gallium/state_trackers/vega/vg_tracker.c
src/mesa/state_tracker/st_manager.c

commit d22c2c6cb23a063e3334a165d0c5c3d73f05d234
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 20 11:48:54 2010 +0000

drm/r300: update for r300g pipe_resources conversion

Remove old files that related to pipe_buffers but weren't being
built. Hopefully this is correct.

commit f07b2c836958bee5796899123eca4ed05ac6242b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 20 11:47:03 2010 +0000

r300: convert to pipe_resources

Do a very shallow conversion - basically keeping the existing
buffer and texture code intact and using a vtbl struct
inside our resource struct to select between the two implementations.

The buffer and texture treatments could be further merged without
much effort, but try to keep the existing code working at this point.

commit feca9c3ca62daaf0d8745370106d4e3b22340c49
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 06:00:34 2010 +0000

gallium: update new merges to pipe_resource

commit 1cad983eac77a0c5333e6a3ce92b90ac87407714
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 06:00:19 2010 +0000

drm/sw: update new merges to pipe_resource

commit 191d39490ed792c569f98d42cf05891b264f71f8
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 06:00:01 2010 +0000

vg: update new merges to pipe_resource

commit b727c59bc44812ad503d9390505c92b738a5b8b0
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 05:59:38 2010 +0000

llvmpipe: update new merges to pipe_resource

commit 5f4b64b37fdcd70162c382b2ebbd494bef751dbd
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 05:59:23 2010 +0000

brw: pipe_resource fixes

commit d4aca209f531f1b65bf706ce1e5fc0375b587eb6
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 05:59:06 2010 +0000

util: update new merges to pipe_resource

commit cf6bef0afee10763c78509a3d17e9a6e49bcd3c8
Merge: 1997231 6de8e56
Author: Keith Whitwell <keithw@vmware.com>
Date: Thu Mar 18 05:38:50 2010 +0000

Merge commit 'origin/master' into gallium-resources

commit 1997231916144485c3c4a36f53eda39fce460272
Merge: ad88ac7 e1ee3ea
Author: Keith Whitwell <keithw@vmware.com>
Date: Wed Mar 17 08:46:38 2010 +0000

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_blit.h
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/auxiliary/util/u_gen_mipmap.h
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_gen_mipmap.c

commit ad88ac79034a91670940276e722bdd398d5c9023
Merge: 77bc770 8cdfd12
Author: Keith Whitwell <keithw@vmware.com>
Date: Tue Mar 16 09:13:07 2010 +0000

Merge branch 'gallium-sampler-view' into gallium-resources

Conflicts:
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/auxiliary/util/u_blit.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/softpipe/sp_texture.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_framebuffer.c
src/mesa/state_tracker/st_texture.c

commit 77bc770c991ea025c82eaa4e0e2390efd825d96d
Author: Keith Whitwell <keithw@vmware.com>
Date: Mon Mar 15 22:21:48 2010 +0000

util: missing file

commit f83c91db8ae63a3c3a34ff21492427a5663fb760
Merge: c1d4774 42910eb
Author: Keith Whitwell <keithw@vmware.com>
Date: Mon Mar 15 09:48:58 2010 +0000

Merge commit 'origin/gallium-sampler-view' into gallium-resources

Conflicts:
src/gallium/drivers/nv40/nv40_transfer.c
src/gallium/drivers/nvfx/nvfx_transfer.c
src/gallium/drivers/trace/tr_drm.c

commit dd7ba1378fc50710667724d30d6d4cf1125ad61e
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 23:54:36 2010 +0000

gallium: start a cleanup of buffer_usage

Remove fairly meaningless CPU/GPU READ/WRITE flags and
replace with proper usages.

commit c1d4774187189f4af8ff421b210824f3d53ceefb
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 23:05:45 2010 +0000

llvmpipe: don't FREE userbuffer data

commit 9bfa07afe179f8060e7beefb754a29c4d9c6e349
Merge: 65757a1 08cddfe
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 22:54:51 2010 +0000

Merge commit 'origin/master' into gallium-resources

Conflicts:
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_scene.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/drivers/llvmpipe/lp_texture.h
src/gallium/drivers/softpipe/sp_texture.c
src/gallium/drivers/svga/svga_screen_texture.c

commit 65757a143f8e3fcd7afbc1ff92db44a823edf46c
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 22:41:17 2010 +0000

svga: build fixes

commit 2f5435220501d4b3050cab2bb1dce6174cd13ff6
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 22:39:25 2010 +0000

gallivm: build fix

commit 42642ec0984107d82b740711f2debbf38457a06e
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 22:38:33 2010 +0000

llvmpipe: convert to pipe_resources

commit 7bbcb21e20cb545ef8dd5fc61d67ed931c69e813
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 22:19:30 2010 +0000

gallivm: convert to pipe_resources

commit 88ae0d04610ca52649b42e32141a52af6d5a739b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 21:01:22 2010 +0000

configs: build svga

commit 0e112bc69828e65085ebfaef895ecd78fe53f1c4
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 21:01:17 2010 +0000

gallium: restore PIPE_BUFFER_USAGE_CUSTOM

commit 102aca688b95c976b7178b84092fba7d041ff9d2
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 21:00:41 2010 +0000

util: more transfer helpers

commit a79f6a4a0836fc64c07f9aeec21d914474fe3649
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 20:59:36 2010 +0000

svga: convert to use pipe_resrource

As with others so far, a fairly shallow conversion.

commit 087fb54492fa5e3baf040c5efbf7dacd98a8849b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 18:38:08 2010 +0000

brw: fix function name

commit cfc9dd707d16e06fd23b6926da3a6e2269f31dc8
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 18:19:06 2010 +0000

gallium: enable brw compile

commit 8a5b86d76bdd3c7de63322423f59940a4dc2ee25
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 18:18:50 2010 +0000

brw: compiles with pipe_resource

commit 563ca458b548c41ca4dca559354c16ca1a80d009
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 18:18:42 2010 +0000

i915: hook up userbuffer create

commit b5095b48247b6020e36cc942ac145c3fccbe9a19
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 17:20:51 2010 +0000

i915: use helpers for is_resource_referenced

commit d5392bdc6d70002acf9c5bac0fde14ba405c4d84
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 17:20:38 2010 +0000

util: helpers for is_resource_referenced

commit 2f3492a5aefbb2e745f6700d8e910ebb5cbb98cf
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 17:08:50 2010 +0000

i915: remove buffer.c again

commit 1373a35b65fcc25ec6cdfea2703bbb3417de2c6d
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 17:08:34 2010 +0000

i915: add new files to scons

commit 0251612d70e57fe38e10e75915b394631d224f2c
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 16:38:29 2010 +0000

i915: compiling with pipe_resources

commit 9a0235864252929a8eedd44dbd2fe30fe54c531d
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 13:51:16 2010 +0000

gallium: remove inline_read transfer

commit a6ba315e25793e0c228d3a4ae2f8201634dc9ff0
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 13:50:32 2010 +0000

trace: get running

Some dumping will be incorrect or disabled, but it runs without
crashing

commit 2133f1d90aa919662a8420a0cf3b4557e6ec1afd
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 13:49:42 2010 +0000

gallium: remove the inline_read transfer

There aren't enough users of this to justify it.

commit bccaf1fa30881f6b4fb189a9b74fc7af79c3b481
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 12:30:37 2010 +0000

identity: hook up inline transfer operations

commit e4c152a344f2f53c842b810724a2ae7cb4554f58
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 12:21:54 2010 +0000

gallium: build trace and identity

commit 0b5a311db78852fa9fd021e17b5968a1e0436b49
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 12:21:36 2010 +0000

gallium: add more of the transfer state to pipe_transfer

Not really sure if recording all the arguments to the
create_{transfer,texture,surface,etc} functions in the result of those
calls is a great idea, but it seems we're fairly dependent on it
throughout the code.

commit a23985c26eafe76b0a7dacc892e50cb589f211fe
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 12:19:46 2010 +0000

identity: compiles with pipe_resources

commit d0d630944304c208f6dade6ef8836763ee2bc7b4
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 12:13:02 2010 +0000

trace: compiles with pipe_resources

commit a4451ea459cc8bfc915fe6aed2891b90854b6c9d
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 11:39:50 2010 +0000

softpipe: give userbuffers a format other than NONE

Most mesa demos working

commit 32bb1bd4ba29884a4ecfa11c8441d33dfceabcef
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 11:39:21 2010 +0000

util: correct argument order in pipe_buffer_map

commit 7e2696c06445282feb781047277b260308760a33
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 11:32:55 2010 +0000

softpipe: transfer flush

commit a0543b13c042e3c1142522d9d136f16fd4cabf78
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 11:32:13 2010 +0000

util: noop implementation of transfer_flush_region

commit ce418533be752dbeb164e7ff82a99483048e482b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 11:26:07 2010 +0000

gallium: softpipe runs gears with pipe_resources

commit bfda4f2eb34498e4b7f3c608d30fccff6bb9651b
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 11:25:48 2010 +0000

util: get clip_tile working again

commit f5ef219c3bed62b6a0da842e675fae16268e0fbe
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 09:43:20 2010 +0000

softpipe: use u_transfer helpers

commit 072957aab25affecf0702e925310e46c694a5ee4
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 09:42:46 2010 +0000

util: helpers for inline transfers

commit 9c45561fb0d7a52400093bcb2ce5f727fafd7777
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 09:42:25 2010 +0000

util: fix typo calculating transfer box

commit f3e98fd47f36804d019a684d49ff230df3ab0cf5
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 09:25:46 2010 +0000

st/vega: convert to pipe_resource

commit d1b7b00afc944f6499c83d676c7642115d62a62c
Author: Keith Whitwell <keithw@vmware.com>
Date: Sun Mar 14 08:37:56 2010 +0000

gallium: begin converting drivers to pipe_resource

Work in progress...

commit 51c25117f5d6da1926a2be5ecc66677952a8abf0
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 13 20:16:27 2010 +0000

gallium: work in progress on layering resources on top of old textures

Helper code in an aux module to avoid rewriting all the drivers.

commit fb6764d3ce95c55aa78af2f1c8cbb17b79ce1ba2
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 13 19:19:09 2010 +0000

heaps of wip

commit ee6b3bc730fcdaf8da3646d62f04578ec06d36a1
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 13 16:38:02 2010 +0000

wip2

commit 1830880212445189fe267d615075239ed17c7cc0
Merge: 90b4045 47bfbd4
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 13 15:14:03 2010 +0000

Merge branch 'gallium-sampler-view' into gallium-resources

Conflicts:
src/gallium/include/pipe/p_context.h
src/mesa/state_tracker/st_atom_texture.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_texture.h

commit 90b4045fbc0a093fcd04efba7e045ec259c490b8
Author: Keith Whitwell <keithw@vmware.com>
Date: Sat Mar 13 14:52:43 2010 +0000

wip
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
841b327a51a5bc5968a8ddb0e867b6c552ac67c7 07-Apr-2010 Ben Skeggs <bskeggs@redhat.com> nv50: fix assertion that caused piglit texturing/texrect-many to fail
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
1f19aba1ea461db7bbd10d05244eb12dfc31a046 26-Mar-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix FACE semantic check in FP input slot assignments

Fixes for instance noise with material shaders in FlightGear.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
0e6af1fcaaca6be94a1a0aba287a569299e27295 04-Mar-2010 Ben Skeggs <bskeggs@redhat.com> nv50: avoid unnecessary vp/gp/fp state changes
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
62ab89785b55e60b978dc2b32995676859299c80 03-Mar-2010 Ben Skeggs <bskeggs@redhat.com> nv50: rework state emission
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
653a83445f94620673f747a4ace6847a2c7fdb4d 09-Feb-2010 Roland Scheidegger <sroland@vmware.com> Merge branch 'gallium-nopointsizeminmax'

Conflicts:
src/gallium/drivers/nv10/nv10_state.c
src/gallium/drivers/nv20/nv20_state.c
src/gallium/drivers/nv50/nv50_program.c
4a4daa75a85db22cd37ebd533ebbccb427e07077 03-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: clean up point sprite rasterizer state

Don't need sprite coord origin per coord.
Also, don't need separate sprite enable bit - if all coords have it diabled,
then there are no point sprites (technically, there's a distinction in pre-GL3,
but it only differs in having more leniency in clamping to max size, something
the state tracker would need to handle and the hardware won't bother anyway).
Also, use packed field for the per-coord enables.
All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
28486880ca3ec39419ccee0cb1a3bedc9ef7117c 02-Feb-2010 José Fonseca <jfonseca@vmware.com> gallium: pipe/p_inlines.h -> util/u_inlines.h
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
9e1550dbafe1b28b81dc15822762e6cfe53e3a4b 24-Jan-2010 Marcin Slusarz <marcin.slusarz@gmail.com> nv50: fix uninitialized variable in nv50_revdep_reorder

"unsafe" is never initialized, but used
(found by valgrind)
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
833acea8f6bcbed8b477eb1a1d897127afb0e73e 24-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix handling of FragCoord input
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
e74db4f20fdc4bd71259480f6f93436c98275cb9 18-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: cannot exit shaders on a control flow instruction

Fixes lockup triggered by this ingenious shader:
1: CALL :3
2: END
3: BGNSUB ...
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
9fb9c9f9ca27fbdb90fc0a7a01bdff64d32c05bb 18-Jan-2010 Marcin Slusarz <marcin.slusarz@gmail.com> nv50: fix nv50_program->immd memory leak
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
1448d2f252efc1ab8d3175c7fd9701dfe3079577 17-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: implement instanced drawing

Too bad we don't have hw array divisors or a method for
setting startInstance.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
0ae3db173455a77355b4e0ee6deeb862803e3d1c 16-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: handle all and more system values
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
bbb615382d60aa927913b5d1e834727854419438 16-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: support for geometry programs in nv50_program
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
e791e6f27cd8cac7f3a29a981cee1fd2070c94ed 16-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: get access to primitive input space

Vertex data in geometry programs is located in p[] space.
The base address in p[] for vertex i is located in vertex
attribute space, i.e. a[i << 2].

This means p[] is always accessed with an address register,
and I had to to mess with their allocation once again.

Also fixes negative offsets e.g. CONST[ADDR[0].x - 3].
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
c83093973e7e3ffb494a9d6ce265180664497437 12-Jan-2010 Marcin Slusarz <marcin.slusarz@gmail.com> nv50: fix memory leak on nv50_pc free
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
99637ba80e376e8dcdce8fb1597f55256c461aee 08-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: handle TGSI_OPCODE_UMAD,UMUL,NOT and fix SAD
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
222738fcf54c3164083e6330eb837c0ed0489f0f 08-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: free src temp_temps on emit
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
a5f771d7583f9cd2d47bc795fe9231d647659432 08-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: try to honor sprite coord mode
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
7fc5fcada5600b401d23a29a4a3d1a09e3492d1c 07-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: preallocate TEMPs written first time in a subroutine

Otherwise we risk overwriting them with temporary GPRs if
they're not used immediately after the CALL.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
a009fa430597d6c31b623a3989e95e0812c495e9 07-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: handle TGSI_OPCODE_SAD,UADD
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
d550de2342bd2672a74707554171f9f9f1947baa 07-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: handle TGSI_OPCODE_IMAX,IMIN,UMAX,UMIN
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
607b9c2e09def36aca0b77e26826cd22e2573e66 07-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: handle integer SET operations
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
ccc7d0cb7afdac3bca985b7326b53e5c8bf83b3a 07-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: handle TGSI_OPCODE_SHL,ISHR,USHR
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
152b3bd6ef70b74e2df50ff555cfacb5423ebf17 07-Jan-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: handle TGSI_OPCODE_F2I,F2U,I2F,U2F plus src mods
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
c77ade8fed2be933af3f493932cedee7ca868b04 29-Dec-2009 Maarten Maathuis <madman2003@gmail.com> nouveau: rewrite nouveau_stateobj to use BEGIN_RING properly

- The previous solution was hacky and didn't do subchannel autobinding.
- The beheaviour should match what libdrm_nouveau does closely.
- The solution remains statically sized, but when debugging is on it will check
for abuse.

Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
45a01bc5bd95a6cc85a9db7d8e2c07812346373d 31-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: small fix for handling "dangerous" swizzles
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
4e4244b910c83797e3dde62020618f20eb026908 31-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix TEXLOD sequence and use it only in FPs
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
616ddc8dfa5bfc886db8d4c7ef7fc66793f7940d 30-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: cannot kill branch if immediate is used

The immediate's bits eat the condition bits.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
b3425bc3607666e5c8ba4f403b4ead8c8870e49c 30-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: make assimilate_temp safe

Cannot change hw reg assigned to a TGSI TEMP on the fly if
we are in a loop, conditional, or can jump around wildly.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
d9ae8f31d5e687fae412edf888028cce69b039f0 30-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: handle TGSI_OPCODE_EXP,LOG

Not that they make much sense on nv50, but we also do LIT ...
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
f2cca04bd87547f8a76d87f4cd9b585de0cf40de 31-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add support for subroutines
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
170cdb4507683fb9042620f7ab2ad96e57787d6c 31-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: alloc_reg on reg_instance

If we create multiple instances of an nv50_reg referencing
them same resource, register allocation from alloc_reg has
to be done with the original nv50_reg.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
4d2551beb7b3f5ae9f47ee97e24556c5bcb905c8 29-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: neg and abs modifiers for flops

Also fixes RSQ of negative sources.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
3019afdbd862b86eb26d222d3a1d743faf3693be 28-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: don't negate immediates in set_immd

This negation would only be triggered in situations
where it's incorrect.
The caller of set_immd should negate the immediate value
in the instruction itself if desired, and will also know
if it's a float or an int.

ADD TEMP[0], CONST[0], -IMMD[0] would load the immediate
into extra TEMP, negated, and set the negate flag in add
as well - double negation.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
c84cc09d41a83caa96eca84c73284024d8d63024 28-Dec-2009 Marcin Kościelnicki <koriakin@0x04.net> nv50: Dehexify and bring up to date with new method defines.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
b7b2226a75f1955da9bd4a28754b7eaebb01fed5 24-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: support TGSI_OPCODE_CONT
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
d29f55546dec74ca77dce3a3bf581c251be1d397 24-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: make edgeflags work

It doesn't seem to be possible to set the egdeflag in the
vertex shader, so we need to fallback to pushing vertices
through the FIFO and use method 0x15e4 if they are used.

This only works if VP does MOV OUT[X] IN[Y] where X is the
edgeflag output, and Y is saved so we can tell the correct
input later.

The VP still writes the useless values to wasted outputs
as punishment.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
ebbc73d1aed283c9bc4aa2b37bed4374bbaec5b5 21-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: correct the negation of DDY sources

The state tracker now does the correct thing, so
interpret negation normally.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
b3ac75f7eb6348032c9b214d6048678aa1cc07c3 20-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: make address reg allocation a little less hacky

Before I tried to distinguish int +0 and -0, and regs
relative to $a1 would have been considered reserved
for TGSI.
This would probably never occur, let it be fixed even so.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
2ed083dda9600a1e20255b23c4bb9a156e765e1b 20-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: use BREAKADDR and BREAK for loops

This is easier, we don't have to record all the BRK branches
to fill in the address at ENDLOOP - which wasn't done before
and thus made all but the last BRK branch jump to the start.

Also, we don't risk reactivting threads that already left
the loop if we join threads after a conditional with a BRK
(although it might be wiser to remove the join altogether
in such cases).
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
3c7f109d67792e27064af5a07c754541348fd787 20-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: handle TGSI_OPCODE_RET,KILP
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
2677f199a547f6e44d964b8c34dd7f60d9523ab2 14-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: be more cautious about using reg_instance

Trying to free part of nv50_pc->reg_instances[] for an
nv50_reg representing an indirect constant resulted in
a segmentation fault.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
1778ddaf74aba72df167769bf42150810aac91a3 14-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: store immediates as uint32

Sometimes we want non-float immediates, hacking them into
floats isn't nice.

Sorry, this should have already been committed before.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
d4d880199ead954e79cad141f7a29f7dd17fe7fc 13-Dec-2009 Patrice Mandin <patmandin@gmail.com> nouveau: nv50: Add missing ctor_immd_4u32 function
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
44d8c9add2f095fc365ede751253d9fb7fc5c6e1 13-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add craziness for non-constant TXB and TXL

If lod or bias can be non-constant across a quad of fragments,
we need to execute TEX separately for each value.
Don't ask why.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
d80778218d512f51e1b52e2fe652021ecefd724a 10-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: support TXB and TXL

... and don't set the 'live' flag for TEX anymore, we'd
have to know if results affect the inputs for another TEX,
and I'm not going to do that kind of analysis now.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
6a689783b9f61fc12e35f7e613697a3f4b07766b 07-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add src_mask case for IF opcode
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
f7a97344924461d64bfa5bd1b6a2c1151b70cc7c 02-Dec-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: use copies of tgsi src nv50_regs

So we can use the 'mod' member without concern
if a source is used multiple times in 1 insn.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
87eec80c1120d2cd9749ee360b77922feabf7f10 01-Dec-2009 Keith Whitwell <keithw@vmware.com> Merge commit 'origin/tgsi-simplify-ext'

Conflicts:
src/gallium/drivers/r300/r300_vs.c
7494b829052a87d7a8c56c68300a110b40e401e8 29-Nov-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: match VP outputs to FP inputs ourselves

For each FP input, don't assume that the VP output will be
at the same position, but scan the semantics instead, then
put the correct output reg indices into VP_RESULT_MAP.

Position is still assumed to be the first output/input.

See 07fafc7c9346aa260829603bf3188596481e9e62, which renders
previous assumptions incorrect.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
3f471c7948425a9c8ae23a563e0e816954a7589a 26-Nov-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: don't permanently negate src in emit_ddy
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
cad14c2542698de144bb5434cefa02d7a00aaa74 27-Nov-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: do conversion of last insn to 64 bit format first

Simplifies things since the second to last one will then
be converted in the subsequent pass that ensures alignment
automatically.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
91a4e6d53f83c45c1da9240b6325011d96b61386 24-Nov-2009 Keith Whitwell <keithw@vmware.com> tgsi: rename fields of tgsi_full_src_register to reduce verbosity

SrcRegister -> Register
SrcRegisterInd -> Indirect
SrcRegisterDim -> Dimension
SrcRegisterDimInd -> DimIndirect
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
5b0824dfe5eaf59fa87134e7482b3d147b262901 24-Nov-2009 Keith Whitwell <keithw@vmware.com> tgsi: rename fields of tgsi_full_dst_register to reduce verbosity

DstRegister -> Register
DstRegisterInd -> Indirect
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
fe2b31e4a896167a33d267822b36eb2de0ceecba 24-Nov-2009 Keith Whitwell <keithw@vmware.com> tgsi: rename fields of tgsi_full_declaration to reduce verbosity

DeclarationRange -> Range
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
7d6c8f980d1e23ad6f557d650e89c715861a3b0c 24-Nov-2009 Keith Whitwell <keithw@vmware.com> tgsi: rename fields of tgsi_full_instruction to avoid excessive verbosity

InstructionPredicate -> Predicate
InstructionLabel -> Label
InstructionTexture -> Texture
FullSrcRegisters -> Src
FullDstRegisters -> Dst
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
763426a0256f0ab06f8af53947bd630f8600183a 24-Nov-2009 Keith Whitwell <keithw@vmware.com> tgsi: reduce repetition of structure name in its members

Rename Semantic.SemanticName to Semantic.Name. Similar for
SemanticIndex, and the members of the tgsi_version struct.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
56ee132f9671f70ff2b3ee04659beac0dfc6126d 24-Nov-2009 Keith Whitwell <keithw@vmware.com> gallium: try and update r300 and nv drivers for tgsi changes

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.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
618e3b89f6ecdf422132ecea19315b326dd348ec 03-Nov-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix shader emit_tex for cube textures
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
317ccfe0dfbfda13f58a26f661324d883b25a316 03-Nov-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add abs-modifier for emit_minmax
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
5de8f9744015d3645a12dac244ad47daf8481dd2 01-Nov-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: handle TGSI_SEMANTIC_FACE
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
496c9eaacfabc4df4e6fb5ba230e60dc660554c8 01-Nov-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: make IF condition safe

Don't assume that a SET that writes to IF's argument
directly precedes the IF.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
99e308a0e0479971fe3a8a0aba586e19456e4b88 01-Nov-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: implement TGSI_OPCODE_AND/OR/XOR

Will use AND for gl_FrontFacing, the face input
is either 0 or 0xffffffff.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
9831e1f76cd020e1cde2b13e03149415319a8135 31-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: use SIFC also for shader upload

Adds a more generic SIFC transfer function.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
525f529d138168386224136dc45abb858677bac7 31-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: make MRTs work

We have to indicate to the hw whether the FP exports
multiple colour results.
Method 0x121c is used to specify the number of RTs.
Also deactivate zeta explicitly if there's no zsbuf.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
683722740c85fb6b8c0a930e8a4dce51e1709464 23-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: do SIGN_SET as one instruction
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
99e728a13ea8518efc7e27242093b43470f102d6 23-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix saturation outside of tx_insn case
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
ad67326f12c0d6298cffc0fc4e421ddc02b3cb07 23-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: allow all 127 TEMP regs

We should really learn to not waste so many though.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
c738c9ab67859f3d4412417333d0f023dd18dc19 23-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix address reg code

Contained some rather obvious thinking errors before,
and didn't consider offsets from TGSI ADDRESS regs.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
b9cb74c7f826dfd320f5e5b54aa933898f7ddd3d 23-Oct-2009 Keith Whitwell <keithw@vmware.com> gallium: remove the swizzling parts of ExtSwizzle

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.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
ec5c23551cdb4c369d8f8f392208f4d4bf29911b 19-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add support for address regs

Allow indirect uniform access and increase the
limit on parameters from 128 to 512.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
eb7ea97e7fff1ee39921ad81294c4963b5b3ded8 19-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: cleanup emit_kil
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
2eef2017acbbb617c559555648c7745141f3aedb 19-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: implement TGSI_OPCODE_CMP
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
f204eb184237b387432413212a3a20d83c87594b 13-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: quick fix for insn src negation

We only have a per nv50_reg negation flag, if an
nv50_reg is used more than once in a TGSI op with
different sign modes, we'd generate wrong code.

We probably can't do much better without more
invasive changes.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
1635e8d6f4b96e691746e8c8c5a273089bae6843 14-Oct-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add support for DDX and DDY opcodes
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
5f4f7ad965c40327f16297606ed4f425598bfc2c 25-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix TEX for WriteMask not equal 0xf

If you e.g. only need alpha, it ends up in the first reg,
not the last, as it would when reading rgb too.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
001daf78c87b2d194b51bc650bf9f917d4224e31 24-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: RCP and RSQ cannot load from VP inputs
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
ef6805710d5c1b139695704051754f39654c8a2e 25-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix CEIL and TRUNC

Separated the integer rounding mode flag for cvt.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
e2b8dc3e38d1efddf2ded2e47a9e3092455d0f8a 25-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: implement BGNLOOP, BRK, ENDLOOP

There's a good chance a loop won't execute correctly
though since our TEMP allocation assumes programs to
be executed linearly. Will fix later.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
1196f9fbd68d9f3d1acd3d097711b382d7489f41 24-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: implement IF, ELSE, ENDIF opcodes
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
d3a9cf54c0a95fb60ac8921e100d51b53c44541b 15-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix stupid thinko in emit_set

When swapping sources 0 and 1, EQ of course does *not*
become NE, etc.

Introduced in 2b963f5c723401aa2646bd48eefe065cd335e280.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
750c6cae3d6f5b24c0c51537a5717894675645c6 15-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: let programs use the whole param buffer

Allocation is unnecessary since all uniforms are
uploaded on every constant buffer change anyway.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
01670ca8073b57029625873b5c8374fb8716e1eb 14-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add preliminary support for point sprites
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
06dac41cc50303fe767041dcb4b2192763dd9c16 15-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add support for point size per vertex
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
4d7b4781c82c60d646ee5e766824a0f894e4c292 14-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add support for light-twoside
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
6516594c8eec1088ee59e7c3254b2fdced2ff04b 14-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: proper linkage between VP and FP

This moves construction of the mapping between VP outputs
and FP inputs into validation.

The map also contains slots for special outputs like clip
distance and point size, so we need to at least merge the
VP related and FP related parts on validation if we want
to support those.

Now we match every single FP input component with results
from the VP and leave those not read out of the map, or
replace those not written by 0 (xyz) or 1 (w).
The bitmap indicating linear interpolants is also filled,
and flat FP inputs are mapped in only after non-flat ones,
as is required.

Furthermore, we can save some space by only fetching VP
attrs we actually use, and avoid wasting any output regs
because of TGSI using less than 4 components.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
38849c529e76b99f56f522be183a5935d617bcab 15-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: move allocation of pc regs

Make use of tgsi_shader_info to determine how many nv50_regs we
need to allocate, whether program uses KIL, or writes DEPR.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
e0951797cb2b356e64494e121e46fa3e00e25cf6 15-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: nicer initialization of nv50_regs
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
849885c7a6f44d96d74d9c5cd178a7bd2dd164ce 10-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: handle CEIL and TRUNC opcodes
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
2b963f5c723401aa2646bd48eefe065cd335e280 10-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: handle SEQ, SGT, SLE, SNE opcodes
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
e774b3c0f24c2dd5cd33c09fc7be7601371317cc 15-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: SIN and COS use src0.w for dst.w
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
81de711fc864247419221d700bd045addf22cb52 10-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: use broadcast TEMP reg in tx_insn

Makes some opcode cases nicer and might reduce the total
nr of TEMPs required, or save some MOVs.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
234d82ed632f8b53eec805383874de4fd00eff2a 15-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add nv50_tgsi_insn to handle swizzles safely
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
2da8608ad795d29fe7a908eaee3d6dd33e829f3e 10-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add functions for swizzle resolution

We're going to try to reorder the scalar ops of a vector instr
to accomodate swizzles that would otherwise require us to emit
to an additional TEMP first (like MOV R0.xy, R0.zx).
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
5d141b3e3e4a6874a58c893b3039f5c276cd26da 10-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: extend insn src mask function

Extend its usage to avoiding e.g. emission of negation
instructions in tx_insn for sources we don't need.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
8b1ef3fa357f5bbd6d3f73714a86ce380b867a71 03-Sep-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: move centroid, flat bits when making interp long

Before this, just the perspective divide bit was moved in
convert_to_long of the load interpolant instruction.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
a82cd55a5cb1ad617960551560b107edffad1e9a 01-Sep-2009 Ben Skeggs <bskeggs@redhat.com> nv50: SWZ is the same as MOV from our perspective
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
93ce4c99d4c4515b8f8c4e999af53c8196b5f9eb 16-Aug-2009 Maarten Maathuis <madman2003@gmail.com> nv50: whitespace fixes and deobfuscation
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
a2af40b846e0b510887aaf15c2777387a3caae62 15-Aug-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: align registers used with TEX to 4

The TEX instruction is passed the first index of a contiguous
range of 4 TEMP registers that contain coordinates / LOD and,
after execution, the texel values.
It seems the first index is required to be a multiple of 4 on
some (older ?) cards.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
f1aa2a43b7588aaca3ef175c8cc5366414cac2f8 14-Aug-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix typo in REALLOC's 2nd argument in ctor_immd
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
fd31f92cea0ce8613a22d8f4b3c75b340bcc5689 22-Jul-2009 Keith Whitwell <keithw@vmware.com> gallium: simplify tgsi_full_immediate struct

Remove the need to have a pointer in this struct by just including
the immediate data inline. Having a pointer in the struct introduces
complications like needing to alloc/free the data pointed to, uncertainty
about who owns the data, etc. There doesn't seem to be a need for it,
and it is unlikely to make much difference plus or minus to performance.

Added some asserts as we now will trip up on immediates with more
than four elements. There were actually already quite a few such asserts,
but the >4 case could be used in the future to specify indexable immediate
ranges, such as lookup tables.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
6b3ca672eb85d30d6c28e91000e2cc2231a41bef 05-Jun-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
80e9e1ee8172d1e5a81d702681897dddd9d815f1 05-Jun-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: move channel creation into pipe drivers
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
1b207d9bb81ae3385e5658a81c71fbf2fe15c18f 05-Jun-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: call notifier/grobj etc funcs directly

libdrm_nouveau is linked with the winsys, there's no good reason to do all
this through yet another layer.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
072fdc1fd325256d87b182d4f55c8a5838119cf0 04-Jun-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: pass nouveau_bo instead of pipe_buffer to so_ calls
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
c11c107f7d8f289f0cb83968c265fb78a274024a 28-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: negate sources directly where supported
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
87eea6e2b2df57bddb7155df794f02143e1ece40 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: introduce emit_cvt and use it

This makes some code cleaner, and we can now easily
do CEIL and TRUNC.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
3accd7ebe971624bed5624f73ed3522c9de4c193 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix TXP

For TXP we need to divide texture coords by their w component, or
use the coords' 1/w in the perspective interpolation instruction.

This also tries to support 1D, 3D and CUBE textures, and lets the
instruction only load the components that are used.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
94ba165dffa4d364a1335d3cd7c15558bf35fe3e 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: use multiple constant buffers

Use different buffers for immds, FP params, and VP params.
One has to map constant buffer indices in shader code to buffers
defined via CB_DEF. In principle, we could use more buffers so
we'd have to change the shader code less frequently.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
f9268ccd7f2ef2476db48f0aaca739bfb4ee9eab 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: don't look for unfreed temps in free_nv50_pc

Since we stopped using alloc_temp to get hw indices for FP attrs
there shouldn't be any non-deallocated temps left.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
7ab96f4f733437de693b9578c3649b56069e6f24 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: release hw TEMPs early

Since we know when we don't use a TEMP or FP ATTR register anymore,
we can release their hw resources early.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
708c711f8361ea82c1217e2614914ae047bc5bdf 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: allow immediates for MOV, ADD and MUL

Immediates are inlined now where possible, so we need to set
pc->allow32 to FALSE in LIT where we have the conditional MOV,
since immediates swallow the predicate bits.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
d015cba88f1ef217f6ef9d116ba6abb32e043baa 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: enable half insns for MOV and MUL
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
44b3bfaa7599add72d76b3802ddea05b5b5c6316 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: make sure half-long insns are paired

I chose to just convert unpaired 32 bit length instructions
after parsing all instructions, although it might be possible
to determine beforehand whether there would be any lone ones,
and then even do some swapping to bring them together ...
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
de651a228f9bbe5ab0e3b749b3dfda9aa5497097 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: enable KIL in register 19a8
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
dac709d0cf3258ad8e131964e513c2eabe1d554e 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: don't overwrite sources before they're used

This would have happened in p.e. ADD TEMP[0], TEMP[0].xyxy, TEMP[1]
or RCP/RSQ TEMP[i], TEMP[i].
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
f579a99cc608eaba6f617c11ab0aec7f3e9ef953 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: put FP outputs where they belong

Depth output in fragment programs should end up in the first
register after the color outputs.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
dd9ded42b9ff75aa0bbabef30d385a9f77851dce 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: modified FP attribute loading

VP outputs that should be loadable in the FP are mapped to
interpolant indices by HPOS, COL0 etc.; of course HPOS is
always written, so the highest byte of 1988 is a bitmask that
selects which components of HPOS are used for interpolants,
i.e. the FP inputs in COL0 start at index POPCNT(1988[24:28]).
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
e88ec312df000ac335d9bba6b75d836dfa1a1043 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: inspect decl semantic and interpolation mode

Record interpolation mode for attributes while parsing declarations,
and also remember the indices of FP color inputs and FP depth output,
which has to end up in the highest output register.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
bcecb8ff66d2c002ac1273c0a9e9b2b9f9d3d43e 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: record last access to temp and attr regs

We now inspect the TGSI instructions in tx_prep to determine where
temps and FP attrs are last accessed.
This will enable us to reclaim some temporaries early and we also
use it to omit pre-loading FP attributes that aren't used.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
7e7d3a87ec60f8e412d724c6586461501d420ec0 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: save some space in immediate buffer

We could do even better (like just allocating 1 value in alloc_immd),
but that's fine for now I guess.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
aad31d69ce9e2278d93e514b97e1a92a25f89826 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix SIGN_SET case in tgsi_src
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
4a7cf8f66ff5d7e15ae7f8f5542f27bc72c68709 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: set dst.z,w to 0,1 in SCS and XPD

According to tgsi-instruction-set.txt, if they are written, z and w
should be set to 0 and 1 respectively in SCS, and w to 1.0 in XPD.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
229992d2812581ffae24d69a5a983d2c8441f720 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: make LRP instruction nicer
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
9417582f39788476e1039df3f1bdf681686fb7b4 23-May-2009 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix some memory leaks in shader assembler
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
ca95d71a4bc63e2ea45abf9096a3da802819ef92 07-Mar-2009 Ben Skeggs <bskeggs@redhat.com> nouveau: make stateobjs start off with refcount of 1
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
5e27cd46c04a9e7b5904cc014bffd0f4daae31fe 04-Mar-2009 Michel Dänzer <daenzer@vmware.com> gallium: Unify reference counting.

The core reference counting code is centralized in p_refcnt.h.

This has some consequences related to struct pipe_buffer:

* The screen member of struct pipe_buffer must be initialized, or
pipe_buffer_reference() will crash trying to destroy a buffer with reference
count 0. u_simple_screen takes care of this, but I may have missed some of
the drivers not using it.
* Except for rare exceptions deep in winsys code, buffers must always be
allocated via pipe_buffer_create() or via screen->*buffer_create() rather
than via winsys->*buffer_create().
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
75f0b38d9ea4a7318b0d661712dda15e24707395 05-Feb-2009 Ben Skeggs <skeggsb@gmail.com> nv50: stop using nouveau_push.h, it's evil
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
5069bfed29bcee2c89c36c74c6d65d388eb7792e 03-Feb-2009 Zack Rusin <zackr@vmware.com> gallium: remove pipe_buffer from surfaces

this change disassociates, at least from the driver perspective,
the surface from buffer. surfaces are technically now views on the
textures so make it so by hiding the buffer in the internals of
textures.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
8337c78d91612d615a1368ee8ee188d80574fad4 12-Jan-2009 Ben Skeggs <skeggsb@gmail.com> nv50: change some magic reg, makes more things work

No real idea what this does.. but a lot of things that misrendered and
made the GPU throw a DATA_ERROR now work.. I'm wondering what side-effects
we'll see from this :)
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
d2442016afdc5e3b12b04d912f005ab183f7b8ff 13-Jan-2009 Ben Skeggs <skeggsb@gmail.com> nv50: implement KIL enough for progs/fp/kil to work
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
b01d0077af9d93c582e5f53ebd358ac8148b22df 12-Jan-2009 Ben Skeggs <skeggsb@gmail.com> nv50: disable shader debug
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
cd5d3fde13e424373feac9098453ed0ca7f6e4eb 05-Jan-2009 Ben Skeggs <skeggsb@gmail.com> nv50: fill image unit index in TEX varients
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
00b15c9f40944d94aa28a441edd7ebb51577d9ba 05-Jan-2009 Ben Skeggs <skeggsb@gmail.com> nv50: fix crash in nv50_program_destroy
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
5696267efd6f85d79f5fe511d1a066a17c4d1ccc 05-Jan-2009 Ben Skeggs <skeggsb@gmail.com> nv50: add TXP to TEX case.. not correct, but anyway..
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
0d54770cabbe034b0f07ab1b211c374d92ce19d4 05-Jan-2009 Ben Skeggs <skeggsb@gmail.com> nv50: indentation for TEX is a little overenthusiastic
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
3f66b72fdb4834c5211305698d22806eac80aa35 05-Jan-2009 Ben Skeggs <skeggsb@gmail.com> nv50: ensure we actually get contiguous regs for TEX insn.

Still many more horrible things to fix here...
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
fda01b584715c05696a0e6768fda669ef1eb5f3b 07-Aug-2008 Ben Skeggs <skeggsb@localhost.localdomain> nouveau: fix build
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
7c745de74997e859d7e2640092bda9ad900e28a9 11-Jul-2008 Ben Skeggs <skeggsb@gmail.com> nv50: add some texture formats
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
857a3294a959015bf893241199f7fd7f7882a6ab 11-Jul-2008 Ben Skeggs <skeggsb@gmail.com> nv50: add license headers to .c files
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
861629d1fd4a1d256c913470c33d9522e83d615d 10-Jul-2008 Ben Skeggs <skeggsb@gmail.com> nv50: more "abuse" by using libc malloc etc..
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
bf94027fdde51aed476e9bfdd4326aa9040440b0 29-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: fixes after rebase + commits note on the code that was just pushed.

OK, seems a lot of people have been getting the idea that nouveau is
dying lately - I decided to commit some of the work I've been doing lately
to prove them wrong :) Progress on my side is slow due to lack of time
mainly, but I'm still around.

Firstly, don't even bother trying to use gallium on G8x/G9x yet, it won't
work. I've deliberately left all the necessary winsys changes out of the
commits for a very good reason - I don't know what we're going to need from
the DRM exactly yet and don't want to be continually breaking interfaces
as I discover additional requirements. On my side, I think I've gone
through about 3 different DRM interface changes, and have just discovered
that I may need more yet. It'd be very annoying for everyone who uses
nouveau to keep things in sync. Once I've got it sorted - I'll commit a
lot of cool stuff. Stay tuned.

Also, don't look at the shader code.. it's horribly nasty and full of hacks,
I used it as an opportunity to learn G8x GPU programs at the same time.
New semi-decent code is in works, and will follow at some point. :)
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
e002ad77398fbe14a0efbd91824c3325ca09b4c1 24-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: whoops
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
e90130257527aff43f807ae16d802c5515d29e8e 23-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: remove some debug
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
5a3ea9ee59ac586955f7784eb25e7fd70d0c8882 18-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: simplify emit_interp a bit
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
fd7412a7f1beab8b81ce307b1054331eee102e8b 16-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: some people are just born stupid.. really..
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
598b2a51052913521e3059cdef7cf0c66a5adb90 16-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: make TEX a halfie
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
bb9efb5534a652878161e28bd73039eff5b11014 16-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: separate state validation and upload, similar to nv40
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
431504b99cd55948522e86a249e656e78598ddbd 16-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: hack of a TEX opcode
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
bcbe6baac37915563bc120ad558cd930bc1ddec1 16-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: hacks for stuff I don't really get yet
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
cae38d0fcc6c936d3a4dc25ca2dbef3d106d05a5 16-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: abuse constbuf upload for program upload
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
fea0b1651677444fc6c135e1a4b8ab6463a9fdf9 15-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: a couple more bits'n'pieces
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
da66b8a2f4c3c052ad71b2b6d5a845c2fd267c6e 15-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: disable inline IMMD for now, IMMD+pred == BANG!

fixes progs/fp/lit.txt
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
fa5cd63f96d2b69ded48d40b9cb7e57c147f7332 15-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: simplify interp crap a bit...

hopefully there wasn't a good reason I went the route I did.. can't recall..
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
c0ed6a871cd3513e17a1fab960f5626485ffed13 12-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: do tsc/tic upload + stub out shader TEX stuff
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
2fdeb4d5a5cc8b93bf885ba646e3a29a68c755ed 12-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: comment on a so-far unseen bug
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
619549a6377a58d54c9cf55f8863beed56b09566 12-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: valgrind complaint
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
f700d6be6335a4d4394296891f783687b6f2d4f2 12-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: remove some cruft, don't upload program unless really needed
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
ab3d55e2e3578db8deba84dcf47a024071486bd8 12-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: more efficient const upload + fixes (fp/* works now!)
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
aea1669ff221f97682f0be6a60632e40c2739d09 11-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: use constbuf segment 0 for everything - I can't make the others work..
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
1c7489bd7e5391136d0f2e68b467de89eb2d2bfc 11-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: allow relocating a shader's constants at upload time
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
40137ea2631a0c8158f99ae30ca90ed038b72076 11-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: carry instructions around in nv50_program_exec, not a flat array
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
19a1e9015e4ae429ab26e56848104fa209590338 11-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: rename nv50_state.h to nv50_program.h
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
585ae74d87f3d04a4b5b7c068b865292afd1a16b 11-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: move magics take 2
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
bce558b37cde4be5c70117f49a2570f2988e5849 11-Jun-2008 Ben Skeggs <skeggsb@gmail.com> Revert "nv50: move some magics"

This reverts commit 0a38de30429d3075fc6dfc9ff3729c5ca11f0c2f.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
7e9f6e290da23d7963857241b541e00c1fcf20dc 11-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: move some magics
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
7b7df34781844c39998d60bbb60880d960da3fb1 09-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: various fixes + SCS
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
21e688e0a3faeef18b07c4d860bd71cc6e3ddf4a 09-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: LRP
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
454394e749feca5ac00e7a270e6ca5529581d228 09-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: quick hack so progs/fp/fp-tri works for the moment
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
51ea3aae03154046316b814053f7493bdb10c853 09-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: fix SGE/SLT when sources need swapping
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
31f6a24b59b0ac18e04336d2e3cbaa643358c88a 09-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: support the other TGSI_UTIL_SIGN modes
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
6d0f7ea95475009ee17862786469f7b9a34a797f 09-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: note some things discovered during renouveau session
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
713ef6ccd2590bd866598bb6d4f646e9ec29ba78 09-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: use emit_flop() instead of building RCP manually on interp
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
b5bbf09c42a9d563984fad875ced5c4814033a3d 09-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: remove NV50_PROG_{VERTEX,FRAGMENT}
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
776e9581d16fc0fd28058fbcd879756fd5d40b96 09-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: delayed write of fragprog result regs until end of program
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
34a039ae7b158cacb5b20d91067e9d6458d30a56 08-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: fix src1 & src2 == const
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
afcaeaa0e4dc3ced40621c76304a2c0c5a3ab403 08-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: note a critical bug
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
9a37a56c8ab8c64bdadb1e1e807f885d6a5e3121 08-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: obey writemask in a couple of places
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
01e36eb531dfb4b1b3fd38d3fc00c6770833b5ea 07-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: LIT - sort-of

*somehow* we have the exact same bug here as on nv4x, the difference being
on nv4x the hw actually has a LIT opcode.. NVIDIA doesn't have the bug on
either arch FWIW.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
fe90cc509f75772ce202930c934bade1d4b116c8 07-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: obey per-source abs (TGSI_UTIL_SIGN_CLEAR)
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
faa1c02546db00f69c66db18076b5b0ac86d7138 07-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: create emit_pow() - emit_lit() will need to use it
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
686bc00c05094e8678747c111a6a70ad4b7063e3 07-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: oops, copy+pasto
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
ea4b09cbcbd9db82648ab30f18c0f46a66ab9f69 07-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: POW!
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
688064236ba8b5997014493eb6c6e3fe0739813e 07-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: fixes + untested _SAT modifier
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
34abb858e2aaef2c1a066a7cdb3e0376d6c9f6bd 07-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: handle 0/1 SWZ
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
33e4d30d50344be26398a51365bea1be37487403 07-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: DST
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
68091b0c89310c309b668c9d6d80640dc6040ab7 07-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: ABS
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
b4f7463585071236d633e4c857dbbdf67b03dc94 06-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: FLR/FRC
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
bdd31c20abb27665ca701a5a46e29d4cfa71f679 07-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: SGE/SLT
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
d69f33423087fc054181c60724f4bcbe29195e08 06-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: small cleanup
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
21e18e2b74d71c93af06ef4c603ca371c4614237 05-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: DPH, XPD, some TODOs
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
fbf4027dd9b279ec159906dcad134f71e34aaec8 05-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: fix EX2.. somehow
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
7df7f7bb99441ed8e2fba2840e0459e72691f272 05-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: big fuckup, fix it
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
52a69196c1680ff16d1ad1fc88e5869bc6055d00 04-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: some fixes + MIN/MAX
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
2a1fb44d75364f2492a1ae5d232218a92b8ca807 04-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: checkpoint: shader code now exceeds caps of "old" code
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
e55964099b0d47dea80920765daac09b9e2a61a7 02-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: remove hardcoded fp stuff
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
8ec6415e9fcf876c67bc1624f3eb7dd7624b7791 02-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: start using interpreter for fragprog too, not hardcoded passthrough
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
55b2fe1047b37d0d86641a252e1c745111030393 02-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: drop the majority of the old shader code, reimplement, only MOV so far.
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
22e0acc466947b203574c88f4964f61ef46ae3fd 02-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: split code/data upload out, fp will use it later on
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
207b7974723c6b88aacfa3703a1e049ff35db6a8 01-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: DPH
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
38ce697e5942550888c28bd4859ca2a92f247bf7 01-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: implement SUB
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
41cd9bddf77ea60f84a957e83ddf098818c95c41 01-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: fucking horrible hack, I really hate G8x shaders..
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
716c1cd2ecbc1e86c0fd747c9fa9e095ded5fd5d 01-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: use "real" constbufs for shaders + tcb uploads
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c
f722fd937db2f3cacf1947d538c66528fd16eb89 01-Jun-2008 Ben Skeggs <skeggsb@gmail.com> nv50: import current "state of the art" nv50 code
/external/mesa3d/src/gallium/drivers/nv50/nv50_program.c