mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-14 14:28:08 +02:00
vbo: add a prefix to count_tessellated_primitives
Just to make it consistent with the rest of vbo, since it would be an exported symbol anyways. Reviewed-by: Matt Turner <mattst88@gmail.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
ee9f576637
commit
72f657c950
3 changed files with 3 additions and 3 deletions
|
|
@ -381,7 +381,7 @@ static void
|
||||||
brw_update_primitive_count(struct brw_context *brw,
|
brw_update_primitive_count(struct brw_context *brw,
|
||||||
const struct _mesa_prim *prim)
|
const struct _mesa_prim *prim)
|
||||||
{
|
{
|
||||||
uint32_t count = count_tessellated_primitives(prim);
|
uint32_t count = vbo_count_tessellated_primitives(prim);
|
||||||
brw->sol.primitives_generated += count;
|
brw->sol.primitives_generated += count;
|
||||||
if (brw->intel.ctx.TransformFeedback.CurrentObject->Active &&
|
if (brw->intel.ctx.TransformFeedback.CurrentObject->Active &&
|
||||||
!brw->intel.ctx.TransformFeedback.CurrentObject->Paused) {
|
!brw->intel.ctx.TransformFeedback.CurrentObject->Paused) {
|
||||||
|
|
|
||||||
|
|
@ -156,7 +156,7 @@ void vbo_check_buffers_are_unmapped(struct gl_context *ctx);
|
||||||
void vbo_bind_arrays(struct gl_context *ctx);
|
void vbo_bind_arrays(struct gl_context *ctx);
|
||||||
|
|
||||||
size_t
|
size_t
|
||||||
count_tessellated_primitives(const struct _mesa_prim *prim);
|
vbo_count_tessellated_primitives(const struct _mesa_prim *prim);
|
||||||
|
|
||||||
void
|
void
|
||||||
vbo_sw_primitive_restart(struct gl_context *ctx,
|
vbo_sw_primitive_restart(struct gl_context *ctx,
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@ void vbo_exec_invalidate_state( struct gl_context *ctx, GLuint new_state )
|
||||||
* PRIMITIVES_GENERATED and TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN queries.
|
* PRIMITIVES_GENERATED and TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN queries.
|
||||||
*/
|
*/
|
||||||
size_t
|
size_t
|
||||||
count_tessellated_primitives(const struct _mesa_prim *prim)
|
vbo_count_tessellated_primitives(const struct _mesa_prim *prim)
|
||||||
{
|
{
|
||||||
size_t num_primitives;
|
size_t num_primitives;
|
||||||
switch (prim->mode) {
|
switch (prim->mode) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue