History log of /external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fc782bcbf04f036990f69b14e01304e1e6dc8fd1 14-Jun-2012 Marcin Slusarz <marcin.slusarz@gmail.com> nv50,nvc0: fix stream output target buffer leak

It manifests at exit as:
"WARNING: destroying GPU memory cache with some buffers still in use"
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
1a21e36b6818991ced32d0e3d1acc1fea0d936ce 24-May-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: optimize blend cso by checking which by-RT data actually differs

Can save about 200 bytes of command buffer space.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
e6caafd9d7fbfcb5906d22be9d6a3c1714e078ac 16-May-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: handle user vertex buffers

And restructure VBO validation a little in the process.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
ef7bb281292c17b762b57779306e874704c87328 16-May-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: handle user index buffers
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
fcb28682101dfa127486373411043d5d97a0ff8f 16-May-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: handle user constbufs without wrapping them in a resource
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
0b7d48cbad86eaac21fce3793da41b46db8be3b4 24-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium: add void *user_buffer to pipe_constant_buffer

This reduces CPU overhead when updating constants.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
43995c9470dd38cf80a60a169f5875de6798863f 24-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium: remove pipe_context::redefine_user_buffer
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
507337864fa80caf9f26602324d2c28dd0a75d61 24-Apr-2012 Marek Olšák <maraeo@gmail.com> gallium: change set_constant_buffer to be UBO-friendly
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.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_state.c
edbfeed56f1ebd8517840ef48f8c87e24bb98157 16-Mar-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: improve vertex state validation

Now updating vertex attribute format only when necessary.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.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_state.c
2d06ee8bf784d98a822617db5366f56b9bb5d3a2 07-Mar-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: hold references to the framebuffer surfaces
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.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_state.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_state.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_state.c
861a029ddb31e91bb4d8e18ab708d0d172f63aad 15-Dec-2011 Marek Olšák <maraeo@gmail.com> gallium: interface changes necessary to implement transform feedback (v5)

Namely:
- EXT_transform_feedback
- ARB_transform_feedback2
- ARB_transform_feedback_instanced

The old interface was not useful for OpenGL and had to be reworked.

This interface was originally designed for OpenGL, but additional
changes have been made in order to make st/d3d1x support easier.

The most notable change is the stream-out info must be linked
with a vertex or geometry shader and cannot be set independently.
This is due to limitations of existing hardware (special shader
instructions must be used to write into stream-out buffers),
and it's also how OpenGL works (stream outputs must be specified
prior to linking shaders).

Other than that, each stream output buffer has a "view" into it that
internally maintains the number of bytes which have been written
into it. (one buffer can be bound in several different transform
feedback objects in OpenGL, so we must be able to have several views
around) The set_stream_output_targets function contains a parameter
saying whether new data should be appended or not.

Also, the view can optionally be used to provide the vertex
count for draw_vbo. Note that the count is supposed to be stored
in device memory and the CPU never gets to know its value.

OpenGL way | Gallium way
------------------------------------
BeginTF = set_so_targets(append_bitmask = 0)
PauseTF = set_so_targets(num_targets = 0)
ResumeTF = set_so_targets(append_bitmask = ~0)
EndTF = set_so_targets(num_targets = 0)
DrawTF = use pipe_draw_info::count_from_stream_output

v2: * removed the reset_stream_output_targets function
* added a parameter append_bitmask to set_stream_output_targets,
each bit specifies whether new data should be appended to each
buffer or not.
v3: * added PIPE_CAP_STREAM_OUTPUT_PAUSE_RESUME for ARB_tfb2,
note that the draw-auto subset is always required (for d3d10),
only the pause/resume functionality is limited if the CAP is not
advertised
v4: * update gallium/docs
v5: * compactified struct pipe_stream_output_info, updated dump/trace
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
4f4a1be2009863ea34a69b22f58aa1ca08cd710f 19-Nov-2011 Marek Olšák <maraeo@gmail.com> gallium: disable stream output in drivers that support it

I am going to make interface changes and I don't want to break compilation.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
b3fa0d311e553ec815d58e58a30aa8b3927e4afd 24-Sep-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: support polygon offset clamp state
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.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_state.c
7b4e478496cf45f527f72c39d72efe2e94fe2386 09-Apr-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50-nvc0: make use of COLOR_MASK,BLEND_ENABLE_COMMON
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
d9ef97696770c8a6b04e4adf9a813614f9b3c741 08-Apr-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: shrink CSOs a little
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
843d5391c3b7b80ff2087ce7e6440417aab623cc 31-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: identify some line rasterization state

Fixes width of non-smooth (aliased) lines on nvc0.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
8f060df60d1f5ad63a341e39f2ec5a0c3c452cf5 29-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: implement colour clamping controls
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
26a199efac43cc0509f174ca47ad0d2b0044eee0 13-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: add some missing resource referencing
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
f0ee7d8bb46ac7694693f3fb8cd0f15c422f1bef 13-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: don't enable early-z if alpha test is enabled

Depth values are also written before the shader is executed, so if
early tests are enabled, fragments that failed the alpha test were
modifying the depth buffer, but they shouldn't.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
d9f1310e519ac8182329fcd3e6c357d44d110955 11-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: move sprite coord replace state into cso

It's not dependent on any other state anymore now.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
1f5d6fc59bd899e211c70026eb74cd2219858008 04-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50,nvc0: share sampler state creation
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.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_state.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_state.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_state.c
1579017b08f28d460e17de65bcc8ba17ba695c37 19-Feb-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: multiply polygon offset units by 2

Wasn't sure if this still was necessary because the piglit test
started to fail at some point on nv50 where we already do this.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
3903e25a2cd6c198581021242897b1952d2afea0 16-Feb-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: fix blend factor mapping
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
e7845e319679e3539274c37e9c16692a2dfe59fe 15-Feb-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: fix clipping and use VIEWPORT instead of SCISSOR
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
293a8d1b600cd5bd89b3c4c0b6c2bb245d9bd80f 14-Feb-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: front stencil mask and func mask methods are swapped
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
588fa884d212eba5ffbc69fda75db37d7c77214c 09-Feb-2011 Marek Olšák <maraeo@gmail.com> gallium: notify drivers about possible changes in user buffer contents

Also implement the redefine_user_buffer hook in the drivers.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
f8a7a0b6f30ff38b2743860cbc4caeab102c2c29 30-Jan-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: implement transform feedback state
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
370ae0bd614fcbf9c4c0424fb5c41f2cfbc17b3e 13-Jan-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: identify POINT_RASTER_RULES, add POINT_SMOOTH state

Point smoothing requires rasterization rules to be set to OGL.

Sorry for the extra noise caused by the header update.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
0cb6d1a4eb2dd682b499f54a82505bc3bd318bbc 27-Dec-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: reference the vertex buffers
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
e4349027f6842563555992a39add4d0b2283fbbb 27-Dec-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: implement VRAM buffer transfers with bounce buffers
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
2c20aae23393a3f6899f1775df47697ce65fc6ca 22-Dec-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: use most defs/decls from nouveau_pushbuf.h
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
d047168d81cfeb39a98f3ae16416872facc6237c 19-Dec-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: fix clipping with scissors/viewport

Also setup optional path to use proper primitive clipping instead,
which is probably slower.
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c
5138ac033ad3708e2b82f2beebc887f65a77309e 11-Dec-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: support user clip planes
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.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_state.c
4c2247538394a313e1e90bfcd07c1ab9c7d41281 12-Nov-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nvc0: import nvc0 gallium driver
/external/mesa3d/src/gallium/drivers/nvc0/nvc0_state.c