float PixelShaderFunction() { // TODO: All of the below should fail, although presently the first failure // aborts compilation and the rest are skipped. Having a separate test for // each would be cumbersome. vector r00; // cannot declare vectors of voids matrix r01; // cannot declare matrices of voids vector r02; // too many parameters to vector matrix r03; // not enough parameters to matrix int three = 3; vector r04; // size must be a literal constant integer matrix r05; // size must be a literal constant integer vector, 3> r06; // type must be a simple scalar vector r07; // type must be a simple scalar return 0.0; }