History log of /external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8592933de82f7742f411cb2f2c339ff7d42266da 31-Jul-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: make resolve sampler objects allow sRGB conversion

Just figured out what that bit does.

Note: It's converted back to sRGB on write, so no effective
conversion occurs.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
6286d9810b7ebae588060370cd7a63c327478a2f 31-Jul-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> Revert "gallium: specify resource_resolve destination via a pipe_surface"

This reverts commit 5d5af7d359e0060fa00b90a8f04900b96f9058b0.

It turns out the issue this was supposed to fix merely counter-acted
a bug in the hardware driver that I wasn't aware of.

The resource_resolve is not supposed to do sRGB conversion, period.
(This would violate the requirement that source and destination must
be of the same format).
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
5d5af7d359e0060fa00b90a8f04900b96f9058b0 25-Jul-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> gallium: specify resource_resolve destination via a pipe_surface

The format member of pipe_surface may differ from that of the
pipe_resource, which is used to communicate, for instance, whether
sRGB encode should be enabled in the resolve operation or not.

Fixes resolve to sRGB surfaces in mesa/st when GL_FRAMEBUFFER_SRGB
is disabled.

Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
b328949a37fee7b0f68ed3e068ffc4426c083042 29-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: fix depth/stencil resolve

Cannot sample depth/stencil with a single view, and needed to use
different shader code for nve4.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
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_surface.c
7a40ae4a31f3ab526706fdfda7631d54f094512a 28-Feb-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: prefix all macro methods with MACRO

Some of them have non-macro counterparts.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
784f49e69624cba07616fd5a22ccb80ad3b5111b 08-Mar-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: track texture dirty state individually
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.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_surface.c
dc4c821f0817a3db716f965692fb701079f66340 10-Jan-2012 Marek Olšák <maraeo@gmail.com> Squash-merge branch 'gallium-clip-state'

Conflicts:
src/gallium/auxiliary/tgsi/tgsi_strings.c
src/mesa/state_tracker/st_atom_clip.c

commit d919791f2742e913173d6b335128e7d4c63c0840
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 17:59:22 2012 +0100

d3d1x: adapt to new clip state

commit cfec82bca3fefcdefafca3f4555285ec1d1ae421
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 14:16:51 2012 +0100

gallium/docs: update for clip state changes

commit c02bfeb81ad9f62041a2285ea6373bbbd602912a
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 14:21:43 2012 +0100

tgsi: add TGSI_PROPERTY_PROHIBIT_UCPS

commit d4e0a785a6a23ad2f6819fd72e236acb9750028d
Author: Brian Paul <brianp@vmware.com>
Date: Thu Jan 5 08:30:00 2012 -0700

tgsi: consolidate TGSI string arrays in new tgsi_strings.h

There was some duplication between the tgsi_dump.c and tgsi_text.c
files. Also use some static assertions to help catch errors when
adding new TGSI values.

v2: put strings in tgsi_strings.c file instead of the .h file.

Reviewed-by: Dave Airlie <airlied@redhat.com>

commit c28584ce0d8c62bd92c8f140729d344f88a0b3cd
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Fri Jan 6 12:48:09 2012 +0100

gallium: extend user_clip_plane_enable to apply to clip distances

commit f1d5016c07f786229ed057effbe55fbfd160b019
Author: Marek Olšák <maraeo@gmail.com>
Date: Fri Jan 6 02:39:09 2012 +0100

nvfx: adapt to new clip state

commit 6f6fa1c26bd19f797c1996731708e3569c9bfe24
Author: Marek Olšák <maraeo@gmail.com>
Date: Fri Jan 6 01:41:39 2012 +0100

st/mesa: fix DrawPixels with GL_DEPTH_CLAMP

commit c86ad730aa1c017788ae88a55f54071bf222be12
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Tue Jan 3 23:51:30 2012 +0100

nv50: adapt to new clip state

commit 3a8ae6ac243bae5970729dc4057fe02d992543dc
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date: Tue Jan 3 23:32:36 2012 +0100

nvc0: adapt to new clip state

commit 6243a8246997f8d2fcc69ab741a2c2dea080ff11
Author: Marek Olšák <maraeo@gmail.com>
Date: Thu Dec 29 01:32:51 2011 +0100

draw: initalize pt.user.planes in draw_init

This fixes a crash in glean/fpexceptions.

commit e3056524b19b56d473f4faff84ffa0eb41497408
Author: Marek Olšák <maraeo@gmail.com>
Date: Mon Dec 26 06:26:55 2011 +0100

svga: adapt to new clip state

commit c5bfa8b37d6d489271df457229081d6bbb51b4b7
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 14:11:51 2011 +0100

r600g: adapt to new clip state

commit f11890905362f62627c4a28a8255b76eb7de7df2
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 14:10:26 2011 +0100

r300g: adapt to new clip state

commit e37465327c79a01112f15f6278d9accc5bf3103f
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 12:39:16 2011 +0100

draw: adapt to new clip state

This adds a regression in the LLVM clipping path. Can anybody see anything
wrong with the code? It works for every other case, just glean/fpexceptions
crashes when doing the "Infinite clip plane test".

commit b474d2b18c72d965eefae4e427c269cba5ce6ba2
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 13:14:59 2011 +0100

u_blitter: don't save/set/restore clip state

commit 9dd240ea91f523a677af45e8d0adb9e661e28602
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 13:11:56 2011 +0100

gallium: don't cso_save/set/restore clip state

