projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e17333e
)
iris: Allow sample mask of 0
author
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 16 Jan 2019 07:22:48 +0000
(23:22 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:11 +0000
(10:26 -0800)
I think this was an attempt to work around various sample mask bugs I
had early on. It's not correct. A sample mask of 0 is legal and means
to disable all samples.
Fixes dEQP-GLES31.functional.texture.multisample.*.*sample_mask*
src/gallium/drivers/iris/iris_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/iris/iris_state.c
b/src/gallium/drivers/iris/iris_state.c
index 74a84e5065ced4e161bdeb02065754824feaa378..e77c991ecc1559317e8414ecf79a68b4eaa5392f 100644
(file)
--- a/
src/gallium/drivers/iris/iris_state.c
+++ b/
src/gallium/drivers/iris/iris_state.c
@@
-4316,7
+4316,7
@@
iris_upload_dirty_render_state(struct iris_context *ice,
if (dirty & IRIS_DIRTY_SAMPLE_MASK) {
iris_emit_cmd(batch, GENX(3DSTATE_SAMPLE_MASK), ms) {
- ms.SampleMask =
MAX2(ice->state.sample_mask, 1)
;
+ ms.SampleMask =
ice->state.sample_mask
;
}
}