#include "util/hash_table.h"
#include "fd6_texture.h"
+#include "fd6_resource.h"
#include "fd6_format.h"
#include "fd6_emit.h"
if (!so)
return NULL;
+ fd6_validate_format(fd_context(pctx), rsc, format);
+
if (format == PIPE_FORMAT_X32_S8X24_UINT) {
rsc = rsc->stencil;
format = rsc->base.format;