summaryrefslogtreecommitdiffstats
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-22 11:52:16 -0600
committerBrian Paul <[email protected]>2009-04-22 11:52:16 -0600
commitac22178eb049126003db40b0a77a111498a12ab7 (patch)
tree87b4fdc578cd992a5ece5d6cbe956f9d12844ad5 /progs
parent5c8fb6acc10662c9e71078c9f273db6c7808e9ff (diff)
i965: enable VS constant buffers
In the VS constants can now be handled in two different ways: 1. If there's room in the GRF, put constants there. They're preloaded from the CURBE prior to VS execution. This is the historical approach. The problem is the GRF may not have room for all the shader's constants and temps and misc registers. Hence... 2. Use a separate constant buffer which is read from using a READ message. This allows a very large number of constants and frees up GRF regs for shader temporaries. This is the new approach. May be a little slower than 1. 1 vs. 2 is chosen according to how many constants and temps the shader needs.
Diffstat (limited to 'progs')
0 files changed, 0 insertions, 0 deletions