Quellcode durchsuchen

[i965] Rename {pf -> util}_format_is_depth_or_stencil()

The function was moved and renamed in 0bed834b.

Signed-off-by: Tomas Carnecky <tom@dbservice.com>
tags/7.8-rc1
Tomas Carnecky vor 16 Jahren
Ursprung
Commit
315ca95666
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2
    1
      src/gallium/drivers/i965/brw_wm_sampler_state.c

+ 2
- 1
src/gallium/drivers/i965/brw_wm_sampler_state.c Datei anzeigen

@@ -30,6 +30,7 @@
*/
#include "util/u_math.h"
#include "util/u_format.h"

#include "brw_context.h"
#include "brw_state.h"
@@ -130,7 +131,7 @@ brw_wm_sampler_update_default_colors(struct brw_context *brw)
const struct brw_sampler *sampler = brw->curr.sampler[i];
const float *bc;

if (pf_is_depth_or_stencil(tex->base.format)) {
if (util_is_depth_or_stencil(tex->base.format)) {
float bordercolor[4] = {
sampler->border_color[0],
sampler->border_color[0],

Laden…
Abbrechen
Speichern