/third_party/mesa3d/src/amd/common/ |
H A D | gfx10_format_table.py | 44 return Object(img_format=hw_enum, flags=[]) 115 { .img_format = V_008F0C_${gfx.upper()}_FORMAT_##_img_format, \ 135 self.img_format = enum_entry.name[13:] 138 code = self.img_format.split('_') 252 img_format=gfx10_fmt.img_format, 267 args = obj.img_format
|
H A D | gfx10_format_table.h | 36 unsigned img_format : 9; member
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
H A D | glX_proto_send.py | 572 print(' __glFillImage(gc, %s, %s, %s, %s, %s, %s, %s, %s, %s);' % (dim_str, width, height, depth, param.img_format, param.img_type, param.name, pcPtr, pixHeaderPtr)) 577 print('__glXSendLargeImage(gc, compsize, %s, %s, %s, %s, %s, %s, %s, %s, %s);' % (dim_str, width, height, depth, param.img_format, param.img_type, param.name, pcPtr, pixHeaderPtr)) 612 if p.is_image() and (p.img_format != "GL_COLOR_INDEX" or p.img_type != "GL_BITMAP"): 694 if p.img_format != "GL_COLOR_INDEX" or p.img_type != "GL_BITMAP": 727 print(' __glEmptyImage(gc, 3, %s, %s, %s, %s, %s, %s_data(reply), %s);' % (w, h, d, output.img_format, output.img_type, xcb_name, output.name)) 766 if img.img_format != "GL_COLOR_INDEX" or img.img_type != "GL_BITMAP": 787 print(" __glXReadPixelReply(dpy, gc, %u, 0, 0, 0, %s, %s, %s, GL_TRUE);" % (dim, p.img_format, p.img_type, p.name)) 789 print(" __glXReadPixelReply(dpy, gc, %u, %s, %s, %s, %s, %s, %s, GL_FALSE);" % (dim, w, h, d, p.img_format, p.img_type, p.name))
|
H A D | glX_proto_common.py | 60 compsize = '__glImageSize(%s, %s, %s, %s, %s, %s)' % (w, h, d, param.img_format, param.img_type, param.img_target)
|
H A D | glX_proto_size.py | 566 if p.name in [w, h, d, img.img_format, img.img_type, img.img_target]: 580 print(' return __glXImageSize(%s, %s, %s, %s, %s, %s,' % (img.img_format, img.img_type, img.img_target, w, h, d ))
|
H A D | glX_proto_recv.py | 503 if not (img.img_type == "GL_BITMAP" and img.img_format == "GL_COLOR_INDEX"):
|
H A D | gl_XML.py | 463 self.img_format = element.get('img_format')
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_image.c | 404 enum isl_format img_format = image->planes[plane].primary_surface.isl.format; in can_fast_clear_with_non_zero_color() local 414 if (!isl_formats_have_same_bits_per_channel(img_format, view_format)) in can_fast_clear_with_non_zero_color() 421 if (isl_format_has_float_channel(img_format) && in can_fast_clear_with_non_zero_color() 425 if (isl_format_has_int_channel(img_format) && in can_fast_clear_with_non_zero_color() 429 if (isl_format_has_unorm_channel(img_format) && in can_fast_clear_with_non_zero_color() 433 if (isl_format_has_snorm_channel(img_format) && in can_fast_clear_with_non_zero_color()
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_assembler.cpp | 414 uint32_t img_format = ac_get_tbuffer_format(ctx.gfx_level, mtbuf.dfmt, mtbuf.nfmt); in emit_instruction() local 416 assert(img_format <= 0x7F); in emit_instruction() 423 encoding |= (img_format << 19); /* Handles both the GFX10 FORMAT and the old NFMT+DFMT */ in emit_instruction()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_state.c | 2220 if (!fmt->img_format || fmt->buffers_only) in si_is_sampler_format_supported() 2371 if (!fmt->img_format || fmt->img_format >= 128) in si_is_vertex_format_supported() 3958 state[7] |= S_008F0C_FORMAT(fmt->img_format) | in si_make_buffer_descriptor() 4013 unsigned img_format; in gfx10_make_texture_descriptor() local 4019 img_format = ac_get_gfx10_format_table(&screen->info)[pipe_format].img_format; in gfx10_make_texture_descriptor() 4050 assert(img_format == V_008F0C_GFX11_FORMAT_32_FLOAT); in gfx10_make_texture_descriptor() 4051 img_format = V_008F0C_GFX11_FORMAT_32_FLOAT_CLAMP; in gfx10_make_texture_descriptor() 4053 assert(img_format in gfx10_make_texture_descriptor() [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_image.c | 752 state[3] |= S_008F0C_FORMAT(fmt->img_format) | in radv_make_buffer_descriptor() 964 unsigned img_format; in gfx10_make_texture_descriptor() local 980 img_format = ac_get_gfx10_format_table(&device->physical_device->rad_info)[vk_format_to_pipe_format(vk_format)].img_format; in gfx10_make_texture_descriptor() 1003 S_00A004_FORMAT(img_format) | in gfx10_make_texture_descriptor()
|