<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/148026>148026</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Support spirv glsl ext op with scalar args for distance, length, reflect, smoothstep & faceforward
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          raoanag
      </td>
    </tr>
</table>

<pre>
    As per discussion on [Refract PR](https://github.com/llvm/llvm-project/pull/147342#discussion_r2193712407), SPIRV supports operands with both scalar and vector types. 

Need to update error handling and removing any vector type block for SPIRV and add relevant tests to check the implementation.


</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUkkFvnD4QxT-NuYz-KzPAAgcOm0Qr_S9VlEi9VgYP4MZrW55h03z7atlG6bUn27Lneeb9nmF2SyAaVPOgmqfCbLLGPGQTTTBLMUb7MZwYEmWwjqeN2cUAMYBqHl5ozmYSeH5RzZPCbhVJrKqTwrPC8-Jk3cbDFC8Kz95fP5f_Uo4_aRKF57R5r_Bc1m1Vo8Lq64cfGcu-akusdauwV_gIr8__v3wH3lKKWRhiomyCZXh3ssIYZQWejDcZTLBwpUliBvlIxAdQ-qT06RuRBYmwJWuEgHKOGVYTrHdh2asyXeL1fvj4WwJGH6c3mGP-08XtsbG3Ak9XEwSEWPgmPq00vYGsBO6SPF0oiBEXw-HeQ2GHyvZVbwoayrbBssUeu2Id0Bw7so1ty2481jM2hOVxbpuxnVFX5bFwA2psdFvqsqtRdwetG9tXZT_bkcj0nao1XYzzh5vJh5iXwjFvNJR1p_FYeDOS5x0zYqB32G8V4o16HnYy47awqrV3LPwlI048Da9344GTy1dYPHugXwIx3QF8ep8X3n2yjsWEiW7kPIVF1tsu0-x39I_AlxhlZaEECo8wm4nmmN9NtsWW_fDPWdrH4T1N-7zXAX8HAAD__8H48ls">