xemu/subprojects/glslang/Test/spv.tensorARM.invalid_opera...

13 lines
304 B
Plaintext

#version 460 core
#extension GL_ARM_tensors : enable
uniform tensorARM<int, 2> t;
void main() {
int ret;
// error: operands is not a constant expression.
uint operands = gl_TensorOperandsNonTemporalARM | gl_TensorOperandsOutOfBoundsValueARM;
tensorReadARM(t, uint[](0,0), ret, operands, 1);
}