st/mesa: remove st_tracked_state::name

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
Marek Olšák
2016-07-17 15:49:56 +02:00
parent f2adba4a4c
commit 53bc28920a
20 changed files with 0 additions and 58 deletions

View File

@@ -690,7 +690,6 @@ static void update_array(struct st_context *st)
const struct st_tracked_state st_update_array = { const struct st_tracked_state st_update_array = {
"st_update_array", /* name */
{ /* dirty */ { /* dirty */
_NEW_CURRENT_ATTRIB, /* mesa */ _NEW_CURRENT_ATTRIB, /* mesa */
ST_NEW_VERTEX_ARRAYS | ST_NEW_VERTEX_PROGRAM, /* st */ ST_NEW_VERTEX_ARRAYS | ST_NEW_VERTEX_PROGRAM, /* st */

View File

@@ -79,7 +79,6 @@ bind_vs_atomics(struct st_context *st)
} }
const struct st_tracked_state st_bind_vs_atomics = { const struct st_tracked_state st_bind_vs_atomics = {
"st_bind_vs_atomics",
{ {
0, 0,
ST_NEW_VERTEX_PROGRAM | ST_NEW_ATOMIC_BUFFER, ST_NEW_VERTEX_PROGRAM | ST_NEW_ATOMIC_BUFFER,
@@ -97,7 +96,6 @@ bind_fs_atomics(struct st_context *st)
} }
const struct st_tracked_state st_bind_fs_atomics = { const struct st_tracked_state st_bind_fs_atomics = {
"st_bind_fs_atomics",
{ {
0, 0,
ST_NEW_FRAGMENT_PROGRAM | ST_NEW_ATOMIC_BUFFER, ST_NEW_FRAGMENT_PROGRAM | ST_NEW_ATOMIC_BUFFER,
@@ -115,7 +113,6 @@ bind_gs_atomics(struct st_context *st)
} }
const struct st_tracked_state st_bind_gs_atomics = { const struct st_tracked_state st_bind_gs_atomics = {
"st_bind_gs_atomics",
{ {
0, 0,
ST_NEW_GEOMETRY_PROGRAM | ST_NEW_ATOMIC_BUFFER, ST_NEW_GEOMETRY_PROGRAM | ST_NEW_ATOMIC_BUFFER,
@@ -133,7 +130,6 @@ bind_tcs_atomics(struct st_context *st)
} }
const struct st_tracked_state st_bind_tcs_atomics = { const struct st_tracked_state st_bind_tcs_atomics = {
"st_bind_tcs_atomics",
{ {
0, 0,
ST_NEW_TESSCTRL_PROGRAM | ST_NEW_ATOMIC_BUFFER, ST_NEW_TESSCTRL_PROGRAM | ST_NEW_ATOMIC_BUFFER,
@@ -151,7 +147,6 @@ bind_tes_atomics(struct st_context *st)
} }
const struct st_tracked_state st_bind_tes_atomics = { const struct st_tracked_state st_bind_tes_atomics = {
"st_bind_tes_atomics",
{ {
0, 0,
ST_NEW_TESSEVAL_PROGRAM | ST_NEW_ATOMIC_BUFFER, ST_NEW_TESSEVAL_PROGRAM | ST_NEW_ATOMIC_BUFFER,
@@ -169,7 +164,6 @@ bind_cs_atomics(struct st_context *st)
} }
const struct st_tracked_state st_bind_cs_atomics = { const struct st_tracked_state st_bind_cs_atomics = {
"st_bind_cs_atomics",
{ {
0, 0,
ST_NEW_COMPUTE_PROGRAM | ST_NEW_ATOMIC_BUFFER, ST_NEW_COMPUTE_PROGRAM | ST_NEW_ATOMIC_BUFFER,

View File

@@ -283,7 +283,6 @@ update_blend( struct st_context *st )
const struct st_tracked_state st_update_blend = { const struct st_tracked_state st_update_blend = {
"st_update_blend", /* name */
{ /* dirty */ { /* dirty */
(_NEW_COLOR | _NEW_MULTISAMPLE), /* XXX _NEW_BLEND someday? */ /* mesa */ (_NEW_COLOR | _NEW_MULTISAMPLE), /* XXX _NEW_BLEND someday? */ /* mesa */
0, /* st */ 0, /* st */

View File

@@ -71,7 +71,6 @@ static void update_clip( struct st_context *st )
const struct st_tracked_state st_update_clip = { const struct st_tracked_state st_update_clip = {
"st_update_clip", /* name */
{ /* dirty */ { /* dirty */
_NEW_TRANSFORM | _NEW_PROJECTION, /* mesa */ _NEW_TRANSFORM | _NEW_PROJECTION, /* mesa */
ST_NEW_VERTEX_PROGRAM, /* st */ ST_NEW_VERTEX_PROGRAM, /* st */

View File

@@ -145,7 +145,6 @@ static void update_vs_constants(struct st_context *st )
const struct st_tracked_state st_update_vs_constants = { const struct st_tracked_state st_update_vs_constants = {
"st_update_vs_constants", /* name */
{ /* dirty */ { /* dirty */
_NEW_PROGRAM_CONSTANTS, /* mesa */ _NEW_PROGRAM_CONSTANTS, /* mesa */
ST_NEW_VERTEX_PROGRAM, /* st */ ST_NEW_VERTEX_PROGRAM, /* st */
@@ -168,7 +167,6 @@ static void update_fs_constants(struct st_context *st )
const struct st_tracked_state st_update_fs_constants = { const struct st_tracked_state st_update_fs_constants = {
"st_update_fs_constants", /* name */
{ /* dirty */ { /* dirty */
_NEW_PROGRAM_CONSTANTS, /* mesa */ _NEW_PROGRAM_CONSTANTS, /* mesa */
ST_NEW_FRAGMENT_PROGRAM, /* st */ ST_NEW_FRAGMENT_PROGRAM, /* st */
@@ -190,7 +188,6 @@ static void update_gs_constants(struct st_context *st )
} }
const struct st_tracked_state st_update_gs_constants = { const struct st_tracked_state st_update_gs_constants = {
"st_update_gs_constants", /* name */
{ /* dirty */ { /* dirty */
_NEW_PROGRAM_CONSTANTS, /* mesa */ _NEW_PROGRAM_CONSTANTS, /* mesa */
ST_NEW_GEOMETRY_PROGRAM, /* st */ ST_NEW_GEOMETRY_PROGRAM, /* st */
@@ -212,7 +209,6 @@ static void update_tcs_constants(struct st_context *st )
} }
const struct st_tracked_state st_update_tcs_constants = { const struct st_tracked_state st_update_tcs_constants = {
"st_update_tcs_constants", /* name */
{ /* dirty */ { /* dirty */
_NEW_PROGRAM_CONSTANTS, /* mesa */ _NEW_PROGRAM_CONSTANTS, /* mesa */
ST_NEW_TESSCTRL_PROGRAM, /* st */ ST_NEW_TESSCTRL_PROGRAM, /* st */
@@ -234,7 +230,6 @@ static void update_tes_constants(struct st_context *st )
} }
const struct st_tracked_state st_update_tes_constants = { const struct st_tracked_state st_update_tes_constants = {
"st_update_tes_constants", /* name */
{ /* dirty */ { /* dirty */
_NEW_PROGRAM_CONSTANTS, /* mesa */ _NEW_PROGRAM_CONSTANTS, /* mesa */
ST_NEW_TESSEVAL_PROGRAM, /* st */ ST_NEW_TESSEVAL_PROGRAM, /* st */
@@ -256,7 +251,6 @@ static void update_cs_constants(struct st_context *st )
} }
const struct st_tracked_state st_update_cs_constants = { const struct st_tracked_state st_update_cs_constants = {
"st_update_cs_constants", /* name */
{ /* dirty */ { /* dirty */
_NEW_PROGRAM_CONSTANTS, /* mesa */ _NEW_PROGRAM_CONSTANTS, /* mesa */
ST_NEW_COMPUTE_PROGRAM, /* st */ ST_NEW_COMPUTE_PROGRAM, /* st */
@@ -314,7 +308,6 @@ static void bind_vs_ubos(struct st_context *st)
} }
const struct st_tracked_state st_bind_vs_ubos = { const struct st_tracked_state st_bind_vs_ubos = {
"st_bind_vs_ubos",
{ {
0, 0,
ST_NEW_VERTEX_PROGRAM | ST_NEW_UNIFORM_BUFFER, ST_NEW_VERTEX_PROGRAM | ST_NEW_UNIFORM_BUFFER,
@@ -334,7 +327,6 @@ static void bind_fs_ubos(struct st_context *st)
} }
const struct st_tracked_state st_bind_fs_ubos = { const struct st_tracked_state st_bind_fs_ubos = {
"st_bind_fs_ubos",
{ {
0, 0,
ST_NEW_FRAGMENT_PROGRAM | ST_NEW_UNIFORM_BUFFER, ST_NEW_FRAGMENT_PROGRAM | ST_NEW_UNIFORM_BUFFER,
@@ -354,7 +346,6 @@ static void bind_gs_ubos(struct st_context *st)
} }
const struct st_tracked_state st_bind_gs_ubos = { const struct st_tracked_state st_bind_gs_ubos = {
"st_bind_gs_ubos",
{ {
0, 0,
ST_NEW_GEOMETRY_PROGRAM | ST_NEW_UNIFORM_BUFFER, ST_NEW_GEOMETRY_PROGRAM | ST_NEW_UNIFORM_BUFFER,
@@ -374,7 +365,6 @@ static void bind_tcs_ubos(struct st_context *st)
} }
const struct st_tracked_state st_bind_tcs_ubos = { const struct st_tracked_state st_bind_tcs_ubos = {
"st_bind_tcs_ubos",
{ {
0, 0,
ST_NEW_TESSCTRL_PROGRAM | ST_NEW_UNIFORM_BUFFER, ST_NEW_TESSCTRL_PROGRAM | ST_NEW_UNIFORM_BUFFER,
@@ -394,7 +384,6 @@ static void bind_tes_ubos(struct st_context *st)
} }
const struct st_tracked_state st_bind_tes_ubos = { const struct st_tracked_state st_bind_tes_ubos = {
"st_bind_tes_ubos",
{ {
0, 0,
ST_NEW_TESSEVAL_PROGRAM | ST_NEW_UNIFORM_BUFFER, ST_NEW_TESSEVAL_PROGRAM | ST_NEW_UNIFORM_BUFFER,
@@ -415,7 +404,6 @@ static void bind_cs_ubos(struct st_context *st)
} }
const struct st_tracked_state st_bind_cs_ubos = { const struct st_tracked_state st_bind_cs_ubos = {
"st_bind_cs_ubos",
{ {
0, 0,
ST_NEW_COMPUTE_PROGRAM | ST_NEW_UNIFORM_BUFFER, ST_NEW_COMPUTE_PROGRAM | ST_NEW_UNIFORM_BUFFER,

View File

@@ -161,7 +161,6 @@ update_depth_stencil_alpha(struct st_context *st)
const struct st_tracked_state st_update_depth_stencil_alpha = { const struct st_tracked_state st_update_depth_stencil_alpha = {
"st_update_depth_stencil", /* name */
{ /* dirty */ { /* dirty */
(_NEW_DEPTH|_NEW_STENCIL|_NEW_COLOR|_NEW_BUFFERS),/* mesa */ (_NEW_DEPTH|_NEW_STENCIL|_NEW_COLOR|_NEW_BUFFERS),/* mesa */
0, /* st */ 0, /* st */

View File

@@ -215,7 +215,6 @@ update_framebuffer_state( struct st_context *st )
const struct st_tracked_state st_update_framebuffer = { const struct st_tracked_state st_update_framebuffer = {
"st_update_framebuffer", /* name */
{ /* dirty */ { /* dirty */
_NEW_BUFFERS, /* mesa */ _NEW_BUFFERS, /* mesa */
ST_NEW_FRAMEBUFFER, /* st */ ST_NEW_FRAMEBUFFER, /* st */

View File

@@ -146,7 +146,6 @@ static void bind_vs_images(struct st_context *st)
} }
const struct st_tracked_state st_bind_vs_images = { const struct st_tracked_state st_bind_vs_images = {
"st_bind_vs_images",
{ {
_NEW_TEXTURE, _NEW_TEXTURE,
ST_NEW_VERTEX_PROGRAM | ST_NEW_IMAGE_UNITS, ST_NEW_VERTEX_PROGRAM | ST_NEW_IMAGE_UNITS,
@@ -166,7 +165,6 @@ static void bind_fs_images(struct st_context *st)
} }
const struct st_tracked_state st_bind_fs_images = { const struct st_tracked_state st_bind_fs_images = {
"st_bind_fs_images",
{ {
_NEW_TEXTURE, _NEW_TEXTURE,
ST_NEW_FRAGMENT_PROGRAM | ST_NEW_IMAGE_UNITS, ST_NEW_FRAGMENT_PROGRAM | ST_NEW_IMAGE_UNITS,
@@ -186,7 +184,6 @@ static void bind_gs_images(struct st_context *st)
} }
const struct st_tracked_state st_bind_gs_images = { const struct st_tracked_state st_bind_gs_images = {
"st_bind_gs_images",
{ {
_NEW_TEXTURE, _NEW_TEXTURE,
ST_NEW_GEOMETRY_PROGRAM | ST_NEW_IMAGE_UNITS, ST_NEW_GEOMETRY_PROGRAM | ST_NEW_IMAGE_UNITS,
@@ -206,7 +203,6 @@ static void bind_tcs_images(struct st_context *st)
} }
const struct st_tracked_state st_bind_tcs_images = { const struct st_tracked_state st_bind_tcs_images = {
"st_bind_tcs_images",
{ {
_NEW_TEXTURE, _NEW_TEXTURE,
ST_NEW_TESSCTRL_PROGRAM | ST_NEW_IMAGE_UNITS, ST_NEW_TESSCTRL_PROGRAM | ST_NEW_IMAGE_UNITS,
@@ -226,7 +222,6 @@ static void bind_tes_images(struct st_context *st)
} }
const struct st_tracked_state st_bind_tes_images = { const struct st_tracked_state st_bind_tes_images = {
"st_bind_tes_images",
{ {
_NEW_TEXTURE, _NEW_TEXTURE,
ST_NEW_TESSEVAL_PROGRAM | ST_NEW_IMAGE_UNITS, ST_NEW_TESSEVAL_PROGRAM | ST_NEW_IMAGE_UNITS,
@@ -246,7 +241,6 @@ static void bind_cs_images(struct st_context *st)
} }
const struct st_tracked_state st_bind_cs_images = { const struct st_tracked_state st_bind_cs_images = {
"st_bind_cs_images",
{ {
_NEW_TEXTURE, _NEW_TEXTURE,
ST_NEW_COMPUTE_PROGRAM | ST_NEW_IMAGE_UNITS, ST_NEW_COMPUTE_PROGRAM | ST_NEW_IMAGE_UNITS,

View File

@@ -86,7 +86,6 @@ static void update_sample_shading( struct st_context *st )
} }
const struct st_tracked_state st_update_msaa = { const struct st_tracked_state st_update_msaa = {
"st_update_msaa", /* name */
{ /* dirty */ { /* dirty */
(_NEW_MULTISAMPLE | _NEW_BUFFERS), /* mesa */ (_NEW_MULTISAMPLE | _NEW_BUFFERS), /* mesa */
ST_NEW_FRAMEBUFFER, /* st */ ST_NEW_FRAMEBUFFER, /* st */
@@ -95,7 +94,6 @@ const struct st_tracked_state st_update_msaa = {
}; };
const struct st_tracked_state st_update_sample_shading = { const struct st_tracked_state st_update_sample_shading = {
"st_update_sample_shading", /* name */
{ /* dirty */ { /* dirty */
(_NEW_MULTISAMPLE | _NEW_PROGRAM | _NEW_BUFFERS), /* mesa */ (_NEW_MULTISAMPLE | _NEW_PROGRAM | _NEW_BUFFERS), /* mesa */
ST_NEW_FRAGMENT_PROGRAM | ST_NEW_FRAMEBUFFER, /* st */ ST_NEW_FRAGMENT_PROGRAM | ST_NEW_FRAMEBUFFER, /* st */

View File

@@ -102,7 +102,6 @@ update_pixel_transfer(struct st_context *st)
const struct st_tracked_state st_update_pixel_transfer = { const struct st_tracked_state st_update_pixel_transfer = {
"st_update_pixel_transfer", /* name */
{ /* dirty */ { /* dirty */
_NEW_PIXEL, /* mesa */ _NEW_PIXEL, /* mesa */
0, /* st */ 0, /* st */

View File

@@ -290,7 +290,6 @@ static void update_raster_state( struct st_context *st )
} }
const struct st_tracked_state st_update_rasterizer = { const struct st_tracked_state st_update_rasterizer = {
"st_update_rasterizer", /* name */
{ {
(_NEW_BUFFERS | (_NEW_BUFFERS |
_NEW_LIGHT | _NEW_LIGHT |

View File

@@ -334,7 +334,6 @@ update_samplers(struct st_context *st)
const struct st_tracked_state st_update_sampler = { const struct st_tracked_state st_update_sampler = {
"st_update_sampler", /* name */
{ /* dirty */ { /* dirty */
_NEW_TEXTURE, /* mesa */ _NEW_TEXTURE, /* mesa */
0, /* st */ 0, /* st */

View File

@@ -141,7 +141,6 @@ update_window_rectangles(struct st_context *st)
} }
const struct st_tracked_state st_update_scissor = { const struct st_tracked_state st_update_scissor = {
"st_update_scissor", /* name */
{ /* dirty */ { /* dirty */
(_NEW_SCISSOR | _NEW_BUFFERS), /* mesa */ (_NEW_SCISSOR | _NEW_BUFFERS), /* mesa */
0, /* st */ 0, /* st */
@@ -150,7 +149,6 @@ const struct st_tracked_state st_update_scissor = {
}; };
const struct st_tracked_state st_update_window_rectangles = { const struct st_tracked_state st_update_window_rectangles = {
"st_update_window_rectangles", /* name */
{ /* dirty */ { /* dirty */
(_NEW_SCISSOR | _NEW_BUFFERS), /* mesa */ (_NEW_SCISSOR | _NEW_BUFFERS), /* mesa */
0, /* st */ 0, /* st */

View File

@@ -152,7 +152,6 @@ update_fp( struct st_context *st )
const struct st_tracked_state st_update_fp = { const struct st_tracked_state st_update_fp = {
"st_update_fp", /* name */
{ /* dirty */ { /* dirty */
_NEW_BUFFERS | _NEW_MULTISAMPLE | _NEW_FOG, /* mesa */ _NEW_BUFFERS | _NEW_MULTISAMPLE | _NEW_FOG, /* mesa */
ST_NEW_FRAGMENT_PROGRAM /* st */ ST_NEW_FRAGMENT_PROGRAM /* st */
@@ -210,7 +209,6 @@ update_vp( struct st_context *st )
const struct st_tracked_state st_update_vp = { const struct st_tracked_state st_update_vp = {
"st_update_vp", /* name */
{ /* dirty */ { /* dirty */
0, /* mesa */ 0, /* mesa */
ST_NEW_VERTEX_PROGRAM /* st */ ST_NEW_VERTEX_PROGRAM /* st */
@@ -243,7 +241,6 @@ update_gp( struct st_context *st )
} }
const struct st_tracked_state st_update_gp = { const struct st_tracked_state st_update_gp = {
"st_update_gp", /* name */
{ /* dirty */ { /* dirty */
0, /* mesa */ 0, /* mesa */
ST_NEW_GEOMETRY_PROGRAM /* st */ ST_NEW_GEOMETRY_PROGRAM /* st */
@@ -276,7 +273,6 @@ update_tcp( struct st_context *st )
} }
const struct st_tracked_state st_update_tcp = { const struct st_tracked_state st_update_tcp = {
"st_update_tcp", /* name */
{ /* dirty */ { /* dirty */
0, /* mesa */ 0, /* mesa */
ST_NEW_TESSCTRL_PROGRAM /* st */ ST_NEW_TESSCTRL_PROGRAM /* st */
@@ -309,7 +305,6 @@ update_tep( struct st_context *st )
} }
const struct st_tracked_state st_update_tep = { const struct st_tracked_state st_update_tep = {
"st_update_tep", /* name */
{ /* dirty */ { /* dirty */
0, /* mesa */ 0, /* mesa */
ST_NEW_TESSEVAL_PROGRAM /* st */ ST_NEW_TESSEVAL_PROGRAM /* st */
@@ -341,7 +336,6 @@ update_cp( struct st_context *st )
} }
const struct st_tracked_state st_update_cp = { const struct st_tracked_state st_update_cp = {
"st_update_cp", /* name */
{ /* dirty */ { /* dirty */
0, /* mesa */ 0, /* mesa */
ST_NEW_COMPUTE_PROGRAM /* st */ ST_NEW_COMPUTE_PROGRAM /* st */

View File

@@ -84,7 +84,6 @@ update_stipple( struct st_context *st )
/** Update the stipple when the pattern or window height changes */ /** Update the stipple when the pattern or window height changes */
const struct st_tracked_state st_update_polygon_stipple = { const struct st_tracked_state st_update_polygon_stipple = {
"st_update_polygon_stipple", /* name */
{ /* dirty */ { /* dirty */
(_NEW_POLYGONSTIPPLE | (_NEW_POLYGONSTIPPLE |
_NEW_BUFFERS), /* mesa */ _NEW_BUFFERS), /* mesa */

View File

@@ -103,7 +103,6 @@ static void bind_vs_ssbos(struct st_context *st)
} }
const struct st_tracked_state st_bind_vs_ssbos = { const struct st_tracked_state st_bind_vs_ssbos = {
"st_bind_vs_ssbos",
{ {
0, 0,
ST_NEW_VERTEX_PROGRAM | ST_NEW_STORAGE_BUFFER, ST_NEW_VERTEX_PROGRAM | ST_NEW_STORAGE_BUFFER,
@@ -124,7 +123,6 @@ static void bind_fs_ssbos(struct st_context *st)
} }
const struct st_tracked_state st_bind_fs_ssbos = { const struct st_tracked_state st_bind_fs_ssbos = {
"st_bind_fs_ssbos",
{ {
0, 0,
ST_NEW_FRAGMENT_PROGRAM | ST_NEW_STORAGE_BUFFER, ST_NEW_FRAGMENT_PROGRAM | ST_NEW_STORAGE_BUFFER,
@@ -145,7 +143,6 @@ static void bind_gs_ssbos(struct st_context *st)
} }
const struct st_tracked_state st_bind_gs_ssbos = { const struct st_tracked_state st_bind_gs_ssbos = {
"st_bind_gs_ssbos",
{ {
0, 0,
ST_NEW_GEOMETRY_PROGRAM | ST_NEW_STORAGE_BUFFER, ST_NEW_GEOMETRY_PROGRAM | ST_NEW_STORAGE_BUFFER,
@@ -166,7 +163,6 @@ static void bind_tcs_ssbos(struct st_context *st)
} }
const struct st_tracked_state st_bind_tcs_ssbos = { const struct st_tracked_state st_bind_tcs_ssbos = {
"st_bind_tcs_ssbos",
{ {
0, 0,
ST_NEW_TESSCTRL_PROGRAM | ST_NEW_STORAGE_BUFFER, ST_NEW_TESSCTRL_PROGRAM | ST_NEW_STORAGE_BUFFER,
@@ -187,7 +183,6 @@ static void bind_tes_ssbos(struct st_context *st)
} }
const struct st_tracked_state st_bind_tes_ssbos = { const struct st_tracked_state st_bind_tes_ssbos = {
"st_bind_tes_ssbos",
{ {
0, 0,
ST_NEW_TESSEVAL_PROGRAM | ST_NEW_STORAGE_BUFFER, ST_NEW_TESSEVAL_PROGRAM | ST_NEW_STORAGE_BUFFER,
@@ -208,7 +203,6 @@ static void bind_cs_ssbos(struct st_context *st)
} }
const struct st_tracked_state st_bind_cs_ssbos = { const struct st_tracked_state st_bind_cs_ssbos = {
"st_bind_cs_ssbos",
{ {
0, 0,
ST_NEW_COMPUTE_PROGRAM | ST_NEW_STORAGE_BUFFER, ST_NEW_COMPUTE_PROGRAM | ST_NEW_STORAGE_BUFFER,

View File

@@ -53,7 +53,6 @@ update_tess(struct st_context *st)
const struct st_tracked_state st_update_tess = { const struct st_tracked_state st_update_tess = {
"update_tess", /* name */
{ /* dirty */ { /* dirty */
0, /* mesa */ 0, /* mesa */
ST_NEW_TESS_STATE, /* st */ ST_NEW_TESS_STATE, /* st */

View File

@@ -565,7 +565,6 @@ update_compute_textures(struct st_context *st)
const struct st_tracked_state st_update_fragment_texture = { const struct st_tracked_state st_update_fragment_texture = {
"st_update_texture", /* name */
{ /* dirty */ { /* dirty */
_NEW_TEXTURE, /* mesa */ _NEW_TEXTURE, /* mesa */
ST_NEW_FRAGMENT_PROGRAM | ST_NEW_SAMPLER_VIEWS, /* st */ ST_NEW_FRAGMENT_PROGRAM | ST_NEW_SAMPLER_VIEWS, /* st */
@@ -575,7 +574,6 @@ const struct st_tracked_state st_update_fragment_texture = {
const struct st_tracked_state st_update_vertex_texture = { const struct st_tracked_state st_update_vertex_texture = {
"st_update_vertex_texture", /* name */
{ /* dirty */ { /* dirty */
_NEW_TEXTURE, /* mesa */ _NEW_TEXTURE, /* mesa */
ST_NEW_VERTEX_PROGRAM | ST_NEW_SAMPLER_VIEWS, /* st */ ST_NEW_VERTEX_PROGRAM | ST_NEW_SAMPLER_VIEWS, /* st */
@@ -585,7 +583,6 @@ const struct st_tracked_state st_update_vertex_texture = {
const struct st_tracked_state st_update_geometry_texture = { const struct st_tracked_state st_update_geometry_texture = {
"st_update_geometry_texture", /* name */
{ /* dirty */ { /* dirty */
_NEW_TEXTURE, /* mesa */ _NEW_TEXTURE, /* mesa */
ST_NEW_GEOMETRY_PROGRAM | ST_NEW_SAMPLER_VIEWS, /* st */ ST_NEW_GEOMETRY_PROGRAM | ST_NEW_SAMPLER_VIEWS, /* st */
@@ -595,7 +592,6 @@ const struct st_tracked_state st_update_geometry_texture = {
const struct st_tracked_state st_update_tessctrl_texture = { const struct st_tracked_state st_update_tessctrl_texture = {
"st_update_tessctrl_texture", /* name */
{ /* dirty */ { /* dirty */
_NEW_TEXTURE, /* mesa */ _NEW_TEXTURE, /* mesa */
ST_NEW_TESSCTRL_PROGRAM | ST_NEW_SAMPLER_VIEWS, /* st */ ST_NEW_TESSCTRL_PROGRAM | ST_NEW_SAMPLER_VIEWS, /* st */
@@ -605,7 +601,6 @@ const struct st_tracked_state st_update_tessctrl_texture = {
const struct st_tracked_state st_update_tesseval_texture = { const struct st_tracked_state st_update_tesseval_texture = {
"st_update_tesseval_texture", /* name */
{ /* dirty */ { /* dirty */
_NEW_TEXTURE, /* mesa */ _NEW_TEXTURE, /* mesa */
ST_NEW_TESSEVAL_PROGRAM | ST_NEW_SAMPLER_VIEWS, /* st */ ST_NEW_TESSEVAL_PROGRAM | ST_NEW_SAMPLER_VIEWS, /* st */
@@ -615,7 +610,6 @@ const struct st_tracked_state st_update_tesseval_texture = {
const struct st_tracked_state st_update_compute_texture = { const struct st_tracked_state st_update_compute_texture = {
"st_update_compute_texture", /* name */
{ /* dirty */ { /* dirty */
_NEW_TEXTURE, /* mesa */ _NEW_TEXTURE, /* mesa */
ST_NEW_COMPUTE_PROGRAM | ST_NEW_SAMPLER_VIEWS, /* st */ ST_NEW_COMPUTE_PROGRAM | ST_NEW_SAMPLER_VIEWS, /* st */

View File

@@ -83,7 +83,6 @@ update_viewport( struct st_context *st )
const struct st_tracked_state st_update_viewport = { const struct st_tracked_state st_update_viewport = {
"st_update_viewport", /* name */
{ /* dirty */ { /* dirty */
_NEW_BUFFERS | _NEW_VIEWPORT, /* mesa */ _NEW_BUFFERS | _NEW_VIEWPORT, /* mesa */
0, /* st */ 0, /* st */

View File

@@ -74,7 +74,6 @@ struct st_state_flags {
}; };
struct st_tracked_state { struct st_tracked_state {
const char *name;
struct st_state_flags dirty; struct st_state_flags dirty;
void (*update)( struct st_context *st ); void (*update)( struct st_context *st );
}; };