title: Error in Geometry Shader from large array
body: <p>When I try to link my Geometry Shader it throws the following error:</p>
  
  <pre><code>0(76) : error C5041: cannot locate suitable resource to bind variable "triTable". Possibly large array.
  </code></pre>
  
  <p>In reference to this array declared in the shader:</p>
  
  <pre><code>    const int triTable[256][16] =
      { { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
      { 0, 8, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
      { 0, 1, 9, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
      ...
      ...
      ...
      { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 } };
  </code></pre>
  
  <p>The array is quite large. Does this have to do with the array being just too big to declare within the shader, or is there some other problem?</p>