[cts.https.html?q=webgpu:shader,validation,expression,call,builtin,cos:args:*]
  [:arg="bad_0args"]

  [:arg="bad_0array"]

  [:arg="bad_0bool"]

  [:arg="bad_0i32"]

  [:arg="bad_0struct"]

  [:arg="bad_0u32"]

  [:arg="bad_0vec2u"]

  [:arg="bad_2args"]

  [:arg="bad_no_parens"]

  [:arg="good"]


[cts.https.html?q=webgpu:shader,validation,expression,call,builtin,cos:integer_argument:*]
  [:type="f32"]

  [:type="i32"]

  [:type="u32"]

  [:type="vec2%3Ci32%3E"]

  [:type="vec2%3Cu32%3E"]

  [:type="vec3%3Ci32%3E"]

  [:type="vec3%3Cu32%3E"]

  [:type="vec4%3Ci32%3E"]

  [:type="vec4%3Cu32%3E"]


[cts.https.html?q=webgpu:shader,validation,expression,call,builtin,cos:must_use:*]
  implementation-status: backlog
  [:use=false]
    expected: FAIL

  [:use=true]


[cts.https.html?q=webgpu:shader,validation,expression,call,builtin,cos:values:*]
  implementation-status: backlog
  expected:
    if os == "linux" and debug: [OK, TIMEOUT]
  [:stage="constant";type="abstract-float"]
    expected: FAIL

  [:stage="constant";type="abstract-int"]
    expected: FAIL

  [:stage="constant";type="f16"]
    expected:
      if os == "win" and not debug: [PASS, FAIL]
      if os == "mac": FAIL

  [:stage="constant";type="f32"]

  [:stage="constant";type="vec2%3Cabstract-float%3E"]
    expected: FAIL

  [:stage="constant";type="vec2%3Cabstract-int%3E"]
    expected: FAIL

  [:stage="constant";type="vec2%3Cf16%3E"]
    expected:
      if os == "win" and not debug: [PASS, FAIL]
      if os == "mac": FAIL

  [:stage="constant";type="vec2%3Cf32%3E"]

  [:stage="constant";type="vec3%3Cabstract-float%3E"]
    expected: FAIL

  [:stage="constant";type="vec3%3Cabstract-int%3E"]
    expected: FAIL

  [:stage="constant";type="vec3%3Cf16%3E"]
    expected:
      if os == "win" and not debug: [PASS, FAIL]
      if os == "mac": FAIL

  [:stage="constant";type="vec3%3Cf32%3E"]

  [:stage="constant";type="vec4%3Cabstract-float%3E"]
    expected: FAIL

  [:stage="constant";type="vec4%3Cabstract-int%3E"]
    expected: FAIL

  [:stage="constant";type="vec4%3Cf16%3E"]
    expected:
      if os == "win" and not debug: [PASS, FAIL]
      if os == "mac": FAIL

  [:stage="constant";type="vec4%3Cf32%3E"]

  [:stage="override";type="f16"]
    expected:
      if os == "win" and not debug: [PASS, FAIL]
      if os == "mac": FAIL

  [:stage="override";type="f32"]
    expected: FAIL

  [:stage="override";type="vec2%3Cf16%3E"]
    expected:
      if os == "win" and not debug: [PASS, FAIL]
      if os == "mac": FAIL

  [:stage="override";type="vec2%3Cf32%3E"]
    expected: FAIL

  [:stage="override";type="vec3%3Cf16%3E"]
    expected:
      if os == "win" and not debug: [PASS, FAIL]
      if os == "mac": FAIL

  [:stage="override";type="vec3%3Cf32%3E"]
    expected: FAIL

  [:stage="override";type="vec4%3Cf16%3E"]
    expected:
      if os == "win" and not debug: [PASS, FAIL]
      if os == "linux" and debug: [PASS, TIMEOUT, NOTRUN]
      if os == "mac": FAIL

  [:stage="override";type="vec4%3Cf32%3E"]
    expected:
      if os == "win": FAIL
      if os == "linux" and debug: [FAIL, TIMEOUT, NOTRUN]
      if os == "linux" and not debug: FAIL
      if os == "mac": FAIL
