nir: Don't manually index intrinsic index enum
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 13 Jun 2019 14:48:41 +0000 (16:48 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Thu, 13 Jun 2019 15:10:41 +0000 (17:10 +0200)
commit37b92b0ae6f7a70ab0c341f288c065cef521f00f
treea0ea429b7a0dcc24627eb731977d72ce8db97540
parent901795238bda23826727b48f9ad67155d42ad2eb
nir: Don't manually index intrinsic index enum

This fixes a rebase fail in ea51275e07b, and prevents it from happening
again. There's no reason to do this manually.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir.h