[Mesa-dev] sampler types in tgsi

Ilia Mirkin imirkin at alum.mit.edu
Fri Nov 28 21:12:15 PST 2014


Hello,

It appears that the A3XX ISA (freedreno) requires the texture
instruction to properly specify its output type (or at least f32 vs
u32). Now I could stick this into a driver-local shader key, but it
seems unfortunate since in glsl, it knows whether it's an int or float
sampler.

Would there be any objections to being able to specify an int property
on the SAMP declaration? Or some alternate approach?

  -ilia


More information about the mesa-dev mailing list