summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_extensions.c
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-12-13 12:45:37 -0800
committerPaul Berry <[email protected]>2012-12-14 10:49:32 -0800
commit6ee500cfd28324bef27f145fbe03e77993810c45 (patch)
tree5b8ce8b22ddaaf7dd1afeed00b6f78455f1176cf /src/mesa/state_tracker/st_extensions.c
parent1745a4d751a4184771628ad2be1336439c831afb (diff)
mesa: Add an option so driver can opt out of varying packing.
On hardware that supports a limited number of texture indirections, varying packing will comsume an extra texture indirection, since ALU operations are needed in the fragment shader to unpack the varyings before any texturing can be done. This patch introduces a new driver option, ctx->Const.DisableVaryingPacking, which can be used by a driver to opt out of varying packing if the extra texture indirection is costly enough to outweigh the advantages of packing varyings. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
0 files changed, 0 insertions, 0 deletions