mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
i915g: Ignore color0 writes all cbufs tgsi property
This commit is contained in:
parent
9f2062fb12
commit
b7a73c72a6
1 changed files with 8 additions and 0 deletions
|
|
@ -924,6 +924,14 @@ i915_translate_instructions(struct i915_fp_compile *p,
|
|||
tgsi_parse_token( &parse );
|
||||
|
||||
switch( parse.FullToken.Token.Type ) {
|
||||
case TGSI_TOKEN_TYPE_PROPERTY:
|
||||
/*
|
||||
* We only support one cbuf, but we still need to ignore the property
|
||||
* correctly so we don't hit the assert at the end of the switch case.
|
||||
*/
|
||||
assert(parse.FullToken.FullProperty.Property.PropertyName ==
|
||||
TGSI_PROPERTY_FS_COLOR0_WRITES_ALL_CBUFS);
|
||||
break;
|
||||
case TGSI_TOKEN_TYPE_DECLARATION:
|
||||
if (parse.FullToken.FullDeclaration.Declaration.File
|
||||
== TGSI_FILE_CONSTANT) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue