summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-09-29 12:26:21 -0700
committerEric Anholt <[email protected]>2014-09-29 13:48:08 -0700
commitae22f5aa14db0a42f4b6adafa11aa9f7bfd5d115 (patch)
tree22b4e9e1f2d6de2beb516ee2c273cd9253ae5a2e /src/gallium/drivers/vc4/vc4_qir.h
parentb65761f764f2c03b375460b3d6e36227ec161c2d (diff)
vc4: Add support for texture border color.
One spot in the docs says that it's stored at a miplevel just beyond the last miplevel, which was scary. But really, you just load it as the R coordinate (which conflicts with cubemaps, but you don't do border clamping on cubes).
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h
index f4b01423387..2807b497ffe 100644
--- a/src/gallium/drivers/vc4/vc4_qir.h
+++ b/src/gallium/drivers/vc4/vc4_qir.h
@@ -207,6 +207,8 @@ enum quniform_contents {
QUNIFORM_TEXRECT_SCALE_X,
QUNIFORM_TEXRECT_SCALE_Y,
+ QUNIFORM_TEXTURE_BORDER_COLOR,
+
QUNIFORM_BLEND_CONST_COLOR,
QUNIFORM_STENCIL,