OSDN Git Service

Revert "nir/intrinsic: Allow up to four indices"
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 27 Oct 2015 20:44:14 +0000 (13:44 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 27 Oct 2015 20:44:14 +0000 (13:44 -0700)
This reverts commit 5eccd0b4b947d806c0725899a827e622e605f2cc.

This was only needed for the store_ssbo_vk_indirect intrinsic

src/glsl/nir/nir.h

index d0304be..ac418df 100644 (file)
@@ -874,7 +874,7 @@ typedef struct {
     */
    uint8_t num_components;
 
-   int const_index[4];
+   int const_index[3];
 
    nir_deref_var *variables[2];