History log of /external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e44089b2f79aa2dcaacf348911433d1e21235c0c 14-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: add initial support for nve4+ (Kepler) chipsets

Most things that work on Fermi should work on Kepler too.

There are a few performance optimizations left to do, like better
placement of texture barriers and adding scheduling data to the
shader instructions (without them, a thread group will be masked
for 32 cycles after each single instruction issue).
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
98116cc3dc3fc2cd84990cc2c968f05fe2978b4a 06-Apr-2012 Francisco Jerez <currojerez@riseup.net> nv50/ir: Build a "symbol" table with the binary offsets of each function.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
36158c199448ce038d9fe913d972f29a655aecab 01-Mar-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: only force early fragment tests if requested by shader
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_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/nvc0/nvc0_program.c
0d27be3d7982d38d3c26e693be959a9e6b776e5f 20-Jan-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: handle discontiguous outputs in stream_output_info
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
2449695e822421fdcaf1c66dffc12d7d705ea69d 17-Dec-2011 Marek Olšák <maraeo@gmail.com> gallium: improve the pipe_stream_output_info struct (v2)

There are 3 changes:

1) stride is specified for each buffer, not just one, so that drivers don't
have to derive it from the outputs

2) new per-output property dst_offset, which specifies the offset
into the buffer in dwords where the output should be stored,
so that drivers don't have to compute the offsets manually;
this will also be useful for gl_SkipComponents
from ARB_transform_feedback3

3) register_mask is removed, instead, there is start_component
and num_components; register_mask with non-consecutive 1s
doesn't make much sense (some hardware cannot do packing of components)

Christoph Bumiller: fixed nvc0.

v2: resolve merge conflicts in Draw and clean it up
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
7b6881932a71b36dd47f63200c9dbee8e2b9af4f 12-Jan-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: fix submission of VertexID and EdgeFlag in push mode

NOTE: This is a candidate for the 8.0 branch.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_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/nvc0/nvc0_program.c
5a7c3433521f50ee06883728f86bc4bbf1bf479b 08-Jan-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: fix FP header clip distance mask
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
7fd802b96cd916e5cadf7eda7329105169dd29bb 08-Jan-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50/ir: handle TGSI_SEMANTIC_VERTEXID
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
b85e93c0ca5ce881a59412b3ae617b5ac2c3aeb6 07-Jan-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50/ir,nvc0: make ClipDistance and ClipVertex work
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
14bd9d764802b5fedb652c791faafe4d13b65262 09-Dec-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: implement new stream output interface
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
73ea0e7fd405af2866062492231c84580a306211 18-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: add support for clip distance shader outputs
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
3cc1dd5b8060ac2e4fc11318683720a6b6dc991a 15-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: fix location of the PrimitiveID output
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
3637537a1f84b8b3fa07507ea1f503d219cce496 17-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: prevent VERTEXID/INSTANCEID from consuming input slots
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
44c23e9052d787f5e87bc028409424f417a15831 17-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: fixes for program tessellation parameters
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
ff583a47ee41390a594c5f569d991c9d4e5ee972 25-Sep-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: fix assertion that immediate array buffer fits
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_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/nvc0/nvc0_program.c
74559abbef5e5bcd3dbe1b8bbb8a39391a8a8671 10-Apr-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: silence shader debug output
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
d546df4d9c090656c506e8a959646a48ed00efc2 10-Apr-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: force perspective correction hint to nicest

Fixes issues in e.g. nexuiz (desertfactory) or supertuxkart that
look like lighting bugs.

They're not visible with the software rasterizers because their
notion of linear interpolation seems to be different from that
of nv50/nvc0.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
07f73577af29d68a245283be65b12aca244c0690 13-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: support edge flags
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
259efc90e7a1a14bc1797707c8f05d5200f4d0b6 12-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: mask out centroid bit for writing FP header

It's only 2 bit per input, centroid is set in the instruction.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
d7a23cfb8837b7e2db446f631ef65460cbebee09 05-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: fix unitialized variable in TGSI sysval decl processing
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
11b9f4439c56045a8f718e483844135dd9fbcb58 23-Feb-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: fix PointCoord enable in FP header
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
1a8297139396ec2a6415ef803a3901e1ecef485c 24-Feb-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: set local memory usage info in shader header

Before this, l[] access was a no-op.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
80a7ae3cc5735b7615c049425b306a53662740a9 12-Feb-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: disable early fragment tests if KIL is used

Early-Z pass raises the occlusion counter.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
a287a758c6567405a7ea10df21e586d1e2ff08ec 23-Jan-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: implement point coord replacement

But we have to cheat and peek at the GENERIC semantic indices the
state tracker uses for TEXn.
Only outputs from 0x300 to 0x37c can be replaced, and so we have to
know on shader compilation which ones to put there in order to keep
doing separate shader objects properly.

At some point I'll probably create a patch that makes gallium not
force us to discard the information about what is a TexCoord.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
a4742c6a07179f01eebfc486e6cd21be05d9c8ae 16-Jan-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: fix and enable instanced drawing and arrays
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
b50d02e2e0729de101fd0acddeac21cca038786e 13-Jan-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: enable early fragment tests where possible
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
2f08d872b212fc294d354ec34eb9184ae2c2bcc3 04-Jan-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: set the correct FP header bit for multiple colour outputs
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
92caa65c24d1af99e02715dae1f1081278bf9e64 02-Jan-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: demagic GP invocation count bitfield
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
5138ac033ad3708e2b82f2beebc887f65a77309e 11-Dec-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: support user clip planes
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
dea9d604005e9aaed2bd6807f1913ac668479443 10-Dec-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: fix FACE state and and handle FACE sysval/varying offset
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
0d1a2bd0fb356fdb74a9aed1c34276dc9e97b4c6 09-Dec-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: generate shader header for geometry programs
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c
4c2247538394a313e1e90bfcd07c1ab9c7d41281 12-Nov-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: import nvc0 gallium driver
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_program.c