aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-12-05 20:41:55 -0700
committerBrian Paul <[email protected]>2018-09-10 13:07:30 -0600
commit6b039c7d7cb2807a1b16c892b78f5f4ad65c8947 (patch)
tree06c504f1907061dabe2aa7d2df59d762e88db8d5 /src/intel
parentcf2fb6813c97594e2cc64100b8262de259d9ff1a (diff)
svga: check number of samples before emitting MSAA decls/opcodes
If real MSAA is not available, we only support 1 sample/pixel. In that case, we must not declare MSAA resources or emit MSAA opcodes. Do that by checking the sample count. Fixes several piglit MSAA tests, such as arb_texture_multisample-sample-depth (when the hard-coded sample count of 4 is fixed in that test). Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/intel')
0 files changed, 0 insertions, 0 deletions