The enable bits are in the rasterizer state.

commit a4f7031179f5f4ad524b34b394214b984ac950f6
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 12:58:55 2011 +0100

gallium: default depth_clip to 1

depth_clip = !depth_clamp

commit fe21147a00ab90e549d63fe12ee4625c9c2ffcc3
Author: Marek Olšák <maraeo@gmail.com>
Date: Mon Dec 26 06:14:19 2011 +0100

trace,util: update state logging to new clip state

Also dump the other missing flags.

commit 2a3b96e84ac872dcc5bc1de049fe76bb58d64b23
Author: Marek Olšák <maraeo@gmail.com>
Date: Sun Dec 25 10:43:43 2011 +0100

st/mesa: adapt to new clip state

commit b7b656a42fca19d7c85267f42649a206a85a2c72
Author: Marek Olšák <maraeo@gmail.com>
Date: Sat Dec 17 15:45:19 2011 +0100

gallium: move state enable bits from clip_state to rasterizer_state
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.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_surface.c
28271fd00dc5dd83f95b5cb890e0ab2c0ff6159d 18-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: add support for linear and buffer textures and RTs
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
e104bb9f926ee4c0847327bc396f467a47e26582 14-Oct-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: fix clear_render_target/depth_stencil region

In all 3 dimensions (now clearing all layers too).
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
866f9b18c68ede63c00917ec9c3dae3524ca8826 11-Sep-2011 Dave Airlie <airlied@redhat.com> gallium: rename ZS stencil type to UINT (v2)

these are never USCALED, always UINT in reality.

taken from some work by Christoph Bumiller

v2: fixup formatting of table + tabs

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
6dd284f7c8fac22f64c13fdf9909094f5ec59086 16-Sep-2011 Dave Airlie <airlied@redhat.com> gallium: move clear paths from rgba to a pointer to a color union (v2)

This moves the gallium interface for clears from using a pointer to 4 floats to a pointer to a union of float/unsigned/int values.

Notes:
1. the value is opaque.
2. only when the value is used should it be interpretered according to
the surface format it is going to be used with.
3. float clears on integer buffers and vice-versa are undefined.

v2: fixed up vega and graw, dropped hunks that shouldn't have been in
patch.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
7744e867b7f45f3f9d763b61d7219dc28ca39c45 14-Sep-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: implement resource_resolve
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
222b3ea653e5525a4afa57e6a2353335953012d4 27-Aug-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: add states mask to state validation function

This prevents null dereferences in validation of interdependent
state after a switch to a pipe context where we mark all state
as dirty but where not all state is valid / set yet.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
9e466e87e6fde23f8ec0923be86005be81ac2d24 25-Jul-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: never convert in resource copy when format sizes match

If there are any cases left where the st thinks that RGBA -> BGRA
will swap components, it will get what it deserves.

Now the GPU's 2D engine goes unused. What a shame.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
7e2827fad95071e04e382be0117c654445764c52 11-Jul-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: extensive surface format renaming to get consistency

Now the component ordering is consistent and matches gallium again.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
b2dcf880e8bcd61be59602f5a2d18c77a5fc60c1 11-Jul-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: add support for multi-sample resources
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
cad17554c4b121c03e188dd0281718a52d603a15 14-Jul-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: unify nvc0_miptree and nv50_miptree structs

Share some functions and restructure miptree creation a little.
Prepare for multi-sample resources.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
883d8a0b449b53d83cc5970d2ce50df536aef55f 21-Apr-2011 Marek Olšák <maraeo@gmail.com> gallium: add fallback for copying buffers to all drivers

Just to keep drivers working.

Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
11f07a35f4734401999c00749e36f39d3e7ad161 05-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: s/nblocksx/nblocksy for height in resource_copy_region
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
e4c968cdbbdc020afbf869d12b536c0a0dbf9de8 04-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: update the format tables

Removed sampler view support for USCALED/SSCALED, the texture unit
refuses to convert to non-normalized float. The enums are treated
like UNORM.

Removed duplicate format related headers.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
f556b897eb5a41116529bec24d47f70a0c46789f 04-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: use m2mf for resource_copy_region if formats are equal

Which is always the case, but we'll keep the 2D engine blitter
nonetheless.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
4fae7da9a3a3849ca08ffc6fcbdccc6a9c065ad2 05-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: fix texture layer issues
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
1ba8e9510812f155359d380bda6876cdee5ba21e 01-Mar-2011 Ben Skeggs <bskeggs@redhat.com> nouveau: ensure vbo_dirty is set when buffer write transfer complete

This introduces a shared nouveau_context struct to track such things.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
4826cd0f6125b071530026143ffd8205d84b3d5e 01-Mar-2011 Ben Skeggs <bskeggs@redhat.com> nvc0: port to common fence/mm/buffer code

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
19f2272e94895cf241f6b05117535e008e07d0a7 14-Feb-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: demagic the clear flags and fix region clears

The CLIP_RECTs always affect dedicated clears, and it's nicer than
having to mark the viewport or scissor state dirty after it.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
1b4c0c8ea0b4e6065f23f9f2bbb954a7bd2549e4 12-Feb-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: update the set of formats supported by the 2D engine
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
ca5deb0c355cc4a120b754a228ff5f51007fbcea 19-Dec-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: adapt to array textures interface change
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c
4c2247538394a313e1e90bfcd07c1ab9c7d41281 12-Nov-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: import nvc0 gallium driver
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_surface.c