blob: 4cae946fe39b9c156f97551a54ca28e49f0d1f89 [file] [log] [blame]
SKIP: FAILED
#include <metal_stdlib>
using namespace metal;
sampler x_10;
texture1d<float, access::sample> x_20;
void main_1() {
}
fragment void tint_symbol() {
main_1();
}
program_source:4:1: error: constant sampler must be declared constexpr
sampler x_10;
^
constexpr
program_source:5:34: error: program scope variable must reside in constant address space
texture1d<float, access::sample> x_20;
^