History log of /external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.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_shader_state.c
19fd04f5eaf76f6ea5effa69d91c415bba75ba8e 19-Jun-2012 Marcin Slusarz <marcin.slusarz@gmail.com> nv50: fix buffer reuse issues

1) We need to insert a barrier between consecutive transform feedback calls.
2) VBO cache needs to be flushed when TFB output is used as VBO draw input.

Fixes Piglit test EXT_transform_feedback/immediate-reuse.

Thanks to Christoph Bumiller for pointing out bugs in previous versions
of this patch.
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
169a0ae40aed27e3f61ac5989b05f0014dab6525 14-Jun-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: disable stream output before reconfiguring it

If we don't, the GPU will just throw an ILLEGAL_OPERATION error.
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_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/nv50/nv50_shader_state.c
02fac2930581b9bea9f6d221eb6d6b471fc3b9c6 03-May-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: implement stream output
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
dcc91fc5d3e79135e912a93e9de31d6d3a3458ff 08-Apr-2012 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: update FP linkage state on one/two-sided lighting switch
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.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_shader_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/nv50/nv50_shader_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/nv50/nv50_shader_state.c
e9d84dab8817a0a7e463229b9a2820b00a9ce667 28-Jul-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: implement resource_resolve with custom blit
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
a8b9a75b921b66581b5762c7b5aab1eaa25def7f 14-Jun-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix copy/paste error in nv50_gmtyprog_validate

Used the vertprog instead of gmtyprog.
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.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_shader_state.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_shader_state.c
7048ad62f89289c9e642203c009dca38ce8753f8 03-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: increase size of shader code bo

512 KiB should be quite enough, but dynamic resize might be nicer.
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
fa94f8b209c111f2c3cd9250d9fec6cd03726114 02-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix POINT_COORD_REPLACE_MAP method size

Introduced in 223d98bb8d49c9e52e498a12980722467ae2bf87.
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
223d98bb8d49c9e52e498a12980722467ae2bf87 02-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix point sprite state validation

Wasn't updated if the FP didn't change, and coordinate replacement
wasn't disabled anymore.
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
908013b7370f8dfe20a1ab41b353968a60a9055d 02-Mar-2011 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: apply relocations to shader code

On nv50, branches are absolute, so we need to adjust them according
to the shader's position in the code buffer.
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_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/nv50/nv50_shader_state.c
79079141fa7cbf395d1ffc77364ac301d9824211 28-Feb-2011 Ben Skeggs <bskeggs@redhat.com> nv50: move onto common linear buffer manager

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.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_shader_state.c
ec51092a72e2dff1e9b1362d813fe4691cda89b7 19-Dec-2010 Marek Olšák <maraeo@gmail.com> gallium: remove unused 'buf' parameter in pipe_buffer_unmap
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
8dfafbf0861fe3d2542332658dd5493851053c78 02-Nov-2010 Keith Whitwell <keithw@vmware.com> st/mesa: unbind constant buffer when not in use

Important as more constant buffers per shader start to get used.

Fix up r600 (tested) and nv50 (untested) to cope with this. Drivers
previously didn't see unbinds of constant buffers often or ever, so
this isn't always dealt with cleanly.

For r600 just return and keep the reference. Will try to do better in
a followup change.
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
e0b93c5bebab8ebd2e387d6031f97c6bc4328dbf 27-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix GP state bind and validate
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
613c3901c3cb748d7ef0bc3162ce3fcb986e9047 18-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix typo in fifo packet length limit
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
4c1e7d931dd6e5676297bee23932cc6d66c93cac 18-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: emit constbuf relocs before uploading constants
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
275a81af13624be70566e190d4dd1f457ea1ff33 18-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: add relocs for stack and local mem buffers
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
cbc674879528e6b227aa2e67b6c58b54e24a3b97 16-Sep-2010 Vinson Lee <vlee@vmware.com> nv50: Silence uninitialized variable warning.
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
4d4278675ea84e4f1a750de151c994b57c0ac988 16-Sep-2010 Vinson Lee <vlee@vmware.com> nv50: Remove unnecessary headers.
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
fc31a25afa2d28dea9bbda08ce8deab5aa96b684 12-Sep-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: minor compiler fixes and cleanups
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
bae181f78d6ff5e37ef3c022563b2077c0247c2b 23-Aug-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix check for sprite/point coord enable
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
0df5e84b01f5420e37006a32c916835af2aa4314 22-Aug-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: yet another case we need a nop.exit
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
cb75082768d516d684a69588266b92b06e19b7bd 17-Aug-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix PSIZ and PRIMID mapping

Initializing map to 0x40 (0x80) instead of 0 now, so need to clear
it first.
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
720e0c430d0a66cbf5adfcf40030f27e55ad6c6a 31-Jul-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: fix constbuf validation

We only uploaded up to the highest offset a program would use,
and if the constant buffer isn't changed when a new program is
used, the new program is missing the rest of them.

Might want to introduce a "fill state" for user mem constbufs.
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c
633f5ac6124b1b57152c09becba92d176e905ae9 23-Jul-2010 Christoph Bumiller <e0425955@student.tuwien.ac.at> nv50: import new compiler
/external/mesa3d/src/gallium/drivers/nv50/nv50_shader_state.c