summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/nine_shader.h
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-09-17 12:14:58 +0200
committerAxel Davy <[email protected]>2016-10-10 23:43:49 +0200
commit1604efa6fda9b780e8537a131ad77f3e83e5a67a (patch)
tree4a8d2bf4fbc460f5ec89cfd07462a03fe2984a14 /src/gallium/state_trackers/nine/nine_shader.h
parent56ea3df7d437f3f4460992f18eae3dbf00af8ab9 (diff)
st/nine: Add support for swvp constants in shaders
swvp has relaxed limits (more nested loops, etc). In particular it enables more constants. Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/nine_shader.h')
-rw-r--r--src/gallium/state_trackers/nine/nine_shader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/nine_shader.h b/src/gallium/state_trackers/nine/nine_shader.h
index 7f2f57f0d34..092ae634d7d 100644
--- a/src/gallium/state_trackers/nine/nine_shader.h
+++ b/src/gallium/state_trackers/nine/nine_shader.h
@@ -76,6 +76,8 @@ struct nine_shader_info
struct nine_lconstf lconstf; /* out, NOTE: members to be free'd by user */
uint8_t bumpenvmat_needed;
+
+ boolean swvp_on;
};
static inline void