mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 04:40:09 +01:00
nvc0: update "derived" state function names
derived_1/2/etc aren't too informative. Instead name them based on the state they're derived from. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
89a7496b9d
commit
1f5f64b91f
1 changed files with 8 additions and 8 deletions
|
|
@ -614,7 +614,7 @@ nvc0_validate_driverconst(struct nvc0_context *nvc0)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
nvc0_validate_derived_1(struct nvc0_context *nvc0)
|
nvc0_validate_fp_zsa_rast(struct nvc0_context *nvc0)
|
||||||
{
|
{
|
||||||
struct nouveau_pushbuf *push = nvc0->base.pushbuf;
|
struct nouveau_pushbuf *push = nvc0->base.pushbuf;
|
||||||
bool rasterizer_discard;
|
bool rasterizer_discard;
|
||||||
|
|
@ -639,7 +639,7 @@ nvc0_validate_derived_1(struct nvc0_context *nvc0)
|
||||||
* nvc0_validate_fb, otherwise that will override the RT count setting.
|
* nvc0_validate_fb, otherwise that will override the RT count setting.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
nvc0_validate_derived_2(struct nvc0_context *nvc0)
|
nvc0_validate_zsa_fb(struct nvc0_context *nvc0)
|
||||||
{
|
{
|
||||||
struct nouveau_pushbuf *push = nvc0->base.pushbuf;
|
struct nouveau_pushbuf *push = nvc0->base.pushbuf;
|
||||||
|
|
||||||
|
|
@ -653,7 +653,7 @@ nvc0_validate_derived_2(struct nvc0_context *nvc0)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
nvc0_validate_derived_3(struct nvc0_context *nvc0)
|
nvc0_validate_blend_fb(struct nvc0_context *nvc0)
|
||||||
{
|
{
|
||||||
struct nouveau_pushbuf *push = nvc0->base.pushbuf;
|
struct nouveau_pushbuf *push = nvc0->base.pushbuf;
|
||||||
struct pipe_framebuffer_state *fb = &nvc0->framebuffer;
|
struct pipe_framebuffer_state *fb = &nvc0->framebuffer;
|
||||||
|
|
@ -672,7 +672,7 @@ nvc0_validate_derived_3(struct nvc0_context *nvc0)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
nvc0_validate_derived_4(struct nvc0_context *nvc0)
|
nvc0_validate_rast_fb(struct nvc0_context *nvc0)
|
||||||
{
|
{
|
||||||
struct nouveau_pushbuf *push = nvc0->base.pushbuf;
|
struct nouveau_pushbuf *push = nvc0->base.pushbuf;
|
||||||
struct pipe_framebuffer_state *fb = &nvc0->framebuffer;
|
struct pipe_framebuffer_state *fb = &nvc0->framebuffer;
|
||||||
|
|
@ -770,11 +770,11 @@ validate_list_3d[] = {
|
||||||
NVC0_NEW_3D_FRAGPROG |
|
NVC0_NEW_3D_FRAGPROG |
|
||||||
NVC0_NEW_3D_FRAMEBUFFER },
|
NVC0_NEW_3D_FRAMEBUFFER },
|
||||||
{ nvc0_fragprog_validate, NVC0_NEW_3D_FRAGPROG | NVC0_NEW_3D_RASTERIZER },
|
{ nvc0_fragprog_validate, NVC0_NEW_3D_FRAGPROG | NVC0_NEW_3D_RASTERIZER },
|
||||||
{ nvc0_validate_derived_1, NVC0_NEW_3D_FRAGPROG | NVC0_NEW_3D_ZSA |
|
{ nvc0_validate_fp_zsa_rast, NVC0_NEW_3D_FRAGPROG | NVC0_NEW_3D_ZSA |
|
||||||
NVC0_NEW_3D_RASTERIZER },
|
NVC0_NEW_3D_RASTERIZER },
|
||||||
{ nvc0_validate_derived_2, NVC0_NEW_3D_ZSA | NVC0_NEW_3D_FRAMEBUFFER },
|
{ nvc0_validate_zsa_fb, NVC0_NEW_3D_ZSA | NVC0_NEW_3D_FRAMEBUFFER },
|
||||||
{ nvc0_validate_derived_3, NVC0_NEW_3D_BLEND | NVC0_NEW_3D_FRAMEBUFFER },
|
{ nvc0_validate_blend_fb, NVC0_NEW_3D_BLEND | NVC0_NEW_3D_FRAMEBUFFER },
|
||||||
{ nvc0_validate_derived_4, NVC0_NEW_3D_RASTERIZER | NVC0_NEW_3D_FRAMEBUFFER },
|
{ nvc0_validate_rast_fb, NVC0_NEW_3D_RASTERIZER | NVC0_NEW_3D_FRAMEBUFFER },
|
||||||
{ nvc0_validate_clip, NVC0_NEW_3D_CLIP | NVC0_NEW_3D_RASTERIZER |
|
{ nvc0_validate_clip, NVC0_NEW_3D_CLIP | NVC0_NEW_3D_RASTERIZER |
|
||||||
NVC0_NEW_3D_VERTPROG |
|
NVC0_NEW_3D_VERTPROG |
|
||||||
NVC0_NEW_3D_TEVLPROG |
|
NVC0_NEW_3D_TEVLPROG |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue