Displaying 2 results from an estimated 2 matches for "imgtyp".
Did you mean:
imgtype
2011 Oct 27
1
minimizing device-dependent code in graphics scripts
...,...)
}
img <- function(file, type,
height=6, width=6, res=100, units="in", ...) {
# handle image types
types <- c("bmp", "eps", "jpg", "pdf", "png")
if (missing(type)) {
if (exists("imgtype")) {
if (is.null(imgtype)) return() else type <- imgtype
}
}
else {
t <- match(type, types, nomatch=0)
if(t > 0) type <- types[t] else stop("unknown file type")
}
if (exists("imgnum") imgnum <<-...
2019 Oct 14
1
[PATCH] gm107/ir: fix loading z offset for layered 3d image bindings
...DE;
+ // We don't upload surface info for bindless for GM107+
+ assert(!bindless || targ->getChipset() < NVISA_GM107_CHIPSET);
+
if (ptr) {
ptr = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getSSA(), ptr, bld.mkImm(slot));
if (bindless)
@@ -2204,7 +2207,7 @@ getDestType(const ImgType type) {
}
void
-NVC0LoweringPass::convertSurfaceFormat(TexInstruction *su)
+NVC0LoweringPass::convertSurfaceFormat(TexInstruction *su, Instruction **loaded)
{
const TexInstruction::ImgFormatDesc *format = su->tex.format;
int width = format->bits[0] + format->bits[1] +
@@ -222...