8a9cad6384c61670e96165ad8c5f6ade927c6fa0 |
|
18-Nov-2011 |
Brian Paul <brianp@vmware.com> |
svga: use dummy shaders when translation fails Before, if shader translation failed for any reason we'd keep trying to translate the shader over and over again during state validation. The dummy fragment shader emits solid red so that might be visual clue that translation is failing. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
58ea42b7db72586563914dea6fed9656caaf7678 |
|
04-Nov-2011 |
Brian Paul <brianp@vmware.com> |
svga: implement generic variable index remapping The state tracker may generate shaders that use generic vs outputs / fs inputs like: DCL IN[0], GENERIC[0] DCL IN[1], GENERIC[10] DCL IN[2], GENERIC[11] This patch remaps 0, 10, 11 to small integers like 1, 2, 3 so that we stay inside the SVGA3D limit (8). The remapping is done to both the vertex shader outputs and the fragment shader inputs. The same mapping must be used for a vs/fs pair. Note that 'union svga_compile_key' is now 'struct svga_compile_key' because we needed to add the register remapping table. The change in size isn't really significant though (it's not a search key). Also, add assertions when building up SVGA3D src/dst registers to we don't try to store too large of value for the bitfield size. Reviewed-by: José Fonseca <jfonseca@vmware.com>
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
5f053bf4ae092df9e5ff6ab38caf9867e6fe46bf |
|
23-Sep-2011 |
Brian Paul <brianp@vmware.com> |
svga: clean up return values and error codes Previously we were using a hodge podge of int vs. pipe_enum and 0 vs. PIPE_OK. Some functions that always returned PIPE_OK were made void.
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
9bd15aef865352b9234fedae76617fc51c71e6d5 |
|
26-Jul-2011 |
Brian Paul <brianp@vmware.com> |
svga: implement texture swizzling This exposes the GL_EXT_texture_swizzle extension and allows the various depth texture modes to be implemented properly. This, plus a follow-on texture/shadow change fixes quite a few piglit GLSL shadow sampler test failures.
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
49a6f5e68eeb6b23bb040cfc1f93befc2f1eb35a |
|
19-Jul-2011 |
Brian Paul <brianp@vmware.com> |
svga: check that we don't exceed input/ouput register limits
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
2f40e4aac7ab79deb06ff6ab9ae03a896d7a9169 |
|
13-Jul-2011 |
Brian Paul <brianp@vmware.com> |
svga: implement point sprite suppport Emit the SVGA3D_RS_POINTSPRITEENABLE render state. When sprite_coord_mode=PIPE_SPRITE_COORD_LOWER_LEFT emit extra frag shader code to invert the Y coordinate of the incoming texcoord.
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
2bd9b386e6c8f47537c8da50d2f5378b287b3c4f |
|
16-Dec-2010 |
Brian Paul <brianp@vmware.com> |
svga: s/varient/variant/
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
0bd1cbcd0d28dbadfb0c3e1f8b048a18b56bc72c |
|
14-May-2010 |
Keith Whitwell <keithw@vmware.com> |
gallium: convert rasterizer state to use gl-style front/back concepts Use front/back instead of cw/ccw throughout. Also, use offset_point/line/fill instead of offset_cw/ccw. Brings gallium representation of this state into line with its main user, and also what turns out to be the most common hardware representation. This fixes a long-standing bias in the interface towards the architecture of the software rasterizer.
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
f6106566081978f663cf08e54bb8908cb58a5316 |
|
19-Feb-2010 |
Michal Krol <michal@vmware.com> |
gallium: WIP: Introduce sampler views.
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
45dac0d82a5a69166e86dce77c2550f7512c541e |
|
03-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
Merge branch 'gallium-embedded'
|
fc3efccdc67390847fc544f97dbdb1826442ae9a |
|
26-Jan-2010 |
Keith Whitwell <keithw@vmware.com> |
svga: better method for generating white fs color outputs
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
28486880ca3ec39419ccee0cb1a3bedc9ef7117c |
|
02-Feb-2010 |
José Fonseca <jfonseca@vmware.com> |
gallium: pipe/p_inlines.h -> util/u_inlines.h
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
b01ffb12ed82dcf435b186e2aff35e344a8a6ebe |
|
14-Jan-2010 |
Jakob Bornecrantz <jakob@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c
|
1b333453e4998d5db76952aed6caa34d98dfdc7c |
|
13-Jan-2010 |
José Fonseca <jfonseca@vmware.com> |
svga: Fix compile_vs error code. It could erroneously return PIPE_OK in some circumstances. Make compile_fs code identical.
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
fd70841121475d7aad98812d6bf9c9c67567b89a |
|
08-Jan-2010 |
Brian Paul <brianp@vmware.com> |
Merge branch 'mesa_7_7_branch' Conflicts: src/mesa/drivers/dri/i965/brw_wm_emit.c
|
8d38ef455196e6ddda22536e435638a02a7b48f3 |
|
06-Jan-2010 |
Michal Krol <michal@vmware.com> |
svga: Fix fs key size computation and key comparison. This also allows us to have texture_target back as a bitfield and save us a few bytes.
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
468f270f3fc0efc136d03d0b6022916ddd8ea893 |
|
07-Jan-2010 |
Vinson Lee <vlee@vmware.com> |
svga: Silence uninitialized variable warning.
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
8ebef37c7ba67c4449367b95821293176a0a370b |
|
05-Jan-2010 |
José Fonseca <jfonseca@vmware.com> |
svga: Rebind shaders when tokens change. Even shader ID doesn't change. Otherwise the token change is not effective. This reverts regression from commit cdb445f3a9285e2d8f042a07021ade78b94e0156. Regression could be seen in Quake3's loading screen -- the upper right corner of the screen would be black.
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
cdb445f3a9285e2d8f042a07021ade78b94e0156 |
|
03-Jan-2010 |
José Fonseca <jfonseca@vmware.com> |
svga: Use a shader id as low as possible.
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|
3192633d4abe262d413e41feb871fe8deed409d8 |
|
16-Nov-2009 |
Jakob Bornecrantz <jakob@vmware.com> |
svga: Add svga driver
/external/mesa3d/src/gallium/drivers/svga/svga_state_fs.c
|