diff options
author | Axel Davy <[email protected]> | 2018-09-23 18:24:18 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2018-09-25 22:05:24 +0200 |
commit | 7ae2509ce06d9d3da44de3f25afc7370e2330030 (patch) | |
tree | 7e589fc9a52f93d3611eda0ceb64cab9303b367b | |
parent | dc4b53e129150e85903214fc7cdd3cd437843392 (diff) |
st/nine: Increase maximum number of temp registers
With some test app I hit the limit.
As we allocate on demand (up to the maximum),
it is free to increase the limit.
Signed-off-by: Axel Davy <[email protected]>
CC: <[email protected]>
-rw-r--r-- | src/gallium/state_trackers/nine/nine_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/nine_shader.c b/src/gallium/state_trackers/nine/nine_shader.c index 5c33a6308c2..2b11958b261 100644 --- a/src/gallium/state_trackers/nine/nine_shader.c +++ b/src/gallium/state_trackers/nine/nine_shader.c @@ -487,7 +487,7 @@ struct shader_translator struct ureg_dst predicate_dst; struct ureg_dst tS[8]; /* texture stage registers */ struct ureg_dst tdst; /* scratch dst if we need extra modifiers */ - struct ureg_dst t[5]; /* scratch TEMPs */ + struct ureg_dst t[8]; /* scratch TEMPs */ struct ureg_src vC[2]; /* PS color in */ struct ureg_src vT[8]; /* PS texcoord in */ struct ureg_dst rL[NINE_MAX_LOOP_DEPTH]; /* loop ctr */ |