Just issue errors if both "signed" and "unsigned" are specified, or if "signed" is applied to a non-int type.
8 lines
121 B
Plaintext
8 lines
121 B
Plaintext
// "signed" qualifier is illegal with non-integer type "uniform struct Foo"
|
|
|
|
struct Foo {
|
|
float x;
|
|
};
|
|
|
|
signed Foo f;
|