llvmpipe: s/textured/texture/
This commit is contained in:
@@ -265,8 +265,8 @@ lp_scene_texture_reference( struct lp_scene *scene,
|
|||||||
* Does this scene have a reference to the given texture?
|
* Does this scene have a reference to the given texture?
|
||||||
*/
|
*/
|
||||||
boolean
|
boolean
|
||||||
lp_scene_is_textured_referenced( const struct lp_scene *scene,
|
lp_scene_is_texture_referenced( const struct lp_scene *scene,
|
||||||
const struct pipe_texture *texture )
|
const struct pipe_texture *texture )
|
||||||
{
|
{
|
||||||
const struct texture_ref *ref_list = &scene->textures;
|
const struct texture_ref *ref_list = &scene->textures;
|
||||||
const struct texture_ref *ref;
|
const struct texture_ref *ref;
|
||||||
|
@@ -163,8 +163,8 @@ unsigned lp_scene_bin_size( const struct lp_scene *scene, unsigned x, unsigned y
|
|||||||
void lp_scene_texture_reference( struct lp_scene *scene,
|
void lp_scene_texture_reference( struct lp_scene *scene,
|
||||||
struct pipe_texture *texture );
|
struct pipe_texture *texture );
|
||||||
|
|
||||||
boolean lp_scene_is_textured_referenced( const struct lp_scene *scene,
|
boolean lp_scene_is_texture_referenced( const struct lp_scene *scene,
|
||||||
const struct pipe_texture *texture );
|
const struct pipe_texture *texture );
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -516,7 +516,7 @@ lp_setup_is_texture_referenced( const struct setup_context *setup,
|
|||||||
|
|
||||||
/* check textures referenced by the scene */
|
/* check textures referenced by the scene */
|
||||||
for (i = 0; i < Elements(setup->scenes); i++) {
|
for (i = 0; i < Elements(setup->scenes); i++) {
|
||||||
if (lp_scene_is_textured_referenced(setup->scenes[i], texture)) {
|
if (lp_scene_is_texture_referenced(setup->scenes[i], texture)) {
|
||||||
return PIPE_REFERENCED_FOR_READ;
|
return PIPE_REFERENCED_FOR_READ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user