summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/galahad/glhd_public.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-09-26 11:22:20 +0100
committerJosé Fonseca <[email protected]>2010-10-06 11:44:59 +0100
commite74955eba3fc22fcf6e9111a4e5bbc095d34d357 (patch)
tree0cb6dc63712366064753e68d60468e6839de9d27 /src/gallium/drivers/galahad/glhd_public.h
parent446dbb921762710d678486f3f5a6dfdf318fe34c (diff)
llvmpipe: Fix perspective interpolation for point sprites.
Once a fragment is generated with LP_INTERP_PERSPECTIVE set for an input, it will do a divide by w for that input. Therefore it's not OK to treat LP_INTERP_PERSPECTIVE as LP_INTERP_LINEAR or vice-versa, even if the attribute is known to not vary. A better strategy would be to take the primitive in consideration when generating the fragment shader key, and therefore avoid the per-fragment perspective divide.
Diffstat (limited to 'src/gallium/drivers/galahad/glhd_public.h')
0 files changed, 0 insertions, 0 deletions