The last big piece of ARB_gpu_shader5! This series adds support for using dynamically uniform expressions in sampler array indexing, as required by ARB_gpu_shader5. Gen7 is supported (including Haswell's "high samplers"). Gen8 support would be a straightforward addition for someone who has access to the hardware.
Caveats: - Haswell sampler state pointer adjustment is not optimal. If we knew the possible range of samplers an instruction could reference in the generator, we could take the constant fixup path if the sampler array did not span a 16-sampler boundary. - The various shader-based workaround flags are taken from array index 0, in the non-const case. This causes wrong behavior if the flags differ between array elements. [Ken and I discussed this during planning, and this seemed a reasonable initial implementation.] _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev