It's 0x0B for whatever reason.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3580>
DEFINE_CASE(TEXTURE_OP_NORMAL, "texture");
DEFINE_CASE(TEXTURE_OP_LOD, "textureLod");
DEFINE_CASE(TEXTURE_OP_TEXEL_FETCH, "texelFetch");
+ DEFINE_CASE(TEXTURE_OP_BARRIER, "barrier");
DEFINE_CASE(TEXTURE_OP_DFDX, "dFdx");
DEFINE_CASE(TEXTURE_OP_DFDY, "dFdy");
#define TEXTURE_OP_LOD 0x12 /* textureLod */
#define TEXTURE_OP_TEXEL_FETCH 0x14 /* texelFetch */
+/* Implements barrier() */
+#define TEXTURE_OP_BARRIER 0x0B
+
/* Computes horizontal and vertical derivatives respectively. Use with a float
* sampler and a "2D" texture. Leave texture/sampler IDs as zero; they ought
* to be ignored. Only works for fp32 on 64-bit at a time, so derivatives of a