[Mesa-dev] [PATCH 3/5] st/dri: add a drirc workaround for Rocket League

Marek Olšák maraeo at gmail.com
Thu Jun 22 00:20:55 UTC 2017


On Wed, Jun 21, 2017 at 4:32 PM, Roland Scheidegger <sroland at vmware.com> wrote:
> Am 21.06.2017 um 00:54 schrieb Marek Olšák:
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> This needs to be passed to gallium drivers.
>> ---
>>  src/gallium/include/pipe/p_defines.h            | 6 ++++++
>>  src/gallium/state_trackers/dri/dri_screen.c     | 5 +++++
>>  src/mesa/drivers/dri/common/drirc               | 4 ++++
>>  src/mesa/drivers/dri/common/xmlpool/t_options.h | 4 ++++
>>  4 files changed, 19 insertions(+)
>>
>> diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
>> index b195af4..2ccdf44 100644
>> --- a/src/gallium/include/pipe/p_defines.h
>> +++ b/src/gallium/include/pipe/p_defines.h
>> @@ -383,20 +383,26 @@ enum pipe_flush_flags
>>   */
>>  #define PIPE_CONTEXT_ROBUST_BUFFER_ACCESS (1 << 2)
>>
>>  /**
>>   * Prefer threaded pipe_context. It also implies that video codec functions
>>   * will not be used. (they will be either no-ops or NULL when threading is
>>   * enabled)
>>   */
>>  #define PIPE_CONTEXT_PREFER_THREADED   (1 << 3)
>>
>> +/**
>> + * Implicit and explicit derivatives after KILL behave as if KILL didn't
>> + * happen.
>> + */
>> +#define PIPE_SCREEN_ENABLE_CORRECT_TGSI_DERIVATIVES_AFTER_KILL (1 << 0)
> Nothing against descriptive names, but isn't that a bit excessive?

At least it doesn't need any comments or documentation. :)

Marek


More information about the mesa-dev mailing list