etnaviv: drop default state for PE_STENCIL_CONFIG_EXT2
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 29 Jan 2020 22:06:35 +0000 (23:06 +0100)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 29 Jan 2020 22:31:04 +0000 (23:31 +0100)
It gets emitted when needed.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3631>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3631>

src/gallium/drivers/etnaviv/etnaviv_context.c

index c3ea0b0d4af903277495fe8918bbcaeb0c1a99c7..df8c00c55563618f079a6ca9e4a31ec2d598b76f 100644 (file)
@@ -373,7 +373,6 @@ etna_reset_gpu_state(struct etna_context *ctx)
    etna_set_state(stream, VIVS_PA_VIEWPORT_UNK00A84, fui(8192.0));
    etna_set_state(stream, VIVS_PA_ZFARCLIPPING, 0x00000000);
    etna_set_state(stream, VIVS_RA_HDEPTH_CONTROL, 0x00007000);
-   etna_set_state(stream, VIVS_PE_STENCIL_CONFIG_EXT2, 0x00000000);
    etna_set_state(stream, VIVS_PS_CONTROL_EXT, 0x00000000);
 
    /* There is no HALTI0 specific state */