Acked-by: Jordan Justen <jordan.l.justen@intel.com>
sci.mipLodBias = state->lod_bias;
sci.compareOp = VK_COMPARE_OP_NEVER; // TODO
sci.borderColor = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK; // TODO
+ sci.unnormalizedCoordinates = !state->normalized_coords;
if (state->max_anisotropy > 1) {
sci.maxAnisotropy = state->max_anisotropy;
case PIPE_TEXTURE_2D_ARRAY:
case PIPE_TEXTURE_CUBE:
case PIPE_TEXTURE_CUBE_ARRAY:
+ case PIPE_TEXTURE_RECT:
ici.imageType = VK_IMAGE_TYPE_2D;
/* cube and 2D array needs some quirks here */
if (templ->target == PIPE_TEXTURE_CUBE)
ici.imageType = VK_IMAGE_TYPE_3D;
break;
- case PIPE_TEXTURE_RECT:
- unreachable("texture rects not supported");
-
case PIPE_BUFFER:
unreachable("PIPE_BUFFER should already be handled");